- Timestamp:
- Jun 5, 2014 5:04:42 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4843 r4856 1382 1382 */ 1383 1383 pjsip_dlg_respond(dlg, rdata, sip_err_code, NULL, NULL, NULL); 1384 pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE); 1384 if (call->inv && call->inv->dlg) { 1385 pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE); 1386 } 1385 1387 call->inv = NULL; 1386 1388 call->async_call.dlg = NULL; … … 1390 1392 pjsua_perror(THIS_FILE, "Error initializing media channel", status); 1391 1393 pjsip_dlg_respond(dlg, rdata, sip_err_code, NULL, NULL, NULL); 1392 pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE); 1394 if (call->inv && call->inv->dlg) { 1395 pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE); 1396 } 1393 1397 call->inv = NULL; 1394 1398 call->async_call.dlg = NULL;
Note: See TracChangeset
for help on using the changeset viewer.