[asterisk-bugs] [Asterisk 0010431]: Asterisk ignores port in register directive

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Aug 13 10:38:52 CDT 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=10431 
====================================================================== 
Reported By:                amatory
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10431
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.10  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-11-2007 19:14 CDT
Last Modified:              08-13-2007 10:38 CDT
====================================================================== 
Summary:                    Asterisk ignores port in register directive
Description: 
I have seen this error in both Asterisk 1.2.18 and 1.4.6. 

I have the following register string in sip.conf

register=username:password at 192.168.14.250:6060/username

Asterisk should thus send the register request to: 192.168.14.250 at port
6060. However, it sends the request to standard 5060 port. Here is the
output from CLI

Retransmitting http://bugs.digium.com/view.php?id=5 (NAT) to
192.168.14.250:5060:
REGISTER sip:192.168.14.250:6060 SIP/2.0
Via: SIP/2.0/UDP 192.168.14.104:5070;branch=z9hG4bK3a63040b;rport
From: <sip:username at 192.168.14.250>;tag=as7857a350
To: <sip:username at 192.168.14.250>
Call-ID: 7dba5db402361ef80ba686c94f60bc51 at 127.0.0.1
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:username at 192.168.14.104:5070>
Event: registration
Content-Length: 0
====================================================================== 

---------------------------------------------------------------------- 
 file - 08-13-07 10:38  
---------------------------------------------------------------------- 
Can you please provide your sip.conf minus passwords? I was unable to
reproduce this using mine. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-13-07 10:38  file           Note Added: 0068775                          
08-13-07 10:38  file           Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list