Configure a PJSIP endpoint to use RTP over IPv6
If the communication involves an endpoint (almost always) then the endpoint must be configured to allow RTP via ipv6There is no additional configuration required to have an endpoint use RTP over IPv6. IPv4 or IPv6 will be automatically chosen based on the address family of the address for signaling. That is: If an endpoint is using IPv4 it will be IPv4, if it is using IPv6 it will be IPv6.
[mytrunk] type=endpoint transport=transport-udp6 context=from-external disallow=all allow=ulaw rtp_ipv6=yes