[asterisk-users] DTMF input while waiting in queue...
Sherwood McGowan
sherwood.mcgowan at gmail.com
Tue Mar 29 01:28:28 CDT 2011
No problem Louis...Even though in recent times I've been kind of a jerk
about people not reading the documentation, I've been trying to return
to my original personality on this list, a helpful member of the
community. :-[
On 3/29/2011 12:47 AM, Louis Carreiro wrote:
> Wow... completely missed that. It was right there in the text. Sorry and thanks Sherwood!
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sherwood McGowan
> Sent: Monday, March 28, 2011 11:07 AM
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] DTMF input while waiting in queue...
>
> On 3/28/2011 7:54 AM, Louis Carreiro wrote:
>> Hey all!
>>
>> I'm trying to figure out how to have a queue accept an inbound
>> caller's key press to action on. At first I'm just trying to implement
>> a "Press 1 to leave a voice mail" announced and at any time in the
>> queue, the user can press 1 and go to the queue's voicemail. Later I'd
>> like to have it accept "Press 1 if this is an x issue, press 2 if this
>> a y problem" and I'll have UserEvent's generated for the press.
>>
> *snip*
>
> In your queues.conf, in the definition for 1820, add the following:
>
> context=queue1820-exit
>
> Then, in your dialplan create a new context:
>
> [queue1820-exit]
> exten => 1,1,Noop(Caller Pressed 1 to leave a voicemail)
> exten => 1,n,Voicemail(<voicemailbox>,<theoptionsyouwant>)
> exten => 1,n,Hangup
>
>
> That should get you started...Read about the "context" configuration
> option here:
> http://www.voip-info.org/wiki/view/Asterisk+config+queues.conf
>
> Cheers!
>
--
Sherwood McGowan <sherwood.mcgowan at gmail.com>
Carrier, ITSP, Call Center, and PBX Solutions Consultant
More information about the asterisk-users
mailing list