SIP

check_calls

Description:

You’ve possible already met with nagios-plugins-check_sip. It sends OPTIONS packet to SIP proxy and waits for response. In some cases, that is not enough. My plugin makes real calls through SIP proxy periodically using Net::SIP module.

Current Version

1.0

Last Release Date

2012-04-25

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Photos
Project Notes
# 'check_calls' command definition ############################# define command{ command_name check_calls command_line /usr/bin/perl /usr/lib/nagios/plugins/check_calls -T 10 -O /dev/null sip:nagios@voxtrot.com sip:$ARG1$@$HOSTADDRESS$ } # 'check_calls' service definition ############################# define service { hostgroup_name sip-servers servicegroups sip-services service_description Test Calls check_command check_calls!999 ; 999 is the number to call, you should configure this extension in your SIP server. use generic-service }
Reviews (4) Add a Review
Error 110
by view, June 30, 2014

Even though I set leg=localip:5060 I got the error message "invite failed(call): Failed with error 110". Does anybody know how can I fix it? Thank you in advance.



Lots of issues
by bytelock, January 31, 2014

So. This script is actually ripped off from the guys who make the SIP perl module itself. Found here: https://metacpan.org/source/SULLR/Net-SIP-0.682/samples/invite_and_recv.pl Didn't give any credit to Steffen Ullrich. Anyway.. This plugin has issues and there's no support for it because this guy didn't write it, Steffen did. In my experience so far. I have it working as this in my command line test ./check_calls -T 30 --leg 192.168.1.50:5060 --username anaduser@foo.com --password pass1 sip:1661@foo.com sip:123@foo.com It wouldn't work without forcing the leg piece to use the localhost IP address and port. It kept trying to bind to an external address giving me a 110 error as someone reported earlier.



Works Beautifully!!
by itsJim, September 30, 2013

Thank you so much for this plugin! Works as expected! Using Asterisk v1.8 and v11.4 without so much as a hiccup!



HELP - SIP registration fails - error 110 ?
by mmcleod, May 31, 2013

Hi, the plugin looks very good, exactly what I need. Having installed all the Perl pre-requisites and finally getting the plugin to run, I'm now hit with a SIP registration failure 110. I'm using: ./check_calls.pl --username ADUSERNAME --PASSWORD --registrar=LYNCSERVERIP --proxy=LYNCSERVERIP sip:my.email@domain.com 07711111111 Please get in touch, would love to see this working !



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.2 (6)
Favorites
1
Views
91,692