[asterisk-bugs] [Asterisk 0014176]: [patch] send out the incorrect register request URI to the (fromdomain) outbound proxy

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 20 06:58:11 CDT 2009


The following issue has been set as DUPLICATE OF issue 0015165. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14176 
====================================================================== 
Reported By:                paraeco
Assigned To:                twilson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14176
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.22 
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 126902 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-05 21:31 CST
Last Modified:              2009-05-20 06:58 CDT
====================================================================== 
Summary:                    [patch] send out the incorrect register request URI
to the (fromdomain) outbound proxy
Description: 
It is actually reopening the issue https://issues.asterisk.org/view.php?id=12474
.
A bug is introduced into the file channel/chan_sip.c in the asterisk 1.4
branch -- SVN revision https://issues.asterisk.org/view.php?id=126902.

ast_string_field_set(p, fromdomain, ++fromdomain);

In the above code, ++fromdomain would be executed twice in the macro
ast_string_field_set() .
It results in the first character of the domain name to be eliminated .
A fix is included in the additional information filed .

Edit: the fix has been removed as all patch submissions MUST be posted to
the tracker correctly; not inline.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0015165 SIP Registrations ignore the "from...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-20 06:58 lmadsen        Relationship added       duplicate of 0015165
======================================================================




More information about the asterisk-bugs mailing list