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:51:42 +0000
commitbb982480d815fb0d5059fbfa86682cd30846556c (patch)
tree00214eca5494c3383caf89797fd6e98733d1307d /res/res_pjsip/include
parentc2036c827cb22e2fbf509d4318b6f177d516c033 (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 04cd85408..11ad12c45 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.
*
@@ -248,6 +256,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);