Fix: Stop incrementing MWI Account when adding extensions (#7950)

- MWI Account is empty by default.
- When adding multiple extensions with the range, the MWI Account should be the same on all of them.
This commit is contained in:
Alex
2026-05-04 16:57:34 +00:00
committed by GitHub
parent f2df94cf93
commit 494664f598
-7
View File
@@ -834,13 +834,6 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) {
$number_alias++;
$voicemail_id = $number_alias;
}
if (!empty($mwi_account)) {
$mwi_account_array = explode('@', $mwi_account);
$mwi_account_array[0]++;
$mwi_account = implode('@', $mwi_account_array);
unset($mwi_account_array);
}
}
}