Skip to content


Getting SIPr going on Mac

I’ve been looking around for SIP test software, that I can use to test the integrity of our VoIP phone system. Every time we make a configuration change it seems to cause something else to break, so it seems to make sense to have a test suite we can run over our system from time to time, and for simple tests to be run every five minutes from Nagios to alert us if things break.

I’ve found a few things that look interesting:

  • SIPr – ruby, open source version, plus supported enterprise version
  • miTester for SIP – java, docs hard to find as main website is down - sourceforge page

miTester’s website has been down all evening which is a bit of a hindrance to finding out more about it, so that one will have to wait. In the mean time I’ve been looking to get SIPr installed on my Mac. SIPr’s supported platforms are Linux, Solaris and Windows, but their blog says you can manually compile the native SipperMedia executable and then install the SIPr gem. So this is what I did…

Download Sipper source:

svn co http://sipper.rubyforge.org/svn/ sipper

Build the SipperMedia binary:

cd sipper/media/SipperMedia
make

Test the binary runs:

cd Unix
./SipperMedia

Copy SipperMedia binary into bin/ folder:

cd ~/src/sipper
cp media/SipperMedia/Unix/SipperMedia bin/

Build the gem:

gem build sipper.gemspec

example output:

Successfully built RubyGem
Name: Sipper
Version: 2.0.0
File: Sipper-2.0.0.gem
Successfully built RubyGem
Name: Sipper
Version: 2.0.0
File: Sipper-2.0.0.gem
Hoorah. Now lets install it:
sudo gem install Sipper-2.0.0.gem
Splendid. Now lets run it’s tests:
Ren:sipper jesse$ ssmoke
Loaded suite /opt/local/bin/ssmoke
Started
< INVITE  > 100  > 200  < ACK  > BYE  < 200  .
Finished in 0.095137 seconds.
1 tests, 12 assertions, 0 failures, 0 errors
Lovely. Now lets see what can be done with it. The SIPr book is looking like a good read.

Posted in General, Tech. Tagged with .

2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Sam said

    Thanks for this. I was using Sipper without a working SipperMedia binary, which was causing a silent hang. Your post just saved me a bunch of time.

  2. jesse said

    No worries. What are you planning to do with SIPr?

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.