Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3f22e8e0b | ||
|
|
40e36e0423 | ||
|
|
65a62ca0e4 | ||
|
|
accec47d08 |
No files matched your search
+1
-1
@@ -140,7 +140,7 @@ try {
|
||||
$installedVerData = file_exists("{$appDir}/version.json")
|
||||
? json_decode((string)file_get_contents("{$appDir}/version.json"), true)
|
||||
: [];
|
||||
$installedVer = $installedVerData['version'] ?? '1.4.9';
|
||||
$installedVer = $installedVerData['version'] ?? '1.5.0';
|
||||
|
||||
echo json_encode([
|
||||
'success' => true,
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ $companyLogo = trim($branding['company_logo'] ?? '');
|
||||
$hasBranding = !empty($companyName) || !empty($companyLogo);
|
||||
|
||||
$appVerData = file_exists(__DIR__ . '/../version.json') ? json_decode((string)file_get_contents(__DIR__ . '/../version.json'), true) : [];
|
||||
$appVersion = $appVerData['version'] ?? '1.4.9';
|
||||
$appVersion = $appVerData['version'] ?? '1.5.0';
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr" class="h-full">
|
||||
|
||||
+11
-2
@@ -256,6 +256,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";
|
||||
@@ -2219,18 +2222,24 @@ class ConfigGenerator
|
||||
$stmt = $this->db->prepare('SELECT slug FROM sounds WHERE id = :id');
|
||||
$stmt->execute([':id' => (int)$soundRef]);
|
||||
$slug = $stmt->fetchColumn();
|
||||
return $slug ? "custom/{$slug}" : $fallback;
|
||||
return $slug ? "/var/lib/asterisk/sounds/custom/{$slug}" : $fallback;
|
||||
}
|
||||
$ref = trim((string)$soundRef);
|
||||
if (str_starts_with($ref, 'sound-')) {
|
||||
return $this->resolveSoundFile(substr($ref, 6), $fallback);
|
||||
}
|
||||
if (str_starts_with($ref, 'custom/')) {
|
||||
return "/var/lib/asterisk/sounds/{$ref}";
|
||||
}
|
||||
if (str_starts_with($ref, '/var/lib/asterisk/sounds/custom/')) {
|
||||
return $ref;
|
||||
}
|
||||
if (!str_contains($ref, '/') && !in_array($ref, ['demo-instruct', 'demo-echotest', 'pbx-invalid', 'hello-world', 'beep', 'silence/1', 'vm-goodbye'])) {
|
||||
$stmt = $this->db->prepare('SELECT slug FROM sounds WHERE slug = :slug OR name = :name');
|
||||
$stmt->execute([':slug' => $ref, ':name' => $ref]);
|
||||
$slug = $stmt->fetchColumn();
|
||||
if ($slug) {
|
||||
return "custom/{$slug}";
|
||||
return "/var/lib/asterisk/sounds/custom/{$slug}";
|
||||
}
|
||||
}
|
||||
return $ref ?: $fallback;
|
||||
|
||||
+5
-5
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"version": "1.4.9",
|
||||
"version": "1.5.1",
|
||||
"codename": "Helios",
|
||||
"release_date": "2026-11-04",
|
||||
"min_php_version": "8.2",
|
||||
"changelog": [
|
||||
"Résolution du chemin audio des annonces personnalisées SVI sous Debian (/sounds/fr/custom/)",
|
||||
"Restauration instantanée du statut en ligne des postes après restauration de sauvegarde (sans délai de Qualify)",
|
||||
"Correction des conflits de préfixes Dialplan (*801-*899 vs *8 / *80)",
|
||||
"Code propre, robuste et optimisé sans surcharge"
|
||||
"Plafond d'expiration d'enregistrement SIP standard (maximum_expiration = 300s, default = 120s) garantissant la reconnexion automatique rapide de tous les postes (1 à 3 min)",
|
||||
"Support standard PJSIP check-sync et resync sans altération de l'état système",
|
||||
"Nettoyage et isolation stricte des sauvegardes (base NexusPBX, sons, spools voicemail, certificats)",
|
||||
"Résolution définitive et propre des conflits de préfixes Dialplan sur les SVI/IVR (*801-*899)"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user