v1.5.1: Sauvegarde/restauration intégrale AstDB et synchronisation SIP immédiate des téléphones (check-sync)
This commit is contained in:
1 parent
accec47d08
commit
65a62ca0e4
6 files changed
+89
-5
No files matched your search
@@ -178,6 +178,17 @@ class ConfigGenerator
|
||||
$lines[] = "allow_reload = no";
|
||||
$lines[] = "";
|
||||
|
||||
$lines[] = "; --- CONFIGURATION GLOBALE & POINT DE SORTIE PAR DÉFAUT (NOTIFY / RESYNC) ---";
|
||||
$lines[] = "[global]";
|
||||
$lines[] = "type = global";
|
||||
$lines[] = "default_outbound_endpoint = default_outbound_endpoint";
|
||||
$lines[] = "";
|
||||
$lines[] = "[default_outbound_endpoint]";
|
||||
$lines[] = "type = endpoint";
|
||||
$lines[] = "context = from-internal";
|
||||
$lines[] = "transport = transport-udp";
|
||||
$lines[] = "";
|
||||
|
||||
// 3. Extensions (Postes téléphoniques hybrides UDP vs TLS+SRTP)
|
||||
$lines[] = "; ===========================================================================";
|
||||
$lines[] = "; POSTES TÉLÉPHONIQUES (EXTENSIONS)";
|
||||
@@ -256,6 +267,9 @@ class ConfigGenerator
|
||||
$lines[] = "type = aor";
|
||||
$lines[] = "max_contacts = {$maxContacts}";
|
||||
$lines[] = "remove_existing = yes";
|
||||
$lines[] = "default_expiration = 120";
|
||||
$lines[] = "maximum_expiration = 300";
|
||||
$lines[] = "minimum_expiration = 60";
|
||||
$lines[] = "qualify_frequency = 30";
|
||||
if ($hasVm) {
|
||||
$lines[] = "mailboxes = {$num}@default";
|
||||
|
||||
Reference in new issue
Block a user