Changeset 1363 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c
- Timestamp:
- Jun 11, 2007 6:22:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c
r1285 r1363 353 353 } 354 354 355 if (pjsua_var.ua_cfg.cb.on_pager_status) 355 if (pjsua_var.ua_cfg.cb.on_pager_status) { 356 356 pjsua_var.ua_cfg.cb.on_pager_status(im_data->call_id, 357 357 &im_data->to, … … 361 361 tsx->status_code, 362 362 &tsx->status_text); 363 } 364 365 if (pjsua_var.ua_cfg.cb.on_pager_status2) { 366 pjsip_rx_data *rdata; 367 368 if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) 369 rdata = e->body.tsx_state.src.rdata; 370 else 371 rdata = NULL; 372 373 pjsua_var.ua_cfg.cb.on_pager_status2(im_data->call_id, 374 &im_data->to, 375 &im_data->body, 376 im_data->user_data, 377 (pjsip_status_code) 378 tsx->status_code, 379 &tsx->status_text, 380 rdata); 381 } 363 382 } 364 383 }
Note: See TracChangeset
for help on using the changeset viewer.