[asterisk-bugs] [Asterisk 0017757]: [patch] Outbound proxy set to IPv6 address in square brackets doesn't work

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 11 08:30:59 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17757 
====================================================================== 
Reported By:                oej
Assigned To:                sperreault
====================================================================== 
Project:                    Asterisk
Issue ID:                   17757
Category:                   Channels/chan_sip/IPv6
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.8.0-beta2 
JIRA:                       SWP-1981 
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:             2010-07-29 16:05 CDT
Last Modified:              2010-08-11 08:30 CDT
====================================================================== 
Summary:                    [patch] Outbound proxy set to IPv6 address in square
brackets doesn't work
Description: 
I set the outboundproxy to an IPv6 address in brackets, guessing
Example:

outboundproxy=[2011:470:1f14:d79::2]

The result is

Retransmitting https://issues.asterisk.org/view.php?id=3 (no NAT) to (null):

Which should not happen, even if it's an unresolvable address

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

---------------------------------------------------------------------- 
 (0125810) svnbot (reporter) - 2010-08-11 08:30
 https://issues.asterisk.org/view.php?id=17757#c125810 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 281687

U   branches/1.8/channels/sip/config_parser.c
U   branches/1.8/configs/sip.conf.sample
U   branches/1.8/include/asterisk/netsock2.h
U   branches/1.8/main/netsock2.c

------------------------------------------------------------------------
r281687 | simon.perreault | 2010-08-11 08:30:57 -0500 (Wed, 11 Aug 2010) |
9 lines

Fix parsing of IPv6 address literals in outboundproxy

(closes issue https://issues.asterisk.org/view.php?id=17757)
Reported by: oej
Patches:
      17757.diff uploaded by sperreault (license 252)
      sip.conf.diff uploaded by sperreault (license 252)
Tested by: oej

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-11 08:30 svnbot         Checkin                                      
2010-08-11 08:30 svnbot         Note Added: 0125810                          
2010-08-11 08:30 svnbot         Status                   acknowledged =>
resolved
2010-08-11 08:30 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list