Home > Uncategorized > SIP debug stuff

SIP debug stuff

If you’re debugging SIP, here are a few tools can make all the difference:

SIPp on Sourceforge,
SIPp config sample at: SIPfoundry,
ngrep,
callflow produces nice diagrams and sip_scenario is a similar product producing HTML.
And of course Wireshark (formerly Ethereal) and tcpdump.

A couple of  tips when using sip_scenario:

tcpdump -s 0 -w pk.cap
-s … don’t truncate packets to default length of 96
-w … write output to pk.cap

sip_scenario 192.168.1.1:5060:1 -g:30 pk.cap
192.168.1.1:5060:1 … output ip addr 192.168.1.1 port 5060 in column 1
-g:30 … set column width to 30 (chars  wide?)

move the generated html files to a folder on your webserver and voila!

For more detailed help and samples: sip_scenario -syntax++

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.