George Pajari
2005-Mar-05 04:18 UTC
[Asterisk-Users] Asterisk 1.0.3 Periodically Fails Registrations
Asterisk 1.0.3 Sayson 480i running .78 release (problem may not be Sayson specific, it's just that's what's deployed) Problem: Asterisk rejects registrations every so often even though nothing has changed either with Sayson or Asterisk configuration (and previous registrations have succeeded) SIP trace of successful registration: ============================ =====OUT=====>>>>>>>>>>192.168.0.52: Sending SIP packet to: 209.139.212.169:5060 REGISTER sip:209.139.212.169:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.52;branch=z9hG4bKe9dfdb692 Max-Forwards: 9 Content-Length: 0 To: Chak De Display <sip:cdot-109@209.139.212.169:5060> From: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=3747511ff645a2c Call-ID: 62860e81f8f7611f43b87b53e309dc32@192.168.0.52 CSeq: 272720092 REGISTER Contact: Chak De Display <sip:cdot-109@192.168.0.52>;expires=60 Allow: SUBSCRIBE Allow: NOTIFY Allow: REFER Allow: OPTIONS Allow: MESSAGE Allow: INVITE Allow: ACK Allow: CANCEL Allow: BYE Allow: INFO Authorization:Digest response="2d5dd24c01e8db3a1ac1b918d471b1a0",username="cdot-109",realm="asterisk",nonce="7ec20f6d",uri="sip:209.139.212.169:5060" User-Agent: Brcm Callctrl/1.5.1.0 MxSF/v3.2.6.26 =====OUT=====>>>>>>>>>>END SIP packet <<<<<<<<<<=====IN=====192.168.0.52: Received SIP packet from: 209.139.212.169:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.0.52;branch=z9hG4bKe9dfdb692;received=69.90.106.130;rport=59749 From: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=3747511ff645a2c To: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=as3177eccc Call-ID: 62860e81f8f7611f43b87b53e309dc32@192.168.0.52 CSeq: 272720092 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:cdot-109@209.139.212.169> Content-Length: 0 <<<<<<<<<<=====IN=====END SIP packet <<<<<<<<<<=====IN=====192.168.0.52: Received SIP packet from: 209.139.212.169:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.52;branch=z9hG4bKe9dfdb692;received=69.90.106.130;rport=59749 From: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=3747511ff645a2c To: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=as3177eccc Call-ID: 62860e81f8f7611f43b87b53e309dc32@192.168.0.52 CSeq: 272720092 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Expires: 60 Contact: <sip:cdot-109@192.168.0.52>;expires=60 Date: Fri, 04 Mar 2005 18:04:12 GMT Content-Length: 0 <<<<<<<<<<=====IN=====END SIP packet ============================ SIP trace of unsuccessful registration: =================================OUT=====>>>>>>>>>>192.168.0.52: Sending SIP packet to: 209.139.212.169:5060 REGISTER sip:209.139.212.169:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.52;branch=z9hG4bKc3e1d72f2 Max-Forwards: 9 Content-Length: 0 To: Chak De Display <sip:cdot-109@209.139.212.169:5060> From: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=3747511ff645a2c Call-ID: 62860e81f8f7611f43b87b53e309dc32@192.168.0.52 CSeq: 272720093 REGISTER Contact: Chak De Display <sip:cdot-109@192.168.0.52>;expires=60 Allow: SUBSCRIBE Allow: NOTIFY Allow: REFER Allow: OPTIONS Allow: MESSAGE Allow: INVITE Allow: ACK Allow: CANCEL Allow: BYE Allow: INFO Authorization:Digest response="2d5dd24c01e8db3a1ac1b918d471b1a0",username="cdot-109",realm="asterisk",nonce="7ec20f6d",uri="sip:209.139.212.169:5060" User-Agent: Brcm Callctrl/1.5.1.0 MxSF/v3.2.6.26 =====OUT=====>>>>>>>>>>END SIP packet <<<<<<<<<<=====IN=====192.168.0.52: Received SIP packet from: 209.139.212.169:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.0.52;branch=z9hG4bKc3e1d72f2;received=69.90.106.130;rport=59749 From: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=3747511ff645a2c To: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=as2333d070 Call-ID: 62860e81f8f7611f43b87b53e309dc32@192.168.0.52 CSeq: 272720093 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:cdot-109@209.139.212.169> Content-Length: 0 <<<<<<<<<<=====IN=====END SIP packet <<<<<<<<<<=====IN=====192.168.0.52: Received SIP packet from: 209.139.212.169:5060 SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 192.168.0.52;branch=z9hG4bKc3e1d72f2;received=69.90.106.130;rport=59749 From: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=3747511ff645a2c To: Chak De Display <sip:cdot-109@209.139.212.169:5060>;tag=as2333d070 Call-ID: 62860e81f8f7611f43b87b53e309dc32@192.168.0.52 CSeq: 272720093 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:cdot-109@209.139.212.169> Content-Length: 0 =============================