[asterisk-bugs] [Asterisk 0018624]: [patch] registration rejected - not a local domain

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 16 09:50:27 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18624 
====================================================================== 
Reported By:                Netview
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18624
Category:                   Channels/chan_sip/Registration
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 301731 
Request Review:              
====================================================================== 
Date Submitted:             2011-01-14 11:20 CST
Last Modified:              2011-01-16 09:50 CST
====================================================================== 
Summary:                    [patch] registration rejected - not a local domain
Description: 
I have an older phone from Siemens (S35) which sents the port number as a
suffix together with the sip-uri. The registration is denied with message
'Registration from 'alix <sip:S35-WLAN at alix.mydomain.de:5060>' failed for
'10.0.0.28:1036' - Not a local domain'
because allowguest is set to 'no'.
It seems that the whole string 'alix.mydomain.de:5060' is compared against
the  'domain=alix.mydomain.de' which is not correct (* 1.6.2 doesn't reject
the register).

REGISTER sip:alix.mydomain.de:5060 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 10.0.0.28:5060;branch=z9hG4bK18aa37e0a
Call-ID: 383939451fefab8
From: alix
<sip:S35-WLAN at alix.mydomain.de:5060>;tag=bd3cbcfcfdd2b02;epid=SC6770b0
To: alix <sip:S35-WLAN at alix.mydomain.de:5060>
CSeq: 1957876956 REGISTER
Contact: alix <sip:S35-WLAN at 10.0.0.28:5060;transport=udp>;expires=3605
User-Agent: Gigaset S35 WLAN M5T SIP-UA SAFE/v3.6.4.8
 
====================================================================== 

---------------------------------------------------------------------- 
 (0130532) Netview (reporter) - 2011-01-16 09:50
 https://issues.asterisk.org/view.php?id=18624#c130532 
---------------------------------------------------------------------- 
The attached patch will fix this! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-16 09:50 Netview        Note Added: 0130532                          
======================================================================




More information about the asterisk-bugs mailing list