chore(ui): replace specific examples with generic placeholders and generalize phone and gateway brands

This commit is contained in:
sorcier committed 2026-11-04 00:40:24 +01:00
1 parent b3c98834c8
commit a308f5d0ed
5 files changed
+50 -50

No files matched your search

+1 -1
View File
@@ -327,7 +327,7 @@ class ConfigGenerator
$lines[] = "transport = {$transport}";
if ($regMode === 'receive') {
// Passerelle locale (ex: Grandstream HT813, Livebox, ATA) s'enregistrant sur Asterisk
// Passerelle locale (ex: Grandstream HT813, Cisco SPA, ATA, Ligne Box) s'enregistrant sur Asterisk
$lines[] = "auth = {$authName}";
$lines[] = "outbound_auth = {$authName}";
$lines[] = "aors = {$aorName}";
+2 -2
View File
@@ -601,7 +601,7 @@ class Database
$firstTrunkName = !empty($trunks) ? (string)$trunks[0]['name'] : 'ovh-telecom';
$firstTrunkCid = !empty($trunks) && trim((string)$trunks[0]['outbound_callerid']) !== ''
? trim((string)$trunks[0]['outbound_callerid'])
: 'Sytelis Consulting <0422560185>';
: 'Mon Entreprise <0123456789>';
$exts = $db->query('SELECT extension FROM extensions ORDER BY CAST(extension AS INTEGER) ASC')->fetchAll(PDO::FETCH_COLUMN);
$grps = $db->query('SELECT extension FROM groups ORDER BY CAST(extension AS INTEGER) ASC')->fetchAll(PDO::FETCH_COLUMN);
@@ -677,7 +677,7 @@ class Database
$stmt = $db->prepare('INSERT INTO extension_groups (name, description, color, members) VALUES (:n, :d, :c, :m)');
$stmt->execute([
':n' => 'Groupe Nice',
':d' => 'Extensions du site de Nice (Trunk local Livebox)',
':d' => 'Extensions du site secondaire (Trunk passerelle locale)',
':c' => 'emerald',
':m' => json_encode(['101', '102']),
]);