[asterisk-bugs] [Asterisk 0014018]: [patch] Registrations using a username without domain will fail.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 4 02:30:43 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14018 
====================================================================== 
Reported By:                nmav
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14018
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-03 11:16 CST
Last Modified:              2008-12-04 02:30 CST
====================================================================== 
Summary:                    [patch] Registrations using a username without
domain will fail.
Description: 
When registering using a username that does not have the '@' appended with
domain fails. I see something like

Retransmitting http://bugs.digium.com/view.php?id=6 (no NAT) to
192.168.240.18:5060:
REGISTER sip:92.168.240.18 SIP/2.0
Via: SIP/2.0/UDP 172.16.1.104:5060;branch=z9hG4bK0a15b89a;rport

The attached patch seems to fix the issue.
====================================================================== 

---------------------------------------------------------------------- 
 (0095766) nmav (reporter) - 2008-12-04 02:30
 http://bugs.digium.com/view.php?id=14018#c95766 
---------------------------------------------------------------------- 
I seems I wasn't very clear. The problem is the line:
REGISTER sip:92.168.240.18 SIP/2.0

which should have been:
REGISTER sip:192.168.240.18 SIP/2.0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-04 02:30 nmav           Note Added: 0095766                          
======================================================================




More information about the asterisk-bugs mailing list