Changeset 1477 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Oct 5, 2007 9:12:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r1471 r1477 546 546 547 547 /** 548 * This is a general notification callback which is called whenever 549 * a transaction within the call has changed state. Application can 550 * implement this callback for example to monitor the state of 551 * outgoing requests, or to answer unhandled incoming requests 552 * (such as INFO) with a final response. 553 * 554 * @param call_id Call identification. 555 * @param tsx The transaction which has changed state. 556 * @param e Transaction event that caused the state change. 557 */ 558 void (*on_call_tsx_state)(pjsua_call_id call_id, 559 pjsip_transaction *tsx, 560 pjsip_event *e); 561 562 /** 548 563 * Notify application when media state in the call has changed. 549 564 * Normal application would need to implement this callback, e.g. … … 2906 2921 pj_bool_t is_typing, 2907 2922 const pjsua_msg_data*msg_data); 2923 2924 /** 2925 * Send arbitrary request with the call. This is useful for example to send 2926 * INFO request. Note that application should not use this function to send 2927 * requests which would change the invite session's state, such as re-INVITE, 2928 * UPDATE, PRACK, and BYE. 2929 * 2930 * @param call_id Call identification. 2931 * @param method SIP method of the request. 2932 * @param msg_data Optional message body and/or list of headers to be 2933 * included in outgoing request. 2934 * 2935 * @return PJ_SUCCESS on success, or the appropriate error code. 2936 */ 2937 PJ_DECL(pj_status_t) pjsua_call_send_request(pjsua_call_id call_id, 2938 const pj_str_t *method, 2939 const pjsua_msg_data *msg_data); 2940 2908 2941 2909 2942 /**
Note: See TracChangeset
for help on using the changeset viewer.