Changeset 863 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Dec 26, 2006 12:11:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r861 r863 287 287 * Application may then query the call info to get the 288 288 * detail call states. 289 * 290 * @param call_id The call index. 291 * @param e Event which causes the call state to change. 289 292 */ 290 293 void (*on_call_state)(pjsua_call_id call_id, pjsip_event *e); … … 292 295 /** 293 296 * Notify application on incoming call. 297 * 298 * @param acc_id The account which match the incoming call. 299 * @param call_id The call id that has just been created for 300 * the call. 301 * @param rdata The incoming INVITE request. 294 302 */ 295 303 void (*on_incoming_call)(pjsua_acc_id acc_id, pjsua_call_id call_id, … … 300 308 * Normal application would need to implement this callback, e.g. 301 309 * to connect the call's media to sound device. 310 * 311 * @param call_id The call index. 302 312 */ 303 313 void (*on_call_media_state)(pjsua_call_id call_id); 314 315 /** 316 * Notify application upon incoming DTMF digits. 317 * 318 * @param call_id The call index. 319 * @param digit DTMF ASCII digit. 320 */ 321 void (*on_dtmf_digit)(pjsua_call_id call_id, int digit); 304 322 305 323 /** … … 309 327 * is not defined, the default behavior is to accept the 310 328 * transfer. 329 * 330 * @param call_id The call index. 331 * @param dst The destination where the call will be 332 * transfered to. 333 * @param code Status code to be returned for the call transfer 334 * request. On input, it contains status code 200. 311 335 */ 312 336 void (*on_call_transfer_request)(pjsua_call_id call_id, … … 373 397 * Application may then query the account info to get the 374 398 * registration details. 399 * 400 * @param acc_id Account ID. 375 401 */ 376 402 void (*on_reg_state)(pjsua_acc_id acc_id); … … 379 405 * Notify application when the buddy state has changed. 380 406 * Application may then query the buddy into to get the details. 407 * 408 * @param buddy_id The buddy id. 381 409 */ 382 410 void (*on_buddy_state)(pjsua_buddy_id buddy_id); … … 386 414 * Argument call_id will be -1 if MESSAGE request is not related to an 387 415 * existing call. 416 * 417 * @param call_id Containts the ID of the call where the IM was 418 * sent, or PJSUA_INVALID_ID if the IM was sent 419 * outside call context. 420 * @param from URI of the sender. 421 * @param to URI of the destination message. 422 * @param contact The Contact URI of the sender, if present. 423 * @param mime_type MIME type of the message. 424 * @param body The message content. 388 425 */ 389 426 void (*on_pager)(pjsua_call_id call_id, const pj_str_t *from, … … 414 451 /** 415 452 * Notify application about typing indication. 453 * 454 * @param call_id Containts the ID of the call where the IM was 455 * sent, or PJSUA_INVALID_ID if the IM was sent 456 * outside call context. 457 * @param from URI of the sender. 458 * @param to URI of the destination message. 459 * @param contact The Contact URI of the sender, if present. 460 * @param is_typing Non-zero if peer is typing, or zero if peer 461 * has stopped typing a message. 416 462 */ 417 463 void (*on_typing)(pjsua_call_id call_id, const pj_str_t *from,
Note: See TracChangeset
for help on using the changeset viewer.