Changeset 5096 for pjproject/trunk
- Timestamp:
- May 15, 2015 7:19:28 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r5094 r5096 1481 1481 * a response message and terminate the invite here. 1482 1482 */ 1483 pjsip_dlg_inc_lock(dlg); 1483 1484 pjsip_dlg_respond(dlg, rdata, sip_err_code, NULL, NULL, NULL); 1484 1485 if (call->inv && call->inv->dlg) { 1485 1486 pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE); 1486 1487 } 1488 pjsip_dlg_dec_lock(dlg); 1489 1487 1490 call->inv = NULL; 1488 1491 call->async_call.dlg = NULL; … … 1491 1494 } else if (status != PJ_EPENDING) { 1492 1495 pjsua_perror(THIS_FILE, "Error initializing media channel", status); 1496 1497 pjsip_dlg_inc_lock(dlg); 1493 1498 pjsip_dlg_respond(dlg, rdata, sip_err_code, NULL, NULL, NULL); 1494 1499 if (call->inv && call->inv->dlg) { 1495 1500 pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE); 1496 1501 } 1502 pjsip_dlg_dec_lock(dlg); 1503 1497 1504 call->inv = NULL; 1498 1505 call->async_call.dlg = NULL;
Note: See TracChangeset
for help on using the changeset viewer.