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

Peter Svensson psvasterisk at psv.nu
Sat Nov 6 02:11:08 MST 2004


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

> Hello All:
> 
> I need some help.  I am trying to configure * so that users that are
> placed in a call are able to break out of the queue and go to voicemail
> if they no longer wish to wait in the queue.  I read the cmd options for
> the Queue command and I had figured that either option h or H would do
> the trick by allowing the user to push '*' to break out...but it doesn't
> work.
> 
> Does anyone know how to accomplish what I want to do.  Thanks!
> 
> Here is what I had tried in extensions.conf   (it didn't seem to work)
> 
> exten => 9056742007,1,Answer
> exten => 9056742007,2,Wait,1
> exten => 9056742007,4,Queue(tech|hH)
> exten => 9056742007,5,Voicemail(u9056742007)
> exten => 9056742007,6,Hangup

All you have to do is provide a context in your queue definition. In that 
context you should have all the one digit (or symbols in case of *#) 
extensions that you want to allow.

Peter





More information about the asterisk-users mailing list