MT#55283 fix stop_forwarding monologue mixup

Change-Id: I356a308d35eb2cd3fc2d26ff49103dbb228a3c41
(cherry picked from commit 5a5342fea7)
(cherry picked from commit 508618ae8c)
mr13.5.1
Richard Fuchs 2 days ago
parent a0d39497fb
commit 51aca5553e

@ -3497,10 +3497,8 @@ const char *call_stop_forwarding_ng(ng_command_ctx_t *ctx) {
ilog(LOG_INFO, "Stop forwarding (entire call)");
CALL_CLEAR(call, REC_FORWARDING);
if (flags.all == ALL_ALL) {
for (__auto_type l = call->monologues.head; l; l = l->next) {
monologue = l->data;
ML_CLEAR(monologue, REC_FORWARDING);
}
for (__auto_type l = call->monologues.head; l; l = l->next)
ML_CLEAR(l->data, REC_FORWARDING);
}
}

Loading…
Cancel
Save