[Asterisk-Users] Giving users the ability to break out of thequeue and go to voicemail

Peter Svensson psvasterisk at psv.nu
Sat Nov 6 03:27:48 MST 2004


On Sat, 6 Nov 2004, William M. Sandiford wrote:

> Excuse the newbie nature of the question, but can you elaborate a little
> further.  Sorry...I am pretty new

There is a block in the queues.conf.sample file in the Asterisk 
distribution that reads:

; A context may be specified, in which if the user types a SINGLE
; digit extension while they are in the queue, they will be taken out
; of the queue and sent to that extension in this context.
;
;context = qoutcon

All you have to do is to uncomment that line in queues.conf (optionally
changing the context name) and add something like the following to your 
extensions.conf:

[qoutcon]

exten => *,1,Voicemail(u9056742007)
exten => *,2,Hangup

You may have to remove the 'H' option from the call to Queue(). 

Peter





More information about the asterisk-users mailing list