Thank you all for your response, but it appears that some of you
didn't understand my question. I know I can schedule a cron to check
the status (I can even use asterisk -rx "sip show peers" | grep
UNREACHABLE if I use a cron) but that is not what I want. I want
either a way that just as asterisk prints to the CLI  the following:
Peer '120' is now UNREACHABLE!  Last qualify: 118
it should also be able to trigger whatever action from a conf file or the like.
Or if there is an available solution even that involves a cron job but
already has all the options, so I don't have to reinvent the wheel.


On 4/18/07, C F <[EMAIL PROTECTED]> 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

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to