Fix the daylight_savings_enabled for Polycom

This commit is contained in:
FusionPBX
2025-08-26 16:50:42 -06:00
committed by GitHub
parent 0770cf7aba
commit c4f51138d5
35 changed files with 35 additions and 35 deletions

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -115,7 +115,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"

View File

@@ -126,7 +126,7 @@
tcpIpApp.sntp.address="{$ntp_server_primary}"
tcpIpApp.sntp.gmtOffset.overrideDHCP="1"
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}"
{if $daylight_savings_enabled}
{if filter_var($daylight_savings_enabled, FILTER_VALIDATE_BOOLEAN)}
tcpIpApp.sntp.daylightSavings.enable="1"
{else}
tcpIpApp.sntp.daylightSavings.enable="0"