Wow embarrassing I missed that one. I should have looked at the script. Thanks so much.
Regards Michael Knill On 3/2/18, 9:32 am, "Lonnie Abelbeck" <li...@lonnie.abelbeck.com> wrote: Michael, I personally have used this feature for many years. It may not be clear, but "Trunks" is for SIP servers you register to, "sip show registry" ... Monitor SIP Trunks: _______ (MONITOR_ASTERISK_SIP_TRUNKS) and "Peers" are for peers "sip show peers" with qualify=yes Monitor SIP Peers: ________ (MONITOR_ASTERISK_SIP_PEERS) Possibly you are defining "Trunks" instead of "Peers" ? I agree the documentation on this is weak. Lonnie PS, from the "/usr/sbin/asterisk-sip-monitor" script comments: # Example: "sip show registry" # chiv1.voippath.com:5060 xxxx 135 Registered Sat, 21 May 2011 10:21:11 # inbound18.bigtel.net:5060 xxxx 45 Registered Sat, 21 May 2011 10:22:42 # # MONITOR_ASTERISK_SIP_TRUNKS="chiv1.voippath.com inbound18.bigtel.net" # # Example: "sip show peers" # voippath/homer-simpson 64.x.x.xx 5060 OK (67 ms) # bigtel-inbound/homer1 64.x.x.xx 5060 Unmonitored # bigtel-outbound/homer1 64.x.x.xx 5060 OK (42 ms) # # MONITOR_ASTERISK_SIP_PEERS="voippath bigtel-outbound" # On Feb 2, 2018, at 2:15 PM, Michael Knill <michael.kn...@ipcsolutions.com.au> wrote: > Hi Group > > I cant seem to get the SIP Monitor working. The only time it ever sends me an email is when the box is power reset (which is actually quite handy). > I basically want to know when my trunk is UNREACHABLE or UNKNOWN and I don't want heaps of emails e.g. tell me once when its down and don't tell me its down again until it has transitioned from OK. > Will SIP Monitor do this? Monit maybe? Any other recommendations? > > Regards > Michael Knill > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.