[asterisk-bugs] [Asterisk 0014018]: [patch] Registrations using a username without domain will fail.
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Dec 3 11:23:14 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-03 11:23 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.
======================================================================
----------------------------------------------------------------------
(0095734) nmav (reporter) - 2008-12-03 11:23
http://bugs.digium.com/view.php?id=14018#c95734
----------------------------------------------------------------------
The sip.conf registration line is:
register => test at 192.168.240.18:test:test at 192.168.240.18:5060/2104000001
And full the registration message:
Retransmitting http://bugs.digium.com/view.php?id=5 (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=z9hG4bK06a8851c;rport
From: <sip:nmav2 at 192.168.240.18>;tag=as0fdc71e2
To: <sip:nmav2 at 192.168.240.18>
Call-ID: 1bdff3060811e32e095dcf2357a52439 at 192.168.1.254
CSeq: 116 REGISTER
User-Agent: Gennet Oxygen
Max-Forwards: 70
Expires: 300
Contact: <sip:2104000002 at 172.16.1.104>
Event: registration
Content-Length: 0
Issue History
Date Modified Username Field Change
======================================================================
2008-12-03 11:23 nmav Note Added: 0095734
======================================================================
More information about the asterisk-bugs
mailing list