[Sipsak] Monitoring connection

Paul Aviles paul.aviles at nickelnetworks.com
Mon Nov 26 17:49:04 CET 2007


I am trying to use sipsak to monitor the connection to Teliax and I am
getting SIP/2.0 404 Not Found no matter what I try.  Teliax seems to be
good, but I am finding  a lot of times that they go down and don't tell
anyone so I am already monitoring if the connection to them from
asterisk changes to UNKNOWN, however what I would like to do is to test
if a particular proxy is down and is so, test another one and
reconfigure asterisk on the fly to that one.

However, how do I solve the 404 not found error?

Regards,

Paul

sipsak -H www.myserver.com -s sip:user at voip-ca1.teliax.com -a password
-vvv
fqdnhostname: www.myserver.com
our Via-Line: Via: SIP/2.0/UDP
www.myserver.com:1946;branch=z9hG4bK.611bfb5e;rport;alias

New message with Via-Line:
OPTIONS sip:user at voip-ca1.teliax.com SIP/2.0
Via: SIP/2.0/UDP
www.myserver.com:1946;branch=z9hG4bK.611bfb5e;rport;alias
From: sip:sipsak at www.myserver.com:1946;tag=1aaa6d7a
To: sip:user at voip-ca1.teliax.com
Call-ID: 447376762 at www.myserver.com
CSeq: 1 OPTIONS
Contact: sip:sipsak at www.myserver.com:1946
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.9.6
Accept: text/plain



request:
OPTIONS sip:user at voip-ca1.teliax.com SIP/2.0
Via: SIP/2.0/UDP
www.myserver.com:1946;branch=z9hG4bK.611bfb5e;rport;alias
From: sip:sipsak at www.myserver.com:1946;tag=1aaa6d7a
To: sip:user at voip-ca1.teliax.com
Call-ID: 447376762 at www.myserver.com
CSeq: 1 OPTIONS
Contact: sip:sipsak at www.myserver.com:1946
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.9.6
Accept: text/plain


send to: UDP:207.174.111.34:5060

message received:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
www.myserver.com:1946;branch=z9hG4bK.611bfb5e;alias;received=www.myserve
r.com;rport=1946
From: sip:sipsak at www.myserver.com:1946;tag=1aaa6d7a
To: sip:user at voip-ca1.teliax.com;tag=as36de5fd3
Call-ID: 447376762 at www.myserver.com
CSeq: 1 OPTIONS
User-Agent: TELIAX GEAR v4.1.0x
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Accept: application/sdp
Content-Length: 0



** reply received after 108.861 ms **
   SIP/2.0 404 Not Found
   final received


More information about the Sipsak mailing list