]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip: Support dual stack automatically. 75/3975/6
authorJoshua Colp <jcolp@digium.com>
Mon, 19 Sep 2016 11:13:21 +0000 (11:13 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 23 Oct 2016 13:51:42 +0000 (13:51 +0000)
commitbb982480d815fb0d5059fbfa86682cd30846556c
tree00214eca5494c3383caf89797fd6e98733d1307d
parentc2036c827cb22e2fbf509d4318b6f177d516c033
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
CHANGES
configs/samples/pjsip.conf.sample
contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
res/res_pjsip.c
res/res_pjsip/include/res_pjsip_private.h
res/res_pjsip/pjsip_message_ip_updater.c [moved from res/res_pjsip_multihomed.c with 60% similarity]
res/res_pjsip_sdp_rtp.c
res/res_pjsip_t38.c
res/res_rtp_asterisk.c