scmp Posted November 21, 2010 Report Share Posted November 21, 2010 Hello, While setting up a sip trunk with sipgate, it registers successfully initially but a few minutes later it shows "400 Bad Request (Registration failed, retry after 60 seconds)". Setting keepalive to different values (30, 60 ,180) didn't seem to make a difference. This is a screenshot of the trunk status: capture And the logs below. I noticed P-Registrar-Error: Invalid CSeq number at the end. Does that point to a bad SIP implementation. If it does, which one, snom ONE or sipgate? REGISTER sip:sipgate.com SIP/2.0 Via: SIP/2.0/UDP yy.yy.yy.yy:5060;branch=z9hG4bK-99919a0008f368a0dc31dd56a884570c;rport From: "****" <sip:****@sipgate.com>;tag=22009 To: "****" <sip:****@sipgate.com> Call-ID: 1til7rhv@pbx CSeq: 4891 REGISTER Max-Forwards: 70 Contact: <sip:****@yy.yy.yy.yy:5060;transport=udp;line=e4da3b7f>;+sip.instance="<urn:uuid:c8d3c441-6829-4e9b-86d0-e12afdabc4f2>" User-Agent: snom-PBX/4.2.0.3950 Supported: outbound Expires: 3600 Content-Length: 0 [9] 2010/11/21 11:33:03: SIP Rx udp:204.155.28.10:5060: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP yy.yy.yy.yy:5060;received=yy.yy.yy.yy;branch=z9hG4bK-99919a0008f368a0dc31dd56a884570c;rport=5060 From: "****" <sip:****@sipgate.com>;tag=22009 To: "****" <sip:****@sipgate.com>;tag=ebea40332804c9eac6fca132b3193bcb.cbcb Call-ID: 1til7rhv@pbx CSeq: 4891 REGISTER WWW-Authenticate: Digest realm="sipgate.com", nonce="4ce958fb03a273b0f769047ecc57d71969169e9d" Content-Length: 0 [8] 2010/11/21 11:33:03: Answer challenge with username **** [9] 2010/11/21 11:33:03: Resolve 126: udp 204.155.28.10 5060 udp:1 [9] 2010/11/21 11:33:03: SIP Tx udp:204.155.28.10:5060: REGISTER sip:sipgate.com SIP/2.0 Via: SIP/2.0/UDP yy.yy.yy.yy:5060;branch=z9hG4bK-94e04b8c0caa173656b5a21dec574eae;rport From: "****" <sip:****@sipgate.com>;tag=22009 To: "****" <sip:****@sipgate.com> Call-ID: 1til7rhv@pbx CSeq: 45315 REGISTER Max-Forwards: 70 Contact: <sip:****@yy.yy.yy.yy:5060;transport=udp;line=e4da3b7f>;+sip.instance="<urn:uuid:c8d3c441-6829-4e9b-86d0-e12afdabc4f2>" User-Agent: snom-PBX/4.2.0.3950 Supported: outbound Authorization: Digest realm="sipgate.com",nonce="4ce958fb03a273b0f769047ecc57d71969169e9d",response="c73a9c2d7128fb559ac15d008323121a",username="****",uri="sip:sipgate.com",algorithm=MD5 Expires: 3600 Content-Length: 0 [9] 2010/11/21 11:33:03: Message repetition, packet dropped [9] 2010/11/21 11:33:04: SIP Rx udp:204.155.28.10:5060: SIP/2.0 400 Bad Request Via: SIP/2.0/UDP yy.yy.yy.yy:5060;received=yy.yy.yy.yy;branch=z9hG4bK-94e04b8c0caa173656b5a21dec574eae;rport=5060 From: "****" <sip:****@sipgate.com>;tag=22009 To: "****" <sip:****@sipgate.com>;tag=ebea40332804c9eac6fca132b3193bcb.1ba3 Call-ID: 1til7rhv@pbx CSeq: 45315 REGISTER Contact: <sip:****@yy.yy.yy.yy:5060;transport=udp;line=e4da3b7f>;expires=419 P-Registrar-Error: Invalid CSeq number Content-Length: 0 [5] 2010/11/21 11:33:04: Registration on trunk 5 (SIPGate) failed. Retry in 60 seconds Quote Link to comment Share on other sites More sharing options...
pbx support Posted November 22, 2010 Report Share Posted November 22, 2010 There were some issues with the cseq number in versions earlier to .3958. So I would suggest you to upgrade the PBX version and try it again. Quote Link to comment Share on other sites More sharing options...
scmp Posted December 5, 2010 Author Report Share Posted December 5, 2010 There were some issues with the cseq number in versions earlier to .3958. So I would suggest you to upgrade the PBX version and try it again. Thank you for the reply and sorry for responding so late. I'll give it a shot. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.