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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 15 14:03:01 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
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:                     acknowledged
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-12-15 14:03 CST
====================================================================== 
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);

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

---------------------------------------------------------------------- 
 (0096410) file (administrator) - 2008-12-15 14:03
 http://bugs.digium.com/view.php?id=13634#c96410 
---------------------------------------------------------------------- 
Can you please attach your configuration that causes this minus passwords?
Thanks. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-15 14:03 file           Note Added: 0096410                          
======================================================================




More information about the asterisk-bugs mailing list