[Asterisk-Dev] Is the ChanIsAvail command thread safe?
Kevin P. Fleming
kpfleming at digium.com
Tue Sep 13 09:58:19 MST 2005
Carlos Antunes wrote:
> Unless I'm missing something too, the inability to lock an available channel
> appears to invalidate any potential use of ChanIsAvail.
That is not true at all. If ChanIsAvail() tells you the channel is _NOT_
available, it's very likely to stay that way while your next dialplan
action runs (especially if it's because a SIP peer is unregistered, for
example).
> It would be nice to be able to tell ChanIsAvail to lock an available channel
> until Dial is used or the dialplan logic ends.
Sure would.
More information about the asterisk-dev
mailing list