ngrep traffic, cfg file, sipsak
Here's the ngrep traffic dump.
bash-2.05b# ngrep -t port 5060
interface: sis0 (192.168.1.0/255.255.255.0)
filter: ip and ( port 5060 )
#
U 2005/07/17 01:24:44.312940 192.168.1.4:32775 -> 192.168.1.6:5060
OPTIONS sip:1234@192.168.1.6 SIP/2.0..Via: SIP/2.0/UDP
asterisk1.local:3277
4;rport..From: sip:sipsak@asterisk1.local:32774;tag=444884a3..To: sip:
1234@
192.168.1.6..Call-ID: 1145603235@asterisk1.local..CSeq: 1
OPTIONS..Contact:
sip:sipsak@asterisk1.local:32774..Content-Length: 0..Max-Forwards:
0..User
-Agent: sipsak 0.8.11..Accept: text/plain....
#
U 2005/07/17 01:24:44.343055 192.168.1.6:5060 -> 192.168.1.4:32775
SIP/2.0 483 Too Many Hops..Via: SIP/2.0/UDP asterisk1.local:
32774;rport=327
75;received=192.168.1.4..From: sip:sipsak@asterisk1.local:
32774;tag=444884a
3..To: sip:
1234@192.168.1.6;tag=b42c293d3b69ef4e5d7c66dde268b4d8.c8d5..Call
-ID: 1145603235@asterisk1.local..CSeq: 1 OPTIONS..Server: Sip EXpress
route
r (0.9.3 (i386/freebsd))..Content-Length: 0..Warning: 392
192.168.1.6:5060
"Noisy feedback tells: pid=8968 req_src_ip=192.168.1.4
req_src_port=32775
in_uri=sip:1234@192.168.1.6 out_uri=sip:1234@192.168.1.6 via_cnt==1"....
#
U 2005/07/17 01:24:44.344937 192.168.1.4:32775 -> 192.168.1.6:5060
OPTIONS sip:1234@192.168.1.6 SIP/2.0..Via: SIP/2.0/UDP
asterisk1.local:3277
4;rport..From: sip:sipsak@asterisk1.local:32774;tag=4bd28762..To: sip:
1234@
192.168.1.6..Call-ID: 1272088418@asterisk1.local..CSeq: 2
OPTIONS..Contact:
sip:sipsak@asterisk1.local:32774..Content-Length: 0..Max-Forwards:
1..User
-Agent: sipsak 0.8.11..Accept: text/plain....
#
U 2005/07/17 01:24:44.346355 192.168.1.6:5060 -> 192.168.1.4:32775
SIP/2.0 404 Not Found..Via: SIP/2.0/UDP asterisk1.local:
32774;rport=32775;r
eceived=192.168.1.4..From: sip:sipsak@asterisk1.local:
32774;tag=4bd28762..T
o: sip:
1234@192.168.1.6;tag=b42c293d3b69ef4e5d7c66dde268b4d8.c8d5..Call-ID:
1272088418@asterisk1.local..CSeq: 2 OPTIONS..Server: Sip EXpress
router (0
.9.3 (i386/freebsd))..Content-Length: 0..Warning: 392
192.168.1.6:5060 "Noi
sy feedback tells: pid=8961 req_src_ip=192.168.1.4 req_src_port=32775
in_u
ri=sip:1234@192.168.1.6 out_uri=sip:1234@192.168.1.6 via_cnt==1"....
sipsak traceroute information:
warning: IP extract from warning activated to be more informational
0: 192.168.1.6 (31.102 ms) SIP/2.0 483 Too Many Hops
1: 192.168.1.6 (2.381 ms) SIP/2.0 404 Not Found
without Contact header