[asterisk-users] AVAILSTATUS always 0

Joshua Colp jcolp at digium.com
Fri Oct 5 08:27:44 CDT 2012


Jonas Kellens wrote:
>
> Using this will make Asterisk hang. Done that in the past and result was
> that Asterisk hung after a certain amount of asterisk -rx "command". So
> my experience is that this is not the correct solution.
>
> If only ChanIsAvail could return the correct value...

You may have missed it but I sent an email detailing that... just add 
the 's' option to your use of ChanIsAvail. As I also said if you don't 
want to do that then check if AVAILCHAN is set or not.

Those are your two options.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org



More information about the asterisk-users mailing list