[asterisk-bugs] [Asterisk 0016491]: [patch] [regression] Asterisk sip.conf realtime register, contact problem

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 14 16:27:35 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16491 
====================================================================== 
Reported By:                jamicque
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16491
Category:                   Resources/res_realtime
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Target Version:             1.6.0.22
Asterisk Version:           1.6.0.20 
JIRA:                       SWP-640 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-21 09:59 CST
Last Modified:              2010-01-14 16:27 CST
====================================================================== 
Summary:                    [patch] [regression] Asterisk sip.conf realtime
register, contact problem
Description: 
When I have a config of sip_ps in realtime I've noticed the regestration
problem in sip.conf. 
The config in DB looks like: 
sip.conf	general	register	jamicque:xxx at sip.xxx.xxx:5060/jamicque

than the  register send by asterisk to provider looks like (please look at
the contact header):

REGISTER 13 headers, 0 lines
Reliably Transmitting (no NAT) to 213.218.116.66:5060:
REGISTER sip:sip.xxx.xxx SIP/2.0
Via: SIP/2.0/UDP 10.0.0.199:5060;branch=z9hG4bK40e31a75;rport
Max-Forwards: 70
From: <sip:jamicque at sip.xxx.xxx>;tag=as48167c5e
To: <sip:jamicque at sip.xxx.xxx>
Call-ID: 0a812221399f1a927fb46039266a4136 at 127.0.1.1
CSeq: 104 REGISTER
User-Agent: xxx
Authorization: Digest username="jamicque", realm="sip.xxx.xxx",
algorithm=MD5, uri="sip:sip.freeconet.pl",
nonce="4b2f9aed189e6af29c9b5b4307ff625414486c2b",
response="00f2b29e3a240406fa47bcbdff9e10b6"
Expires: 60
Contact: <sip:s at 10.0.0.199>
Event: registration
Content-Length: 0

When I remove the port information from my reltime registration:
sip.conf	general	register	jamicque:xxx at sip.xxx.xxx/jamicque

the contact in register is ok.




====================================================================== 

---------------------------------------------------------------------- 
 (0116693) tilghman (administrator) - 2010-01-14 16:27
 https://issues.asterisk.org/view.php?id=16491#c116693 
---------------------------------------------------------------------- 
The uploaded patch is a backport of the register line parsing changes we've
made in trunk, to deal with lots of other parsing issues.  Please test and
report back whether it fixes the issue for you. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-14 16:27 tilghman       Note Added: 0116693                          
======================================================================




More information about the asterisk-bugs mailing list