Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45f546604e | ||
|
|
c33d13a271 |
@@ -1187,7 +1187,7 @@ class ConfigGenerator
|
|||||||
$tSlug = $tObj ? $this->slugify($tObj['name']) : $this->slugify($tKey);
|
$tSlug = $tObj ? $this->slugify($tObj['name']) : $this->slugify($tKey);
|
||||||
$tFallbackCid = $tObj ? trim((string)($tObj['outbound_callerid'] ?? '')) : '';
|
$tFallbackCid = $tObj ? trim((string)($tObj['outbound_callerid'] ?? '')) : '';
|
||||||
|
|
||||||
if ($rCid === '' && $tFallbackCid !== '' && $overrideCid) {
|
if ($rCid === '' && $tFallbackCid !== '') {
|
||||||
foreach ($this->buildCallerIdDialplan($tFallbackCid) as $cidStmt) {
|
foreach ($this->buildCallerIdDialplan($tFallbackCid) as $cidStmt) {
|
||||||
$sub[] = $cidStmt;
|
$sub[] = $cidStmt;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user