[asterisk-users] Trigger for unavailable SIP peer

Yuan LIU yliu11 at hotmail.com
Wed Apr 18 21:46:26 MST 2007


>From: dave cantera <david.cantera at iacnet.net>
>Date: Thu, 19 Apr 2007 00:11:09 -0400
>
>cf,
>I haven' t used the * manager... but from research, that is how I would 
>expect to do it...  I would have a cron job fire off  every 5 minutes (or 
>so, probably configurable) and connect to * via the manager, request the 
>status, then send an email based on the result... would be pretty easy... 
>could look into it if you would like...  email me off list...
>daveC

If you are inclined to use cron, manager interface would be an overkill.  
You can easily query either AstDB (database show, database showkey) or sip 
show user via asterisk -rx and parse the result.

Yuan Liu

>C F wrote:
>>I use qualify in sip.conf and need to setup a trigger when asterisk
>>sees it as unreachable, so that I can either drop a call file, or send
>>an email, or both. How can I do that?
>>
>>Thank you
>
>--
>Building Strong Relationships w/ Intelligent Customer Service
>--
>
>Interlocking Business Solutions, LLC
>856-380-0894 x5000




More information about the asterisk-users mailing list