[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:31:39 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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:31 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

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

---------------------------------------------------------------------- 
 (0125811) svnbot (reporter) - 2010-08-11 08:31
 https://issues.asterisk.org/view.php?id=17757#c125811 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 281688

_U  trunk/
U   trunk/channels/sip/config_parser.c
U   trunk/configs/sip.conf.sample
U   trunk/include/asterisk/netsock2.h
U   trunk/main/netsock2.c

------------------------------------------------------------------------
r281688 | simon.perreault | 2010-08-11 08:31:38 -0500 (Wed, 11 Aug 2010) |
16 lines

Merged revisions 281687 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r281687 | simon.perreault | 2010-08-11 09:30:59 -0400 (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=281688 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-11 08:31 svnbot         Checkin                                      
2010-08-11 08:31 svnbot         Note Added: 0125811                          
======================================================================




More information about the asterisk-bugs mailing list