- Timestamp:
- Dec 23, 2011 3:07:33 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r3918 r3919 713 713 call->async_call.dlg = dlg; 714 714 715 /* Temporarily increment dialog session. Without this, dialog will be 716 * prematurely destroyed if dec_lock() is called on the dialog before 717 * the invite session is created. 718 */ 719 pjsip_dlg_inc_session(dlg, &pjsua_var.mod); 720 715 721 /* Init media channel */ 716 722 status = pjsua_media_channel_init(call->index, PJSIP_ROLE_UAC, … … 724 730 } else if (status != PJ_EPENDING) { 725 731 pjsua_perror(THIS_FILE, "Error initializing media channel", status); 732 pjsip_dlg_dec_session(dlg, &pjsua_var.mod); 726 733 goto on_error; 727 734 } 728 729 /* Temporarily increment dialog session. Without this, dialog will be730 * prematurely destroyed if dec_lock() is called on the dialog before731 * the invite session is created.732 */733 pjsip_dlg_inc_session(dlg, &pjsua_var.mod);734 735 735 736 /* Done. */
Note: See TracChangeset
for help on using the changeset viewer.