MT#55283 fix stop_forwarding monologue mixup

Change-Id: I356a308d35eb2cd3fc2d26ff49103dbb228a3c41
(cherry picked from commit 5a5342fea7)
(cherry picked from commit c68bb1c7c1)
mr26.0.1
Richard Fuchs 2 days ago
parent 66433dcfdb
commit 47e89590ca

@ -3596,10 +3596,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