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.
This commit is contained in:
chansizzle
2025-05-22 09:55:18 -06:00
committed by GitHub
parent 913757a772
commit 0287bfa7f3
2 changed files with 6 additions and 0 deletions

View File

@@ -87,6 +87,9 @@
<!-- # Firmware Upgrade and Privisioning. 0 - TFTP Upgrade, 1 - HTTP Upgrade, 2 - HTTPS Upgrade, 3 - FTP Upgrade, 4 - FTPS Upgrade. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
<!-- # Mandatory -->
{if isset($grandstream_firmware_upgrade_protocol) }
<P212>{$grandstream_firmware_upgrade_protocol}</P212>
{else}
<P212>2</P212>
<!-- Firmware Server Path -->

View File

@@ -87,6 +87,9 @@
<!-- # Firmware Upgrade and Privisioning. 0 - TFTP Upgrade, 1 - HTTP Upgrade, 2 - HTTPS Upgrade, 3 - FTP Upgrade, 4 - FTPS Upgrade. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
<!-- # Mandatory -->
{if isset($grandstream_firmware_upgrade_protocol) }
<P212>{$grandstream_firmware_upgrade_protocol}</P212>
{else}
<P212>2</P212>
<!-- Firmware Server Path -->