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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 31 12:13:20 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:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-2911 
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-31 12:13 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
 
====================================================================== 

---------------------------------------------------------------------- 
 (0131276) arapaho (reporter) - 2011-01-31 12:13
 https://issues.asterisk.org/view.php?id=18624#c131276 
---------------------------------------------------------------------- 
We've got the same problem last week while migrating from 1.6.2.14 to
1.8.2.2.
The phones are Aastra 6755i, with november 2010 firmware.

The migration done, the phones were not able to register with asterisk;
the debug message was:
[2011-01-27 19:15:17] NOTICE[7705] chan_sip.c: Registration from
'<sip:1111 at a.b.c.d:5060>' failed for 'w.x.y.z:5060' - Not a local domain

The only one SIP Domain was:
a.b.c.d
so we added
a.b.c.d:5060
as another SIP Domain and all registrations went right.

Sorry, we do not test the patch attached to this report. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-31 12:13 arapaho        Note Added: 0131276                          
======================================================================




More information about the asterisk-bugs mailing list