[asterisk-users] Problem with ChanIsAvail

Jared Smith jsmith at digium.com
Tue Nov 3 09:00:52 CST 2009


On Tue, 2009-11-03 at 12:14 +0000, Dan Journo wrote:
> I am having a problem with ChanIsAvail. It always returns the same
> result, regardless of whether an extension is available or not.
> 
> It always returns 0 Unknown Status.

Do you have chan_sip keeping track of device state?  By default, it
doesn't keep track of device state, as that takes extra CPU cycles.  You
can turn it on for a particular SIP user/peer/friend by setting
"call-limit=99" (or some other reasonable level) in Asterisk 1.4 or
"callcounter=yes" on Asterisk 1.6.0 or later.

You may also need to investigate "limitonpeer=yes" in Asterisk 1.4
and/or "counteronpeer=yes" in Asterisk 1.6.0 and later.




-- 
Jared Smith
Training Manager
Digium, Inc.




More information about the asterisk-users mailing list