diff --git a/resources/templates/provision/grandstream/gds3705/{$mac}.xml b/resources/templates/provision/grandstream/gds3705/{$mac}.xml index 109ca488a9..402be297f6 100644 --- a/resources/templates/provision/grandstream/gds3705/{$mac}.xml +++ b/resources/templates/provision/grandstream/gds3705/{$mac}.xml @@ -138,8 +138,8 @@ ?> - {if isset($grandstream_timezone) } - {$grandstream_timezone} + {if isset($grandstream_time_zone) } + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {else} diff --git a/resources/templates/provision/grandstream/gds3710/{$mac}.xml b/resources/templates/provision/grandstream/gds3710/{$mac}.xml index 8c9311a371..0e67b81867 100644 --- a/resources/templates/provision/grandstream/gds3710/{$mac}.xml +++ b/resources/templates/provision/grandstream/gds3710/{$mac}.xml @@ -210,8 +210,8 @@ - {if isset($grandstream_timezone) } - {$grandstream_timezone} + {if isset($grandstream_time_zone) } + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {else} diff --git a/resources/templates/provision/grandstream/ghp6xx/{$mac}.xml b/resources/templates/provision/grandstream/ghp6xx/{$mac}.xml index ed84b70ba7..6e16e2be9e 100644 --- a/resources/templates/provision/grandstream/ghp6xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/ghp6xx/{$mac}.xml @@ -1724,8 +1724,8 @@ - {if isset($grandstream_timezone) } - {$grandstream_timezone} + {if isset($grandstream_time_zone) } + {$grandstream_time_zone} {else} auto {/if} diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml index 0f20a02791..423013911b 100644 --- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml @@ -138,7 +138,11 @@ + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} Auto + {/if} @@ -784,7 +788,7 @@ - 5 + {$grandstream_distinctive_ringtone_1} @@ -792,7 +796,7 @@ - 5 + {$grandstream_distinctive_ringtone_2} @@ -800,7 +804,7 @@ - 5 + {$grandstream_distinctive_ringtone_3} @@ -808,7 +812,7 @@ - 5 + {$grandstream_distinctive_ringtone_4} @@ -816,7 +820,7 @@ - 5 + {$grandstream_distinctive_ringtone_5} @@ -824,7 +828,7 @@ - 5 + {$grandstream_distinctive_ringtone_6} @@ -832,7 +836,7 @@ - 5 + {$grandstream_distinctive_ringtone_7} @@ -840,7 +844,7 @@ - 5 + {$grandstream_distinctive_ringtone_8} @@ -848,7 +852,7 @@ - 5 + {$grandstream_distinctive_ringtone_9} @@ -856,7 +860,7 @@ - 5 + {$grandstream_distinctive_ringtone_10} @@ -903,21 +907,21 @@ - + *78 - + *79 - + *72 - + *73 @@ -1201,13 +1205,13 @@ - Yes + {if isset($grandstream_lan_port_vlan)}Yes{else}No{/if} - 0 + {$grandstream_lan_port_vlan} @@ -1217,11 +1221,15 @@ - Enabled + {if isset($grandstream_pc_mode)} + {if isset($grandstream_pc_mode)}{$grandstream_pc_mode}{/if} + {else} + {if isset($grandstream_pc_port_vlan)}Enabled{else}Disabled{/if} + {/if} - 0 + {$grandstream_pc_port_vlan} @@ -2500,7 +2508,11 @@ + {if isset($grandstream_stun_server) } + {$grandstream_stun_server} + {else} + {/if} @@ -3676,15 +3688,27 @@ + {if isset($grandstream_headset_key_mode)} + {$grandstream_headset_key_mode} + {else} DefaultMode + {/if} + {if isset($grandstream_headset_ringtone)} + {$grandstream_headset_ringtone} + {else} Normal + {/if} + {if isset($grandstream_headset_type)} + {$grandstream_headset_type} + {else} Normal + {/if} @@ -3703,11 +3727,19 @@ - 0 + {if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} + {else} + 0 + {/if} + {if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} + {else} 0 + {/if} @@ -3724,19 +3756,12 @@ - {if isset($ntp_server_primary)} - {$ntp_server_primary} - {else} pool.ntp.org - {/if} - {if isset($ntp_server_secondary)} - {$ntp_server_secondary} - {else} - 2.us.pool.ntp.org - {/if} + + @@ -4002,7 +4027,11 @@ + {if isset($grandstream_screensaver_enable)} + {$grandstream_screensaver_enable} + {else} OnIfNoVPKIsActive + {/if} @@ -4010,7 +4039,7 @@ - + {$grandstream_screensaver_source} diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml index d6d6634ac2..8fe7f212a0 100644 --- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml @@ -37,9 +37,9 @@ {if isset($row.server_address_primary)} - {$row.server_address_primary} + {$row.server_address_primary}:{$row.sip_port} {else} - {$row.server_address} + {$row.server_address}:{$row.sip_port} {/if} @@ -65,9 +65,9 @@ {if isset($row.server_address_primary)} - {$row.server_address_primary} + {$row.server_address_primary}:{$row.sip_port} {else} - {$row.server_address} + {$row.server_address}:{$row.sip_port} {/if} @@ -142,7 +142,7 @@ {$grandstream_nat_traversal} {else} Auto - {/if} + {/if} @@ -3762,6 +3762,7 @@ + {if isset($ntp_server_secondary)} {$ntp_server_secondary} {else} @@ -4470,14 +4471,14 @@ - - - - - - - - + + + + + + + + @@ -4535,8 +4536,8 @@ - + + {foreach $keys['memory'] as $row} @@ -4760,4 +4761,4 @@ - \ No newline at end of file + diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml index d6d6634ac2..01b07777d0 100644 --- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml @@ -142,7 +142,7 @@ {$grandstream_nat_traversal} {else} Auto - {/if} + {/if} @@ -1480,7 +1480,7 @@ - + Off @@ -3754,19 +3754,12 @@ - {if isset($ntp_server_primary)} - {$ntp_server_primary} - {else} pool.ntp.org - {/if} - {if isset($ntp_server_secondary)} - {$ntp_server_secondary} - {else} - 2.us.pool.ntp.org - {/if} + + @@ -4470,14 +4463,14 @@ - - - - - - - - + + + + + + + + @@ -4535,8 +4528,8 @@ - + + {foreach $keys['memory'] as $row} @@ -4760,4 +4753,4 @@ - \ No newline at end of file + diff --git a/resources/templates/provision/grandstream/grp261x/{$mac}.xml b/resources/templates/provision/grandstream/grp261x/{$mac}.xml index 901218655e..074a634405 100644 --- a/resources/templates/provision/grandstream/grp261x/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp261x/{$mac}.xml @@ -2514,8 +2514,8 @@ - {if isset($grandstream_timezone)} - {$grandstream_timezone} + {if isset($grandstream_time_zone)} + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone)} {$grandstream_gxp_time_zone} {else} diff --git a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml index 330a070022..26fd487b20 100644 --- a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml @@ -7454,8 +7454,8 @@ -{if isset($grandstream_timezone) } - {$grandstream_timezone} +{if isset($grandstream_time_zone) } + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {else} diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 2a0228b5d8..9162c1b7e3 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -38,7 +38,11 @@ {$row.server_address}:{$row.sip_port} {/if} + {if isset($row.server_address_secondary)} {$row.server_address_secondary}:{$row.sip_port} + {else} + + {/if} {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_primary)} @@ -176,10 +180,10 @@ - {if $row.sip_transport == ''}TCP{/if} - {if $row.sip_transport == 'udp'}UDP{/if} - {if $row.sip_transport == 'tcp'}TCP{/if} - {if $row.sip_transport == 'tls'}Tls{/if} + {if $row.sip_transport == ''}1{/if} + {if $row.sip_transport == 'udp'}0{/if} + {if $row.sip_transport == 'tcp'}1{/if} + {if $row.sip_transport == 'tls'}2{/if} diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index a622cfc585..c17ee0a6e9 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -176,10 +176,10 @@ - {if $row.sip_transport == ''}TCP{/if} - {if $row.sip_transport == 'udp'}UDP{/if} - {if $row.sip_transport == 'tcp'}TCP{/if} - {if $row.sip_transport == 'tls'}Tls{/if} + {if $row.sip_transport == ''}1{/if} + {if $row.sip_transport == 'udp'}0{/if} + {if $row.sip_transport == 'tcp'}1{/if} + {if $row.sip_transport == 'tls'}2{/if} diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 37c88af6e1..282c33c4d4 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -38,7 +38,11 @@ {$row.server_address}:{$row.sip_port} {/if} + {if isset($row.server_address_secondary)} {$row.server_address_secondary}:{$row.sip_port} + {else} + + {/if} {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_primary)} @@ -176,10 +180,11 @@ - {if $row.sip_transport == ''}TCP{/if} - {if $row.sip_transport == 'udp'}UDP{/if} - {if $row.sip_transport == 'tcp'}TCP{/if} - {if $row.sip_transport == 'tls'}Tls{/if} + + {if $row.sip_transport == ''}1{/if} + {if $row.sip_transport == 'udp'}0{/if} + {if $row.sip_transport == 'tcp'}1{/if} + {if $row.sip_transport == 'tls'}2{/if} diff --git a/resources/templates/provision/grandstream/gxv3480/{$mac}.xml b/resources/templates/provision/grandstream/gxv3480/{$mac}.xml index c78194a4ae..ee779f3e98 100644 --- a/resources/templates/provision/grandstream/gxv3480/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3480/{$mac}.xml @@ -958,8 +958,8 @@ Wellington, New Zealand - NZST-12NZDT-13,M9.5.0/02:00:00,M3.5.0/03:00:00 Fiji - TZd-12 Nukualofa, Tonga - TZe-13 --> -{if isset($grandstream_timezone) } - {$grandstream_timezone} +{if isset($grandstream_time_zone) } + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {/if} diff --git a/resources/templates/provision/grandstream/ht814/{$mac}.xml b/resources/templates/provision/grandstream/ht814/{$mac}.xml index e6f1ba25d0..de65a5a40d 100644 --- a/resources/templates/provision/grandstream/ht814/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht814/{$mac}.xml @@ -1875,8 +1875,8 @@ - {if isset($grandstream_timezone) } - {$grandstream_timezone} + {if isset($grandstream_time_zone) } + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {else} diff --git a/resources/templates/provision/grandstream/ht818/{$mac}.xml b/resources/templates/provision/grandstream/ht818/{$mac}.xml index e7d20162d3..f570a8ed97 100644 --- a/resources/templates/provision/grandstream/ht818/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht818/{$mac}.xml @@ -2031,8 +2031,8 @@ - {if isset($grandstream_timezone) } - {$grandstream_timezone} + {if isset($grandstream_time_zone) } + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {else} diff --git a/resources/templates/provision/grandstream/wp810/{$mac}.xml b/resources/templates/provision/grandstream/wp810/{$mac}.xml index dbbfce801d..ac4c683ad1 100644 --- a/resources/templates/provision/grandstream/wp810/{$mac}.xml +++ b/resources/templates/provision/grandstream/wp810/{$mac}.xml @@ -1748,8 +1748,8 @@ -{if isset($grandstream_timezone) } - {$grandstream_timezone} +{if isset($grandstream_time_zone) } + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {else} diff --git a/resources/templates/provision/grandstream/wp820/{$mac}.xml b/resources/templates/provision/grandstream/wp820/{$mac}.xml index 19b1791553..9851aee1a7 100644 --- a/resources/templates/provision/grandstream/wp820/{$mac}.xml +++ b/resources/templates/provision/grandstream/wp820/{$mac}.xml @@ -2078,8 +2078,8 @@ -{if isset($grandstream_timezone) } - {$grandstream_timezone} +{if isset($grandstream_time_zone) } + {$grandstream_time_zone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {else}