diff options
author | Joshua Colp <jcolp@digium.com> | 2015-05-22 10:40:54 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-05-22 10:40:54 -0500 |
commit | 5aa1c30b3139bf146c06397b0e74b9a450d1e313 (patch) | |
tree | 8a98b5512580fd4a50dde573cca2bcd5e5104fcc /include | |
parent | 242306ade31d037b35e613b925b69b23cb015b87 (diff) | |
parent | 29ef6571cb5628aa4843e1d96916c0510aeb528f (diff) |
Merge "res_pjsip: Refactor endpt_send_transaction (qualify_timeout)"
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/res_pjsip.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h index 67c9c4b16..4023014dc 100644 --- a/include/asterisk/res_pjsip.h +++ b/include/asterisk/res_pjsip.h @@ -1294,6 +1294,13 @@ int ast_sip_send_request(pjsip_tx_data *tdata, struct pjsip_dialog *dlg, * * \retval 0 Success * \retval -1 Failure (out-of-dialog callback will not be called.) + * + * \note Timeout processing: + * There are 2 timers associated with this request, PJSIP timer_b which is + * set globally in the "system" section of pjsip.conf, and the timeout specified + * on this call. The timer that expires first (before normal completion) will + * cause the callback to be run with e->body.tsx_state.type = PJSIP_EVENT_TIMER. + * The timer that expires second is simply ignored and the callback is not run again. */ int ast_sip_send_out_of_dialog_request(pjsip_tx_data *tdata, struct ast_sip_endpoint *endpoint, int timeout, void *token, |