From e5290641d50566a9aff8eae9bec8d585f79077de Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 25 Feb 2006 02:04:42 +0000 Subject: Synched with documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@228 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsip-simple/evsub.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'pjsip/include/pjsip-simple') diff --git a/pjsip/include/pjsip-simple/evsub.h b/pjsip/include/pjsip-simple/evsub.h index 1977ee44..ba1dd0a6 100644 --- a/pjsip/include/pjsip-simple/evsub.h +++ b/pjsip/include/pjsip-simple/evsub.h @@ -173,9 +173,9 @@ struct pjsip_evsub_user * This callback is called when it is time for the client to refresh * the subscription. * - * This callback is OPTIONAL. When it is not implemented, the default - * behavior is to refresh subscription by sending SUBSCRIBE with the - * interval set to current/last interval. + * This callback is OPTIONAL when PJSIP package such as presence or + * refer is used; the event package will refresh subscription by sending + * SUBSCRIBE with the interval set to current/last interval. * * @param sub The subscription instance. */ @@ -185,8 +185,9 @@ struct pjsip_evsub_user * This callback is called when server doesn't receive subscription * refresh after the specified subscription interval. * - * This callback is OPTIONAL. When it is not implemented, the default - * behavior is to send NOTIFY to terminate the subscription. + * This callback is OPTIONAL when PJSIP package such as presence or + * refer is used; the event package send NOTIFY to terminate the + * subscription. */ void (*on_server_timeout)(pjsip_evsub *sub); @@ -399,7 +400,8 @@ PJ_DECL(pj_status_t) pjsip_evsub_send_request( pjsip_evsub *sub, /** - * Get the event subscription instance in the transaction. + * Get the event subscription instance associated with the specified + * transaction. * * @param tsx The transaction. * -- cgit v1.2.3