[asterisk-bugs] [JIRA] (ASTERISK-18032) [patch] - IPv6 and IPv4 NAT not working

Michael L. Young (JIRA) noreply at issues.asterisk.org
Mon Mar 30 13:23:33 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-18032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225710#comment-225710 ] 

Michael L. Young commented on ASTERISK-18032:
---------------------------------------------

Valentin,

Can you confirm that this is still occurring on 11?  I know we no longer support 1.8, but I am curious which version of 1.8 this is happening on?  This issue is very outdated (last comment was in 2011) and there were NAT cleanups that went into newer versions of 1.8 (in 2013) which also made their way into 11.

Can you update the issue with your latest debugging logs and sip traces?  I am having a hard time figuring out if the patch you attached is the correct solution or not.  This is my first time seeing this issue and I have been running an environment with IPV4 and IPV6 mixed with IPv4 clients behind NAT without any issues for quite some time and I would be curious to test things out properly.

Am I correct in understanding this has to do with NAT-PT being used somewhere?  Is the Asterisk box in an IPv6 only environment?  Or is it in an IPv4 environment?  Is Asterisk behind NAT or is it public facing?  Perhaps a description of the network setup and where Asterisk comes in to the picture would be helpful.

Thanks

> [patch] - IPv6 and IPv4 NAT not working
> ---------------------------------------
>
>                 Key: ASTERISK-18032
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18032
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/IPv6
>    Affects Versions: 1.8.3
>         Environment: AsteriskNOW 1.7.1
> CentOS 5.6
> Asterisk 1.8.3.3
> FreePBX 2.9
>            Reporter: Christoph Timm
>         Attachments: call_from_extern_not_working.cap, call_from_intern_working.cap, full.zip, nat_with_ipv6.diff, sip_general_additional.conf
>
>
> Hi All,
> I tried to play a little bit with IPv6 to test our VoIP quality software with IPv6 RTP streams.
> I add "bindaddr=::" to the general section of the sip.conf and netstat shows that Asterisk is listing also on IPv6.
> My Asterisk server is behind a IPv4 NAT and was working absolutely perfect.
> But after my bindaddr change I got a problem with external calls.
> I spend some time to investigate this issue and found out the outbound calls are working. The externaddr is used in the SIP INVITE.
> If I received a inbound call the externaddr isn't used any more in SDP part of the answer from the Asterisk. The result is one way audio. In addition I saw the following message in the Asterisk log:
>     [May 25 19:18:18] WARNING[3674] chan_sip.c: Address remapping activated in sip.conf but we're using IPv6, which doesn't need it. Please remove "localnet" and/or "externaddr" settings.
> I think that is a bug because the externaddr is used correct during the outbound calls.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list