[asterisk-users] pjsip rtp_ipv6=yes but endpoint registered via ipv4 (IP4 contact infor)

Joshua Colp jcolp at digium.com
Tue Jan 9 07:52:34 CST 2018


On Tue, Jan 9, 2018, at 9:48 AM, Benoit Panizzon wrote:
> Dear List
> 
> I fear I stumbled over a bug in asterisk 13.14.1.
> 
> My 'phones' are roaming around, sometimes some are connecting from ipv6
> enabled networks, another time they are not.
> 
> If a connection is ipv6 I would prefer to use ipv6 to avoid ipv4-nat
> problems.
> 
> I have not specified a transport in the endpoint section, so that the
> appropriate transport which corresponds to the registration can be used.
> 
> Now I have noticed, if an phone is registered from an ipv4 only
> endpoint and is performing an outgoing call, my asterisk server is
> answering with an IP4 RTP IPv6 address:

The rtp_ipv6 option is not needed, in current versions things will automatically be updated to reflect the signaling. Remove it and give it a try. The option itself actually had the bug that you are seeing.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list