Howto enable Asterisk to call back to a sip when unavailable

Hi all,

howto make Asterisk to call back to a SIP phone, when this SIP phone is unavailable or occuped? When it´s available, how to make Asterisk call this phone and call to the SIP phone that originate the call?



It is possible to use the Asterisk AGI capability for such an application. You may use the ChanIsAvail() command to find out if the channel is available or not. Possible to do this with the PHPAGI classes as well: … nel_status