diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-02-05 18:59:31 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-02-05 18:59:31 +0000 |
commit | 1ae33feae9a3f0af400b09dcfdf32a80fe97542c (patch) | |
tree | 0ea3df1ead2d7a81b655338a010e6b85ea42754a /pjsip/include | |
parent | 7a7a50ebbab0f58b354489e4f7cbedb73fabaa31 (diff) |
Fixed ticket #89: implement transaction timeout in REGISTER request (thanks Frank Wiersma for reporting the problem)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@932 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsip/sip_util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjsip/include/pjsip/sip_util.h b/pjsip/include/pjsip/sip_util.h index 8a030fd6..4ae1a5f3 100644 --- a/pjsip/include/pjsip/sip_util.h +++ b/pjsip/include/pjsip/sip_util.h @@ -426,6 +426,7 @@ PJ_DECL(pj_status_t) pjsip_endpt_respond( pjsip_endpoint *endpt, * @param tdata The transmit data to be sent. * @param timeout Optional timeout for final response to be received, or -1 * if the transaction should not have a timeout restriction. + * The value is in miliseconds. * @param token Optional token to be associated with the transaction, and * to be passed to the callback. * @param cb Optional callback to be called when the transaction has @@ -437,7 +438,7 @@ PJ_DECL(pj_status_t) pjsip_endpt_respond( pjsip_endpoint *endpt, */ PJ_DECL(pj_status_t) pjsip_endpt_send_request( pjsip_endpoint *endpt, pjsip_tx_data *tdata, - int timeout, + pj_int32_t timeout, void *token, void (*cb)(void*,pjsip_event*)); |