[asterisk-bugs] [Asterisk 0014446]: [patch] chan_sip does not support the maddr attribute in Via headers

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 13 16:07:54 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14446 
====================================================================== 
Reported By:                frawd
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14446
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.4.28
Asterisk Version:           SVN 
JIRA:                       SWP-251 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-02-10 04:12 CST
Last Modified:              2009-11-13 16:07 CST
====================================================================== 
Summary:                    [patch] chan_sip does not support the maddr
attribute in Via headers
Description: 
I recently connected Asterisk with a badly configured Nortel CS2K, which
sends me the following Via header:

Via: SIP/2.0/UDP
CS2KSSTEMAG:5060;maddr=213.60.204.48;branch=z9hG4bK-142abd7-ec6f41f2-4aeebdaf

CS2KSSTEMAG not being a valid DNS entry, the reply is never sent (Asterisk
blocks trying to resolve the name). Even tho it is a configuration error,
maddr should be used as reply address.

The attached patch fixes the issue in 1.4.23.1
====================================================================== 

---------------------------------------------------------------------- 
 (0113818) svnbot (reporter) - 2009-11-13 16:07
 https://issues.asterisk.org/view.php?id=14446#c113818 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 230148

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r230148 | file | 2009-11-13 16:07:52 -0600 (Fri, 13 Nov 2009) | 22 lines

Merged revisions 230145 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230145 | file | 2009-11-13 16:00:44 -0600 (Fri, 13 Nov 2009) | 15 lines
  
  Merged revisions 230144 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230144 | file | 2009-11-13 16:00:19 -0600 (Fri, 13 Nov 2009) | 8
lines
    
    Respect the maddr parameter in the Via header.
    
    (closes issue https://issues.asterisk.org/view.php?id=14446)
    Reported by: frawd
    Patches:
          via_maddr.patch uploaded by frawd (license 610)
    Tested by: frawd
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=230148 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-13 16:07 svnbot         Checkin                                      
2009-11-13 16:07 svnbot         Note Added: 0113818                          
======================================================================




More information about the asterisk-bugs mailing list