From paul.aviles at nickelnetworks.com Mon Nov 26 17:49:04 2007 From: paul.aviles at nickelnetworks.com (Paul Aviles) Date: Mon Nov 26 17:49:16 2007 Subject: [Sipsak] Monitoring connection Message-ID: <40E1C71DFD600D4EA127F2840C6C1E9B028DD6@www.palei.com> 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@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@voip-ca1.teliax.com SIP/2.0 Via: SIP/2.0/UDP www.myserver.com:1946;branch=z9hG4bK.611bfb5e;rport;alias From: sip:sipsak@www.myserver.com:1946;tag=1aaa6d7a To: sip:user@voip-ca1.teliax.com Call-ID: 447376762@www.myserver.com CSeq: 1 OPTIONS Contact: sip:sipsak@www.myserver.com:1946 Content-Length: 0 Max-Forwards: 70 User-Agent: sipsak 0.9.6 Accept: text/plain request: OPTIONS sip:user@voip-ca1.teliax.com SIP/2.0 Via: SIP/2.0/UDP www.myserver.com:1946;branch=z9hG4bK.611bfb5e;rport;alias From: sip:sipsak@www.myserver.com:1946;tag=1aaa6d7a To: sip:user@voip-ca1.teliax.com Call-ID: 447376762@www.myserver.com CSeq: 1 OPTIONS Contact: sip:sipsak@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@www.myserver.com:1946;tag=1aaa6d7a To: sip:user@voip-ca1.teliax.com;tag=as36de5fd3 Call-ID: 447376762@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