Update firmware and config server paths in XML

These two values state Mandatory in the template so added a default value
- grandstream_dial_timeout
- grandstream_web_access_mode
This commit is contained in:
FusionPBX
2026-04-28 18:12:59 +00:00
committed by GitHub
parent ce5769f276
commit fd5eef4f16
@@ -83,11 +83,21 @@
<!-- # Firmware Server Path -->
<!-- # Server address -->
<P192>{$grandstream_firmware_path}/ht814/</P192>
<P192>{$grandstream_firmware_path}/ht814/{$firmware_version}</P192>
{elseif isset($grandstream_firmware_path)}
<P192>{$grandstream_firmware_path}/ht814</P192>
{else}
<P192>{$domain_name}{$project_path}/app/provision</P192>
<!-- # Config Server Path -->
<!-- # Server address; -->
{if $grandstream_config_server_path=="none"}
<P237></P237>
{elseif isset($grandstream_config_server_path)}
<P237>{$grandstream_config_server_path}</P237>
{elseif isset($domain_name)}
<P237>{$domain_name}{$project_path}/app/provision</P237>
{/if}
<!-- # XML Config File Password -->
<!-- # String; between ascii values 33 and 126 -->
@@ -945,7 +955,11 @@
<!-- # No Key Entry Timeout. Default - 4 seconds. -->
<!-- # Number: 1-15 -->
<!-- # Mandatory -->
{if isset($grandstream_dial_timeout) }
<P85>{$grandstream_dial_timeout}</P85>
{else}
<P85>4</P85>
{/if}
<!-- # Early Dial. 0 - No, 1 - Yes (use "Yes" only if proxy supports 484 response) -->
<!-- # Number: 0, 1 -->
@@ -1575,7 +1589,11 @@
<!-- # Web Access Mode. 0 - HTTPS, 1 - HTTP. -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($grandstream_web_access_mode) }
<P1650>{$grandstream_web_access_mode}</P1650>
{else}
<P1650>0</P1650>
{/if}
<!-- # HTTP Web Port. Default HTTP is 80. -->
<!-- # Number: 1 to 65535 -->