[asterisk-bugs] [Asterisk 0013634]: Asterisk fills "via" header not correctly.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 7 00:42:51 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13634 
====================================================================== 
Reported By:                performer
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13634
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-07 00:42 CDT
Last Modified:              2008-10-07 00:42 CDT
====================================================================== 
Summary:                    Asterisk fills "via" header not correctly.
Description: 
Some provider couldn't send responses to Asterisk because information in
"via" header has port "0".

My solution:
diff chan_sip.c.bak chan_sip.c
2628c2628
<                       ntohs(p->ourip.sin_port), p->branch, rport);
---
>                       ntohs(p->socket.port), p->branch, rport);

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-07 00:42 performer      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list