diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-09 09:30:09 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-09 09:30:09 +0000 |
commit | 8b393ca1ada4b881c95a947e65c4bc17b5a998c0 (patch) | |
tree | 43ae16b41907f1e0509aaf17082b6a9426d4fcfb /pjsip/src/pjsua/pjsua.h | |
parent | 5a80ef93b88daf113b1bfb805041342c6be5b6ab (diff) |
Setting svn:eol-style attribute
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@167 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua/pjsua.h')
-rw-r--r-- | pjsip/src/pjsua/pjsua.h | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/pjsip/src/pjsua/pjsua.h b/pjsip/src/pjsua/pjsua.h index 37740c3a..810c57b5 100644 --- a/pjsip/src/pjsua/pjsua.h +++ b/pjsip/src/pjsua/pjsua.h @@ -128,7 +128,7 @@ struct pjsua_inv_data /***************************************************************************** - * PJSUA API. + * PJSUA API (defined in pjsua_core.c). */ /** @@ -171,6 +171,10 @@ pj_status_t pjsua_start(void); pj_status_t pjsua_destroy(void); +/***************************************************************************** + * PJSUA Invite session API (defined in pjsua_inv.c). + */ + /** * Make outgoing call. */ @@ -178,8 +182,35 @@ pj_status_t pjsua_invite(const char *cstr_dest_uri, pjsip_inv_session **p_inv); +/** + * Handle incoming invite request. + */ +pj_bool_t pjsua_inv_on_incoming(pjsip_rx_data *rdata); + + +/** + * Callback to be called by session when invite session's state has changed. + */ +void pjsua_inv_on_state_changed(pjsip_inv_session *inv, pjsip_event *e); + + +/** + * Callback to be called by session when outgoing dialog has forked. + * This function will create a forked dialog. + */ +void pjsua_inv_on_new_session(pjsip_inv_session *inv, pjsip_event *e); + + +/** + * Callback to be called when SDP offer/answer negotiation has just completed + * in the session. This function will start/update media if negotiation + * has succeeded. + */ +void pjsua_inv_on_media_update(pjsip_inv_session *inv, pj_status_t status); + + /***************************************************************************** - * PJSUA Client Registration API. + * PJSUA Client Registration API (defined in pjsua_reg.c). */ /** @@ -198,6 +229,7 @@ void pjsua_regc_update(pj_bool_t renew); /***************************************************************************** * User Interface API. + * * The UI API specifies functions that will be called by pjsua upon * occurence of various events. */ |