Howto enable Asterisk to call back to a sip when unavailable


#1

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?

Tks,

mnazer


#2

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:

phpagi.sourceforge.net/phpagi2/d … nel_status