MT#55283 fix stop_forwarding monologue mixup

Change-Id: I356a308d35eb2cd3fc2d26ff49103dbb228a3c41
(cherry picked from commit 5a5342fea7)
(cherry picked from commit a8406302ce)
mr26.2.1
Richard Fuchs 2 days ago
parent 340742baae
commit 283ea3a187

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