summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-06-09 18:48:04 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-06-09 18:48:04 -0500
commit7e2dbcd7710d754d8ca4ab69a21e7bb38981d8ac (patch)
treef2cfe1a590276a418fabc0a31136cf24ac9f75f7 /include
parent54be8fd14988151d0c504d9127a4231da93d5ed8 (diff)
parent16b08444dae47eded183f63300908b49cf6b2c1a (diff)
Merge "pjsip_distributor.c: Consistently pick a serializer for messages." into 13
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/res_pjsip.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index b64ad624b..e3eab7cb4 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -1336,6 +1336,17 @@ struct ast_taskprocessor *ast_sip_create_serializer_group(struct ast_serializer_
struct ast_taskprocessor *ast_sip_create_serializer_group_named(const char *name, struct ast_serializer_shutdown_group *shutdown_group);
/*!
+ * \brief Determine the distributor serializer for the SIP message.
+ * \since 13.10.0
+ *
+ * \param rdata The incoming message.
+ *
+ * \retval Calculated distributor serializer on success.
+ * \retval NULL on error.
+ */
+struct ast_taskprocessor *ast_sip_get_distributor_serializer(pjsip_rx_data *rdata);
+
+/*!
* \brief Set a serializer on a SIP dialog so requests and responses are automatically serialized
*
* Passing a NULL serializer is a way to remove a serializer from a dialog.