[asterisk-users] how can qualify=yes trigger some external event?

Watkins, Bradley Bradley.Watkins at compuware.com
Fri Jun 1 05:45:17 MST 2007


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Ricardo Carvalho
> Sent: Friday, June 01, 2007 6:04 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] how can qualify=yes trigger some 
> external event?
> 
> Hi all,
> 
> The option qualify=yes allows Asterisk to check if it can 
> reach the peer. If the device does not answer within the 
> time-out period, Asterisk considers the device off-line for 
> future calls.
> Is it possible to use this feature to trigger some external 
> event, in case of failed reply from the peer that is tried to 
> be reached? How can that be done?
> 
> Regards,
> Ricardo.
> 

Hi, Ricardo.

Currently there is no way to do this in a pure "configuration-only" sort
of way.  However, if you're even moderately adept at C a cursory glance
through chan_sip.c will show that it would be quite straightforward to
modify the code in order to allow this.

Regards,
- Brad

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 


More information about the asterisk-users mailing list