From 9949b080e994dcea14274cae6ca045574052f08c Mon Sep 17 00:00:00 2001 From: Len Date: Sat, 29 Jul 2017 00:46:51 -0400 Subject: [PATCH] Update {$mac}.xml --- .../provision/grandstream/gxp2130/{$mac}.xml | 146 +++++++++--------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 5de6696df9..b611d8abe1 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -74,8 +74,8 @@ -{if isset($gs_dns_mode_1) } -{$gs_dns_mode_1} +{if isset($grandstream_dns_mode_1) } +{$grandstream_dns_mode_1} {else} 0 {/if} @@ -622,51 +622,51 @@ -{if isset($gs_account_ring_tone_1)||$gs_account_ring_tone_1==0} -{$gs_account_ring_tone_1} +{if isset($grandstream_account_ring_tone_1)||$grandstream_account_ring_tone_1==0} +{$grandstream_account_ring_tone_1} {/if} -{if isset($gs_ring_tone_caller_id_1_1)} -{$gs_ring_tone_caller_id_1_1} +{if isset($grandstream_ring_tone_caller_id_1_1)} +{$grandstream_ring_tone_caller_id_1_1} {/if} -{if isset($gs_ring_tone_1_1)||$gs_ring_tone_1_1==0} -{$gs_ring_tone_1_1} +{if isset($grandstream_ring_tone_1_1)||$grandstream_ring_tone_1_1==0} +{$grandstream_ring_tone_1_1} {/if} -{if isset($gs_ring_tone_caller_id_2_1)} -{$gs_ring_tone_caller_id_2_1} +{if isset($grandstream_ring_tone_caller_id_2_1)} +{$grandstream_ring_tone_caller_id_2_1} {/if} -{if isset($gs_ring_tone_2_1)||$gs_ring_tone_2_1==0} -{$gs_ring_tone_2_1} +{if isset($grandstream_ring_tone_2_1)||$grandstream_ring_tone_2_1==0} +{$grandstream_ring_tone_2_1} {/if} -{if isset($gs_ring_tone_caller_id_3_1)} -{$gs_ring_tone_caller_id_3_1} +{if isset($grandstream_ring_tone_caller_id_3_1)} +{$grandstream_ring_tone_caller_id_3_1} {/if} -{if isset($gs_ring_tone_3_1)||$gs_ring_tone_2_1==0} -{$gs_ring_tone_3_1} +{if isset($grandstream_ring_tone_3_1)||$grandstream_ring_tone_2_1==0} +{$grandstream_ring_tone_3_1} {/if} @@ -843,8 +843,8 @@ -{if isset($gs_dns_modee_2) } -{$gs_dns_modee_2} +{if isset($grandstream_dns_modee_2) } +{$grandstream_dns_modee_2} {else} 0 {/if} @@ -1389,8 +1389,8 @@ -{if isset($gs_account_ring_tone_2)||$gs_account_ring_tone_2==0} -{$gs_account_ring_tone_2} +{if isset($grandstream_account_ring_tone_2)||$grandstream_account_ring_tone_2==0} +{$grandstream_account_ring_tone_2} {/if} @@ -1597,8 +1597,8 @@ -{if isset($gs_dns_modee_3) } -{$gs_dns_modee_3} +{if isset($grandstream_dns_modee_3) } +{$grandstream_dns_modee_3} {else} 0 {/if} @@ -2142,8 +2142,8 @@ -{if isset($gs_account_ring_tone_3)||$gs_account_ring_tone_3==0} -{$gs_account_ring_tone_3} +{if isset($grandstream_account_ring_tone_3)||$grandstream_account_ring_tone_3==0} +{$grandstream_account_ring_tone_3} {/if} @@ -2350,8 +2350,8 @@ -{if isset($gs_dns_modee_4) } -{$gs_dns_modee_4} +{if isset($grandstream_dns_modee_4) } +{$grandstream_dns_modee_4} {else} 0 {/if} @@ -2897,8 +2897,8 @@ -{if isset($gs_account_ring_tone_4)||$gs_account_ring_tone_4==0} -{$gs_account_ring_tone_4} +{if isset($grandstream_account_ring_tone_4)||$grandstream_account_ring_tone_4==0} +{$grandstream_account_ring_tone_4} {/if} @@ -3105,8 +3105,8 @@ -{if isset($gs_dns_modee_5) } -{$gs_dns_modee_5} +{if isset($grandstream_dns_modee_5) } +{$grandstream_dns_modee_5} {else} 0 {/if} @@ -3650,8 +3650,8 @@ -{if isset($gs_account_ring_tone_5)||$gs_account_ring_tone_5==0} -{$gs_account_ring_tone_5} +{if isset($grandstream_account_ring_tone_5)||$grandstream_account_ring_tone_5==0} +{$grandstream_account_ring_tone_5} {/if} @@ -3859,8 +3859,8 @@ -{if isset($gs_dns_modee_6) } -{$gs_dns_modee_6} +{if isset($grandstream_dns_modee_6) } +{$grandstream_dns_modee_6} {else} 0 {/if} @@ -4407,8 +4407,8 @@ -{if isset($gs_account_ring_tone_6)||$gs_account_ring_tone_6==0} -{$gs_account_ring_tone_6} +{if isset($grandstream_account_ring_tone_6)||$grandstream_account_ring_tone_6==0} +{$grandstream_account_ring_tone_6} {/if} @@ -4756,8 +4756,8 @@ -{if isset($gs_lan_port_vlan) } -{$gs_lan_port_vlan} +{if isset($grandstream_lan_port_vlan) } +{$grandstream_lan_port_vlan} {else} 0 {/if} @@ -4775,8 +4775,8 @@ -{if isset($gs_pc_port_vlan) } -{$gs_pc_port_vlan} +{if isset($grandstream_pc_port_vlan) } +{$grandstream_pc_port_vlan} {else} 1 {/if} @@ -4870,8 +4870,8 @@ -{if isset($gs_firmware_path)} -{$gs_firmware_path} +{if isset($grandstream_firmware_path)} +{$grandstream_firmware_path} {else} {$domain_name}{$project_path}/app/provision {/if} @@ -4879,10 +4879,10 @@ -{if $gs_config_server_path=="none"} +{if $grandstream_config_server_path=="none"} -{elseif isset($gs_config_server_path)} -{$gs_config_server_path} +{elseif isset($grandstream_config_server_path)} +{$grandstream_config_server_path} {else} {$domain_name}{$project_path}/app/provision {/if} @@ -4963,14 +4963,14 @@ -{$gs_syslog_server} +{$grandstream_syslog_server} -{if isset($gs_syslog_level)} -{$gs_syslog_level} +{if isset($grandstream_syslog_level)} +{$grandstream_syslog_level} {else} 0 {/if} @@ -4978,8 +4978,8 @@ -{if isset($gs_send_sip_log)} -{$gs_send_sip_log} +{if isset($grandstream_send_sip_log)} +{$grandstream_send_sip_log} {else} 0 {/if} @@ -5162,9 +5162,9 @@ {if isset($contact_grandstream)} -{$gs_phonebook_xml_server_path}{$mac}/ -{elseif isset($gs_phonebook_xml_server_path)} -{$gs_phonebook_xml_server_path} +{$grandstream_phonebook_xml_server_path}{$mac}/ +{elseif isset($grandstream_phonebook_xml_server_path)} +{$grandstream_phonebook_xml_server_path} {else} {/if} @@ -5173,8 +5173,8 @@ -{if isset($gs_phonebook_download_interval)} -{$gs_phonebook_download_interval} +{if isset($grandstream_phonebook_download_interval)} +{$grandstream_phonebook_download_interval} {else} 0 {/if} @@ -5213,7 +5213,7 @@ -{$gs_ldap_server} +{$grandstream_ldap_server} @@ -5223,7 +5223,7 @@ -{$gs_ldap_base_dn} +{$grandstream_ldap_base_dn} @@ -5236,12 +5236,12 @@ -{$gs_ldap_number_filter} +{$grandstream_ldap_number_filter} -{$gs_ldap_name_filter} +{$grandstream_ldap_name_filter} @@ -5251,12 +5251,12 @@ -{$gs_ldap_name_attr} +{$grandstream_ldap_name_attr} -{$gs_ldap_number_attr} +{$grandstream_ldap_number_attr} @@ -5426,8 +5426,8 @@ -{if isset($gs_auto_attended_transfer) } -{$gs_auto_attended_transfer} +{if isset($grandstream_auto_attended_transfer) } +{$grandstream_auto_attended_transfer} {else} 1 {/if} @@ -5719,8 +5719,8 @@ -{if isset($gs_handset_tx_gain) } -{$gs_handset_tx_gain} +{if isset($grandstream_handset_tx_gain) } +{$grandstream_handset_tx_gain} {else} 0 {/if} @@ -5778,9 +5778,9 @@ -{if isset($gs_wallpaper_url)} +{if isset($grandstream_wallpaper_url)} 1 -{$gs_wallpaper_url} +{$grandstream_wallpaper_url} {else} 0 @@ -5918,8 +5918,8 @@ {if isset($grandstream_timezone) } {$grandstream_timezone} -{elseif isset($gs_gxp_time_zone) } -{$gs_gxp_time_zone} +{elseif isset($grandstream_gxp_time_zone) } +{$grandstream_gxp_time_zone} {else} auto {/if} @@ -6283,15 +6283,15 @@ -{if isset($gs_bluetooth_power)} -{$gs_bluetooth_power} +{if isset($grandstream_bluetooth_power)} +{$grandstream_bluetooth_power} {/if} -{if isset($gs_bluetooth_handsfree)} -{$gs_bluetooth_handsfree} +{if isset($grandstream_bluetooth_handsfree)} +{$grandstream_bluetooth_handsfree} {/if}