viljoens at verishare.... Guest
|
Posted: Wed May 20, 2015 1:25 am Post subject: [asterisk-users] Monitoring SIP Service (Jai Rangi) |
|
|
Interesting approach.
What we've done is to write an app that runs on a separate machine that
simply does some asterisk -rx calls to the running Asterisk instance via an
SSH library and then evaluate the string returned.
For example, to monitor our registered SIP service providers, we compare the
output for the sip show registry CLI command when the system is in the
correct state, to the output we get on timed checks every five minutes.
If a SIP trunk goes down, the just-obtrained string does not match the
stored, correct string anymore, and our app starts sending SMSes / raising
alarms.
Been running for about three years now and works suffieciently for our
widely separated branches all over South Africa.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|