From 0287bfa7f31b38004540b86b20bac8dfab2b730b Mon Sep 17 00:00:00 2001
From: chansizzle <14916599+chansizzle@users.noreply.github.com>
Date: Thu, 22 May 2025 09:55:18 -0600
Subject: [PATCH] Grandstream - use variable for firmware upgrade protocol
(#7377)
* Grandstream - use variable for firmware upgrade protocol
The firmware upgrade protocol was hard-coded as https. Updated to use the default settings variable.
---
resources/templates/provision/grandstream/ht801/{$mac}.xml | 3 +++
resources/templates/provision/grandstream/ht802/{$mac}.xml | 3 +++
2 files changed, 6 insertions(+)
diff --git a/resources/templates/provision/grandstream/ht801/{$mac}.xml b/resources/templates/provision/grandstream/ht801/{$mac}.xml
index 0916d0fa72..cfcbc47b2d 100644
--- a/resources/templates/provision/grandstream/ht801/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht801/{$mac}.xml
@@ -87,6 +87,9 @@
+ {if isset($grandstream_firmware_upgrade_protocol) }
+ {$grandstream_firmware_upgrade_protocol}
+ {else}
2
diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml
index de86db987d..64a5e3b5c9 100644
--- a/resources/templates/provision/grandstream/ht802/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml
@@ -87,6 +87,9 @@
+ {if isset($grandstream_firmware_upgrade_protocol) }
+ {$grandstream_firmware_upgrade_protocol}
+ {else}
2