Merge "pjsip_distributor.c: Consistently pick a serializer for messages." into 13

This commit is contained in:
zuul
2016-06-09 18:48:04 -05:00
committed by Gerrit Code Review
2 changed files with 166 additions and 5 deletions

View File

@@ -1335,6 +1335,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
*