<br><br>
<div><span class="gmail_quote">On 9/11/05, <b class="gmail_sendername">Josip Gracin</b> &lt;<a href="mailto:gracin@tel.fer.hr">gracin@tel.fer.hr</a>&gt; 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>&nbsp;</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.&nbsp;&nbsp;The queue<br>would merely collect calls and play moh.
</blockquote>
<div>&nbsp;</div>
<div>This is the same way I use it.</div>
<div>&nbsp;</div>
<div>
<div>I send this to the Manager API:</div>
<div>&nbsp;</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>&nbsp;</div>
<div>Action: Command<br>Command: show queue test</div>
<div>&nbsp;</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>