[asterisk-users] AVAILSTATUS always 0

Jonas Kellens jonas.kellens at telenet.be
Fri Oct 5 09:26:05 CDT 2012


On 05-10-12 15:27, Joshua Colp wrote:
> 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.
>

the 's' option is about a channel in use. I don't see the link with a 
SIP peer that is registrated or not.

if AVAILCHAN is set, does this mean that the SIP peer is reachable ??



Jonas.



More information about the asterisk-users mailing list