Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How to give user a prompt before connecting thecall


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
pdhales at optusnet.co...
Guest





PostPosted: Mon Mar 31, 2008 9:34 pm    Post subject: [asterisk-users] How to give user a prompt before connecting Reply with quote

Something like this:

Dialling:

exten => s,n(dial),Dial($ZAP/G1/${number},15,M(check)gm)
exten => s,n,Dbget(next/number)
exten => s,n,Goto(dial)
{macro-check}
exten => s,n,Playback(${heresacall})
exten => s,n,Read(response,options,1)
exten => s,n,Goto(${response},1)

exten => 1,1,Macroexit

exten => 2,1,Playback(thanksfortakingthecall)


This hasn't been tested. Give it a red hot go.

Another option is to set up a queue with external numbers as members,
and set the queue as need the memebrs to accept the calls. (not that I
can remember that option)

PaulH


On Mon, 2008-03-31 at 20:55 -0500, Jeremy Mann wrote:
Quote:
Please do!

________________________________________
From: asterisk-users-bounces at lists.digium.com [asterisk-users-bounces at lists.digium.com] On Behalf Of Paul Hales [pdhales at optusnet.com.au]
Sent: Monday, March 31, 2008 7:50 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to give user a prompt before connecting thecall

It can be done via the 'visit a macro' part of the dial command...

If anyone would like, i can post a code sample.

PaulH


On Mon, 2008-03-31 at 15:33 -0400, Dean Collins wrote:
Quote:
Yes it is.
I'm remote at the moment so I can't send you the code but google for mobile remote receiver and you'll find what you are looking for.
Lots of people do it so they don't have calls to cell phones picked up by voicemail.


Cheers
dean


-----Original Message-----
From: Pete Kay <petedao at gmail.com>
Sent: Monday, March 31, 2008 2:27 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Subject: [asterisk-users] How to give user a prompt before connecting thecall

Hello,

Is it possible to request for the premission from the called party through
a prompt before routing the call?
For instance, before actually connecting two parties through the use of DIAL
command in the dialplan, I want to let Asterisk to automatically
ask for the called party to decide whether he/she would like to be
connected. ( ex. Press 1 to connect and 2 to hangup).

Can this function be done? If so, how to do it?

Thank you .

Pete Dao

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services