Kevin,<br>
<br>
Is there any mechanism currently on asterisk to &quot;reserve&quot; channels
without actually dialing them? I'm going to look at the code for Dial
and ChanIsAVail to see if a simple patch is possible but your guidance
would be invaluable.<br>
<br>
Thanks!<br>
<br>
Carlos<br>
<br>
On 9/13/05, <b class="gmail_sendername">Kevin P. Fleming</b> &lt;<a href="mailto:kpfleming@digium.com">kpfleming@digium.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Carlos Antunes wrote:<br>&gt; Unless I'm missing something too, the inability to lock an available channel<br>&gt; appears to invalidate any potential use of ChanIsAvail.<br><br>That is not true at all. If ChanIsAvail() tells you the channel is _NOT_
<br>available, it's very likely to stay that way while your next dialplan<br>action runs (especially if it's because a SIP peer is unregistered, for<br>example).<br><br>&gt; It would be nice to be able to tell ChanIsAvail to lock an available channel
<br>&gt; until Dial is used or the dialplan logic ends.<br><br>Sure would.<br>_______________________________________________<br>Asterisk-Dev mailing list<br><a href="mailto:Asterisk-Dev@lists.digium.com">Asterisk-Dev@lists.digium.com
</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">
http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>&quot;We hold [...] that all men are created equal; that they are<br>endowed [...] with certain inalienable rights; that among
<br>these are life, liberty, and the pursuit of happiness&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- Thomas Jefferson