fix(dialplan): trunk fallback callerid s applique systematiquement si la route n a pas de cid specifique

This commit is contained in:
sorcier committed 2026-11-05 12:45:06 +01:00
1 parent 587511bd67
commit c33d13a271
1 file changed
+1 -1
+1 -1
View File
@@ -1187,7 +1187,7 @@ class ConfigGenerator
$tSlug = $tObj ? $this->slugify($tObj['name']) : $this->slugify($tKey);
$tFallbackCid = $tObj ? trim((string)($tObj['outbound_callerid'] ?? '')) : '';
if ($rCid === '' && $tFallbackCid !== '' && $overrideCid) {
if ($rCid === '' && $tFallbackCid !== '') {
foreach ($this->buildCallerIdDialplan($tFallbackCid) as $cidStmt) {
$sub[] = $cidStmt;
}