Summary: | ASTERISK-17468: [patch] Spectralink 8020 phone will not register | ||||
Reporter: | Robin Seaborn (rseaborn) | Labels: | |||
Date Opened: | 2011-02-24 00:00:27.000-0600 | Date Closed: | 2015-03-15 12:28:03 | ||
Priority: | Trivial | Regression? | No | ||
Status: | Closed/Complete | Components: | Channels/chan_sip/Registration | ||
Versions: | 1.8.2 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | Attachments: | ( 0) 8020-failure.trace ( 1) patch-sip.conf.sample-1.8.3-rc2-spectralink-pedantic-needs-to-be-off.diff.txt | |||
Description: | Asterisk 1.8.2 appears to be ignoring registration requests from Polycom Spectralink 8020 phones. Debug shows Asterisk receiving register request, however it never sends any packets in response. Used tcpdump to verify against what debug was showing. No SIP packets are generated in response. I have packet captures if needed. Identical configuration works with Asterisk 1.6. Tested using fresh install of PBX-in-a-flash 1.7.554 to validate results after intial failure. ****** ADDITIONAL INFORMATION ****** SIP debug output: <-------------> [2011-02-23 23:48:47] VERBOSE[3399] chan_sip.c: --- (11 headers 0 lines) --- [2011-02-23 23:48:51] VERBOSE[3399] chan_sip.c: <--- SIP read from UDP:10.2.1.169:5060 ---> REGISTER sip:10.2.1.168 SIP/2.0 Via: SIP/2.0/UDP 10.2.1.169:5060;branch=z9hG4bKe96f7299 From: <sip:2100@10.2.1.168> To: <sip:2100@10.2.1.168> Call-ID: 5b2126fe-bd4b0f19-132beea6@10.2.1.169 CSeq: 103 REGISTER Contact: "Wireless Phone" <sip:2100@10.2.1.169:5060> User-Agent: Slnk/22 Max-Forwards: 70 Content-Length: 0 Expires: 600 <-------------> [2011-02-23 23:48:51] VERBOSE[3399] chan_sip.c: --- (11 headers 0 lines) --- [2011-02-23 23:48:55] VERBOSE[3399] chan_sip.c: <--- SIP read from UDP:10.2.1.169:5060 ---> REGISTER sip:10.2.1.168 SIP/2.0 Via: SIP/2.0/UDP 10.2.1.169:5060;branch=z9hG4bKe96f7299 From: <sip:2100@10.2.1.168> To: <sip:2100@10.2.1.168> Call-ID: 5b2126fe-bd4b0f19-132beea6@10.2.1.169 CSeq: 103 REGISTER Contact: "Wireless Phone" <sip:2100@10.2.1.169:5060> User-Agent: Slnk/22 Max-Forwards: 70 Content-Length: 0 Expires: 600 <-------------> [2011-02-23 23:48:55] VERBOSE[3399] chan_sip.c: --- (11 headers 0 lines) --- [2011-02-23 23:48:59] VERBOSE[3399] chan_sip.c: <--- SIP read from UDP:10.2.1.169:5060 ---> REGISTER sip:10.2.1.168 SIP/2.0 Via: SIP/2.0/UDP 10.2.1.169:5060;branch=z9hG4bKe96f7299 From: <sip:2100@10.2.1.168> To: <sip:2100@10.2.1.168> Call-ID: 5b2126fe-bd4b0f19-132beea6@10.2.1.169 CSeq: 103 REGISTER Contact: "Wireless Phone" <sip:2100@10.2.1.169:5060> User-Agent: Slnk/22 Max-Forwards: 70 Content-Length: 0 Expires: 600 <-------------> [2011-02-23 23:48:59] VERBOSE[3399] chan_sip.c: --- (11 headers 0 lines) --- [2011-02-23 23:49:03] VERBOSE[4005] asterisk.c: -- Remote UNIX connection disconnected [2011-02-23 23:49:03] VERBOSE[3399] chan_sip.c: <--- SIP read from UDP:10.2.1.169:5060 ---> REGISTER sip:10.2.1.168 SIP/2.0 Via: SIP/2.0/UDP 10.2.1.169:5060;branch=z9hG4bKe96f7299 From: <sip:2100@10.2.1.168> To: <sip:2100@10.2.1.168> Call-ID: 5b2126fe-bd4b0f19-132beea6@10.2.1.169 CSeq: 103 REGISTER Contact: "Wireless Phone" <sip:2100@10.2.1.169:5060> User-Agent: Slnk/22 Max-Forwards: 70 Content-Length: 0 Expires: 600 <-------------> [2011-02-23 23:49:03] VERBOSE[3399] chan_sip.c: --- (11 headers 0 lines) --- [2011-02-23 23:49:07] VERBOSE[3399] chan_sip.c: <--- SIP read from UDP:10.2.1.169:5060 ---> REGISTER sip:10.2.1.168 SIP/2.0 Via: SIP/2.0/UDP 10.2.1.169:5060;branch=z9hG4bKe96f7299 From: <sip:2100@10.2.1.168> To: <sip:2100@10.2.1.168> Call-ID: 5b2126fe-bd4b0f19-132beea6@10.2.1.169 CSeq: 103 REGISTER Contact: "Wireless Phone" <sip:2100@10.2.1.169:5060> User-Agent: Slnk/22 Max-Forwards: 70 Content-Length: 0 Expires: 600 <-------------> | ||||
Comments: | By: cmaj (cmaj) 2011-02-24 02:23:57.000-0600 Can confirm. Seems to work with "pedantic=no" in top of sip.conf By: Robin Seaborn (rseaborn) 2011-02-24 10:06:59.000-0600 confirmed pedantic=no fixes issue. Also confirmed setting pedantic=yes on Asterisk 1.6 causes SIP registration to fail as well. By: cmaj (cmaj) 2011-02-24 11:39:49.000-0600 Uploaded documentation patch because the only notice of new pedantic=yes default change in behaviour was in the UPGRADE.txt file. By: Eugene (varnav) 2012-03-03 13:05:02.285-0600 The fact that Asterisk won't accept incorrectly formed REGISTER request if "pedantic" is set to "yes" is not a bug, but fact that Asterisk ignores such requests silently is not good. I've filed a bug report about this issue: ASTERISK-19467 By: Matt Jordan (mjordan) 2015-03-15 12:28:03.247-0500 Closing this out as "Won't Fix", as the REGISTER request is malformed. The rest of this issue is whether or not Asterisk in {{pedantic}} mode should issue a message. |