diff options
author | Mark Michelson <mmichelson@digium.com> | 2014-11-14 14:40:17 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2014-11-14 14:40:17 +0000 |
commit | 2454505d5a1d8e8d44a1ba7a5bcdd260ad4720c0 (patch) | |
tree | c92afa2796b9a1579b931f3b934540a6605bd682 /include/asterisk/res_pjsip.h | |
parent | 49b7a1cbafdc3dc439277701c50c9d85fb48a595 (diff) |
Fix race condition where duplicated requests may be handled by multiple threads.
This is the Asterisk 13 version of the patch. The main difference is in the pubsub
code since it was completely refactored between Asterisk 12 and 13.
Review: https://reviewboard.asterisk.org/r/4175
........
Merged revisions 427841 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/res_pjsip.h')
-rw-r--r-- | include/asterisk/res_pjsip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h index 1c21c1ee4..0c8d3038a 100644 --- a/include/asterisk/res_pjsip.h +++ b/include/asterisk/res_pjsip.h @@ -1227,8 +1227,9 @@ pjsip_dialog *ast_sip_create_dialog_uac(const struct ast_sip_endpoint *endpoint, * * \param endpoint A pointer to the endpoint * \param rdata The request that is starting the dialog + * \param[out] status On failure, the reason for failure in creating the dialog */ -pjsip_dialog *ast_sip_create_dialog_uas(const struct ast_sip_endpoint *endpoint, pjsip_rx_data *rdata); +pjsip_dialog *ast_sip_create_dialog_uas(const struct ast_sip_endpoint *endpoint, pjsip_rx_data *rdata, pj_status_t *status); /*! * \brief General purpose method for creating an rdata structure using specific information |