[Asterisk-Users] Using RedirectAction with queues

Morten Isaksen misaksen at gmail.com
Tue Sep 13 11:47:45 MST 2005


On 9/11/05, Josip Gracin <gracin at tel.fer.hr> wrote: 
> 
> Hello!
> 
> Is it legal to use RedirectAction to redirect a call that is waiting in
> a queue?

 It works for me.

The idea is to have an external application manage a queue via manager
> API. The queue
> would merely collect calls and play moh.

 This is the same way I use it.
  I send this to the Manager API:
 ACTION: Redirect
Channel: SIP/1011-338f
Context: sipclients
Exten: 1013
Priority: 1 

You have to extract the Channel value from the queue. I get this information 
with:
 Action: Command
Command: show queue test
 and then parse it with some regex in perl.

-- 
Morten Isaksen
http://www.misak.dk/blog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050913/e92d050d/attachment.htm


More information about the asterisk-users mailing list