Summary: | ASTERISK-16471: [patch] Outbound proxy set to IPv6 address in square brackets doesn't work | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2010-07-29 16:05:06 | Date Closed: | 2010-08-12 08:54:56 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/IPv6 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 17757.diff ( 1) sip.conf.diff | |
Description: | I set the outboundproxy to an IPv6 address in brackets, guessing Example: outboundproxy=[2011:470:1f14:d79::2] The result is Retransmitting #3 (no NAT) to (null): Which should not happen, even if it's an unresolvable address | ||
Comments: | By: Olle Johansson (oej) 2010-07-29 16:06:51 Without square brackets, it still doesn't work and the address in "sip show settings" is cut off. By: Simon Perreault (sperreault) 2010-08-03 12:18:24 I just uploaded a diff which should fix the problem. By: Leif Madsen (lmadsen) 2010-08-03 13:52:41 Assigning to sperreault for now. He'll let me know if this is not appropriate :) By: Olle Johansson (oej) 2010-08-09 04:13:02 sip.conf needs an update as well :-) By: Simon Perreault (sperreault) 2010-08-09 07:02:39 Does the sip.conf.diff file I just uploaded address this? Can you confirm that this bug is fixed by the uploaded patches? By: Olle Johansson (oej) 2010-08-11 08:28:19 The patch fixes the issue on my system. Thanks, Simon! By: Digium Subversion (svnbot) 2010-08-11 08:30:58 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 ASTERISK-16471) 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 By: Digium Subversion (svnbot) 2010-08-11 08:31:38 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 ASTERISK-16471) 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 |