Discussion:
[Asterisk-Users] Using RedirectAction with queues
Josip Gracin
2005-09-11 13:16:07 UTC
Permalink
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!
Morten Isaksen
2005-09-13 18:47:45 UTC
Permalink
Post by Josip Gracin
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
Post by Josip Gracin
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/
Josip Gracin
2005-09-15 09:21:44 UTC
Permalink
Post by Morten Isaksen
Post by Josip Gracin
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.
Carlos Alperin
2006-04-24 21:18:34 UTC
Permalink
Did someone knows how to solve the following problem:

I'm using a Sipura box 2000. I just added a telephone RCA with 4 lines
(Model 25414RE3). When we push the hold button, the music on hold doesn't
work, but it works when we push the flash button.

Anyone knows how to change the programming on the sipura to detect the
actual hold button.

Thanks,

Carlos Alperin
Jerry Jones
2006-04-24 21:42:54 UTC
Permalink
Not sure about your specific set, but some just place a load on the
line and disconnect the handset when you use the hold button. You
pick the handset up or press the button again it reconnects the
handset and removes the load. It does not actually send a flash to
place the call on hold, therefore asterisk does not know to play the
music.
Post by Carlos Alperin
I'm using a Sipura box 2000. I just added a telephone RCA with 4 lines
(Model 25414RE3). When we push the hold button, the music on hold doesn't
work, but it works when we push the flash button.
Anyone knows how to change the programming on the sipura to detect the
actual hold button.
Thanks,
Carlos Alperin
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Loading...