Summary: | ASTERISK-20573: Phone does not re-register after system crash | ||
Reporter: | jmls (jmls) | Labels: | |
Date Opened: | 2012-10-17 00:38:48 | Date Closed: | 2012-10-17 02:18:25 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_sip/Registration |
Versions: | SVN 11.0.0-beta2 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | centos 5.8 , Asterisk SVN-branch-11-r374932 | Attachments: | |
Description: | cisco 7940 phone cannot register after a systems crash. We had a crash where the system froze. After reboot, this particular phone did not register. All settings are correct, phone is on the network. I've attached a sip debug | ||
Comments: | By: jmls (jmls) 2012-10-17 00:40:45.986-0500 this is in the logs with core set debug 9 <-------------> [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 0 [ 31]: REGISTER sip:AsteriskIP SIP/2.0 [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 1 [ 56]: Via: SIP/2.0/UDP PhoneIP:5060;branch=z9hG4bK6fe2c0b9 [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 2 [ 27]: From: sip:*0040*@AsteriskIP [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 3 [ 25]: To: sip:*0040*@AsteriskIP [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 4 [ 56]: Call-ID: 000cce74-038e0002-23b20774-6bd88cd4@PhoneIP [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 5 [ 18]: CSeq: 239 REGISTER [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 6 [ 18]: User-Agent: CSCO/7 [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 7 [ 38]: Contact: <sip:*0040*@PhoneIP:5060> [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 8 [ 17]: Content-Length: 0 [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9517 parse_request: Header 9 [ 13]: Expires: 3600 [Oct 17 06:21:32] --- (10 headers 0 lines) --- [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9067 find_call: = Looking for Call ID: 000cce74-038e0002-23b20774-6bd88cd4@PhoneIP (Checking From) --From tag --To-tag [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:9071 find_call: REGISTER request has no from tag, dropping callid: 000cce74-038e0002-23b20774-6bd88cd4@PhoneIP from: sip:*0040*@AsteriskIP [Oct 17 06:21:32] DEBUG[3879]: chan_sip.c:28062 handle_request_do: Invalid SIP message - rejected , no callid, len 309 By: jmls (jmls) 2012-10-17 00:46:03.532-0500 after conversation with kaldemar on irc, setting pedantic=no in sip.conf fixes the problem By: Matt Jordan (mjordan) 2012-10-17 07:00:12.582-0500 When the phone initially registers with Asterisk (say after being rebooted), does it have a From tag? By: jmls (jmls) 2012-10-17 14:34:14.721-0500 not sure - I'll rig up a test system with pedantic=yes and let you know |