[Home]

Summary:ASTERISK-13960: Registration looks only at IP not port
Reporter:afu (afu)Labels:
Date Opened:2009-04-15 05:19:20Date Closed:2011-06-07 14:03:05
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Two port Linksys box registers 2 numbers, one for each telephone port.
Only one is able to phone, the other is gets an username mismatch.

reproduceable with 1.24.1 and svn issue12437

****** ADDITIONAL INFORMATION ******

DataNode1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status     Realtime
4313113032/4313113032      83.65.212.140    D          5061     OK (21 ms) Cached RT
4313113031/4313113031      83.65.212.140    D          5060     OK (23 ms) Cached RT
2 sip peers [Monitored: 2 online, 0 offline Unmonitored: 0 online, 0 offline]

[Apr 15 10:43:20] WARNING[22344]: chan_sip.c:8743 check_auth: username mismatch, have <4313113032>, digest has <4313113031>
[Apr 15 10:43:20] NOTICE[22344]: chan_sip.c:14654 handle_request_invite: Failed to authenticate user 4313113031 <sip:4313113031@79.170.208.149>;tag=fc775f282a12d540o0


Comments:By: Leif Madsen (lmadsen) 2009-04-21 21:30:22

Please provide the sip trace of the failure, along with the configuration you're using in sip.conf. I have a feeling this may be a configuration issue, but I'd like the information required in order to attempt reproducing this issue.

By: afu (afu) 2009-04-22 13:51:58

mea culpa. The field insecure was set to "port" by mistake.
Thought it was an side effect by the nice patch from file for T38.
Tested again and everything fine. Sorry again!

By: Joshua C. Colp (jcolp) 2009-04-22 13:56:54

Closed per reporter.