On 9/11/05, Josip Gracin <[EMAIL PROTECTED]> 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/
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to