Ignore pending audio frames when there is no transaction (anymore).

This commit is contained in:
Andreas Eversberg
2020-06-28 17:49:50 +02:00
parent 2a435abb43
commit 3764f76efb

3
src/libmobile/call.c Normal file → Executable file
View File

@@ -631,7 +631,8 @@ void mncc_down(uint8_t *buf, int length)
if (mncc->msg_type == MNCC_SETUP_REQ) if (mncc->msg_type == MNCC_SETUP_REQ)
process = create_process(callref, PROCESS_SETUP_RT); process = create_process(callref, PROCESS_SETUP_RT);
else { else {
if (mncc->msg_type != MNCC_REL_REQ) /* release collisions and audio packet are not forbidden */
if (mncc->msg_type != MNCC_REL_REQ && mncc->msg_type != ANALOG_8000HZ)
PDEBUG(DCALL, DEBUG_ERROR, "No process!\n"); PDEBUG(DCALL, DEBUG_ERROR, "No process!\n");
return; return;
} }