pjsip: Support dual stack automatically.

This change adds support for dual stack automatically. No
configuration is required and the IP address and version
in the SIP messages and SDP will be automatically changed
based on the transport over which the message is being
sent. RTP usage has also been changed to listen on both
IPv4 and IPv6 simultaneously to allow media to flow, and
to allow ICE support on both simultaneously. This also
allows failover between IPv6 and IPv4 to work as expected.

ASTERISK-26309 #close

Change-Id: I235a421d8f9a326606d861b449fa6fe3a030572d
This commit is contained in:
Joshua Colp
2016-09-19 11:13:21 +00:00
parent c2036c827c
commit bb982480d8
9 changed files with 194 additions and 82 deletions

13
CHANGES
View File

@@ -8,6 +8,19 @@
===
==============================================================================
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 13.12.0 to Asterisk 13.13.0 ----------
------------------------------------------------------------------------------
res_pjsip
------------------
* Automatic dual stack support is now implemented. Depending on DNS resolution
and the transport used for sending a message the SIP signaling and SDP will
be updated with the correct IP address and protocol version. This means that
the rtp_ipv6 and t38_udptl_ipv6 options no longer have any effect. The
res_pjsip_multihomed module has also been moved into core res_pjsip to ensure
that messages are updated with the correct address information in all cases.
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 13.11.0 to Asterisk 13.12.0 ----------
------------------------------------------------------------------------------