[asterisk-users] DTMF input while waiting in queue...

Louis Carreiro carreirolt at gmail.com
Tue Mar 29 00:47:12 CDT 2011


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


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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




More information about the asterisk-users mailing list