diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-02-10 14:24:48 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-02-10 14:24:48 +0000 |
commit | eed32ea7a9329e785509eaf56251a9b44d21df5c (patch) | |
tree | ff66dc29351ae8143a41832029d47332fcad8177 /pjsip/include/pjsua-lib/pjsua_internal.h | |
parent | 8d94472903d973b0edc957a0fb31f272c2225846 (diff) |
Ticket #995: Send un-PUBLISH when pjsua_acc_set_registration(FALSE) is called (thanks Johan Lantz for the suggestion)
- in this implementation, when pjsua_acc_set_registration(FALSE) is called, the un-REGISTER request will be sent immediately after un-PUBLISH, unlike the process during shutdown where the un-REGISTER request will be sent only after un-PUBLISH transaction is complete
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3096 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index c90da124..caba46aa 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -444,6 +444,11 @@ pj_status_t pjsua_pres_init_acc(int acc_id); pj_status_t pjsua_pres_init_publish_acc(int acc_id); /** + * Send un-PUBLISH + */ +void pjsua_pres_unpublish(pjsua_acc *acc); + +/** * Terminate server subscription for the account */ void pjsua_pres_delete_acc(int acc_id); |