summaryrefslogtreecommitdiff
path: root/res/res_pjsip/include
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-09-19 11:13:21 +0000
committerJoshua Colp <jcolp@digium.com>2016-10-23 13:53:55 +0000
commit403c4f58338e226c066956865218eeec64d71ed1 (patch)
treeb29bea4bbff01f80ff9eb3194f5ec08a19526f54 /res/res_pjsip/include
parente03364c40aa073b69ca8c6652fd17a91908b9aaf (diff)
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
Diffstat (limited to 'res/res_pjsip/include')
-rw-r--r--res/res_pjsip/include/res_pjsip_private.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/res_pjsip/include/res_pjsip_private.h b/res/res_pjsip/include/res_pjsip_private.h
index b175b5e11..0bdb63325 100644
--- a/res/res_pjsip/include/res_pjsip_private.h
+++ b/res/res_pjsip/include/res_pjsip_private.h
@@ -184,6 +184,14 @@ void ast_sip_destroy_global_headers(void);
int ast_res_pjsip_init_options_handling(int reload);
/*!
+ * \internal Initialize message IP updating handling.
+ *
+ * \retval 0 on success
+ * \retval other on failure
+ */
+int ast_res_pjsip_init_message_ip_updater(void);
+
+/*!
* \internal
* \brief Initialize transport storage for contacts.
*
@@ -236,6 +244,12 @@ void ast_res_pjsip_cleanup_options_handling(void);
/*!
* \internal
+ * \brief Clean up res_pjsip message ip updating handling
+ */
+void ast_res_pjsip_cleanup_message_ip_updater(void);
+
+/*!
+ * \internal
* \brief Get threadpool options
*/
void sip_get_threadpool_options(struct ast_threadpool_options *threadpool_options);