From 5738bd0e358c4d9fd7a02c64f65ff85c504040a1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 28 Apr 2026 18:54:03 +0000 Subject: [PATCH] Refactor firmware server path in ht801 template Update firmware server path logic to include firmware version. --- .../templates/provision/grandstream/ht801/{$mac}.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/resources/templates/provision/grandstream/ht801/{$mac}.xml b/resources/templates/provision/grandstream/ht801/{$mac}.xml index f7a0dccfa..c4f450f83 100644 --- a/resources/templates/provision/grandstream/ht801/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht801/{$mac}.xml @@ -92,9 +92,15 @@ 2 {/if} - - - {$grandstream_firmware_path}/ht801 + + + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/ht801/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path}/ht801/ + {else} + {$domain_name}{$project_path}/app/provision + {/if}