Still receive IPv6 adresses in INVITE

Hi

I’ve tryed to disable IPV6 on my Asterisk (with binaddr in my conf files), but I still receive ipv6 adresses in the Via field of the INVITE
does it mean IPV6 is still enabled on my Asterisk ?

or is it only an endpoint concern ?

INVITE sip:03900@mydomain.com:7036 SIP/2.0
Via: SIP/2.0/UDP [2a01:cb1e:7a:e476:4912:d5eb:c607:28c8]:32863;branch=z9hG4bK-524287-1—58600944835b2c66;rport
Max-Forwards: 70
Contact: sip:00030200@[2a01:cb1e:7a:e476:4912:d5eb:c607:28c8]:32863
To: sip:03900@mydomain.com:7036
From: sip:00030200@mydomain.com:7036;tag=1eccee06
Call-ID: To3AaoXpKrc5VNYzF0NEZQ…
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, SUBSCRIBE, UPDATE, INFO, MESSAGE
Content-Type: application/sdp
Supported: path, replaces, timer, norefersub
User-Agent: sessioncloud
Content-Length: 518

That’s a SessionCloud issue, not an Asterisk one. The V6 address in the Contact header could be a problem, if Asterisk is prevented from using V6 addresse. The rport on the Via means it will be ignored, in favour of the actual source address.

There may also be problems for media, but you have removed that part.

Hi David
Thanks for the reply
support people don’t seem to be able to do anything to help me…
is there a way that asterisk could convert itself ipv6 to ipv4 ?

Not for that address, as it isn’t in the IPV4 compatibility range, so there is no way of getting an IPV4 address from it.

Force rport and symmetric media may cause Asterisk to use the actual IP level source address, and ignore the addresses in the request.