<br><br>
<div><span class="gmail_quote">On 9/11/05, <b class="gmail_sendername">Josip Gracin</b> <<a href="mailto:gracin@tel.fer.hr">gracin@tel.fer.hr</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello!<br><br>Is it legal to use RedirectAction to redirect a call that is waiting in<br>a queue?</blockquote>
<div> </div>
<div>It works for me.</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">The idea is to have an external application manage a queue via manager<br>API. The queue<br>would merely collect calls and play moh.
</blockquote>
<div> </div>
<div>This is the same way I use it.</div>
<div> </div>
<div>
<div>I send this to the Manager API:</div>
<div> </div>
<div>ACTION: Redirect<br>Channel: SIP/1011-338f<br>Context: sipclients<br>Exten: 1013<br>Priority: 1 </div>
<div><br>You have to extract the Channel value from the queue. I get this information with:</div>
<div> </div>
<div>Action: Command<br>Command: show queue test</div>
<div> </div>
<div>and then parse it with some regex in perl.<br clear="all"><br>-- <br>Morten Isaksen<br><a href="http://www.misak.dk/blog/">http://www.misak.dk/blog/</a> </div></div></div>