Re: [Asterisk-Users] Using RedirectAction with queues

2005-09-15 Thread Josip Gracin

Morten Isaksen wrote:
On 9/11/05, Josip Gracin [EMAIL PROTECTED] wrote: 

Is it legal to use RedirectAction to redirect a call that is waiting in
a queue?


 It works for me.


Thanks!  It does for me too now.  It didn't work initially because I've 
not set priority in RedirectAction.

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] Using RedirectAction with queues

2005-09-13 Thread Morten Isaksen

On 9/11/05, Josip Gracin [EMAIL PROTECTED] wrote:
Hello!Is it legal to use RedirectAction to redirect a call that is waiting ina queue?


It works for me.
The idea is to have an external application manage a queue via managerAPI.The queuewould merely collect calls and play moh.


This is the same way I use it.


I send this to the Manager API:

ACTION: RedirectChannel: SIP/1011-338fContext: sipclientsExten: 1013Priority: 1 
You have to extract the Channel value from the queue. I get this information with:

Action: CommandCommand: show queue test

and then parse it with some regex in perl.-- Morten Isaksenhttp://www.misak.dk/blog/ 
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

[Asterisk-Users] Using RedirectAction with queues

2005-09-11 Thread Josip Gracin

Hello!

Is it legal to use RedirectAction to redirect a call that is waiting in 
a queue? 

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

I've tryed this already but asterisk sends SIP/Forbidden to the channel 
in queue,
after the channel has been redirected by RedirectAction, even though the 
response

to RedirectAction is Success.

I'll send more details if necessary, but I just wanted first make sure 
that this

is how it's supposed to be done.

Thanks in advance!

___
--Bandwidth and Colocation sponsored by Easynews.com --

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