diff --git a/resources/templates/provision/grandstream/ht801/{$mac}.xml b/resources/templates/provision/grandstream/ht801/{$mac}.xml index 78944d23d..f7a0dccfa 100644 --- a/resources/templates/provision/grandstream/ht801/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht801/{$mac}.xml @@ -7,7 +7,6 @@ - @@ -17,8 +16,8 @@ {$admin_password} - -{$user_password} + + {$user_password} @@ -31,22 +30,22 @@ -{if isset($grandstream_qos_sip)} + {if isset($grandstream_qos_sip)} {$grandstream_qos_sip} {else} 0 -{/if} + {/if} -{if isset($grandstream_qos_rtp)} + {if isset($grandstream_qos_rtp)} {$grandstream_qos_rtp} {else} 0 -{/if} + {/if} @@ -84,7 +83,7 @@ 0 - + {if isset($grandstream_firmware_upgrade_protocol) } @@ -93,15 +92,9 @@ 2 {/if} - - - {if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/ht801/{$firmware_version} - {elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path}/ht801/ - {else} - {$domain_name}{$project_path}/app/provision - {/if} + + + {$grandstream_firmware_path}/ht801 @@ -118,13 +111,13 @@ - - -{$http_auth_username} + + + {$http_auth_username} - - -{$http_auth_password} + + + {$http_auth_password} @@ -151,16 +144,16 @@ - 1 + 0 -{if isset($grandstream_auto_upgrade)} -{$grandstream_auto_upgrade} -{else} -0 -{/if} + {if isset($grandstream_auto_upgrade)} + {$grandstream_auto_upgrade} + {else} + 0 + {/if} @@ -199,8 +192,6 @@ 1 - - @@ -219,19 +210,18 @@ - - - + + + {if isset ($grandstream_tr069_enable)} -{$grandstream_tr069_enable} -{else} -0 -{/if} - + {$grandstream_tr069_enable} + {else} + 0 + {/if} {if isset($grandstream_acs_url)}{$grandstream_acs_url}{else}{/if} @@ -248,11 +238,10 @@ {if isset ($grandstream_tr069_periodic_inform_enable)} -{$grandstream_tr069_periodic_inform_enable} -{else} -0 -{/if} - + {$grandstream_tr069_periodic_inform_enable} + {else} + 0 + {/if} @@ -275,20 +264,20 @@ -{if isset($grandstream_snmp_enable)} + {if isset($grandstream_snmp_enable)} {$grandstream_snmp_enable} {else} 0 -{/if} + {/if} -{if isset($grandstream_snmp_version)} + {if isset($grandstream_snmp_version)} {$grandstream_snmp_version} {else} 2 -{/if} + {/if} @@ -314,11 +303,11 @@ -{if isset($grandstream_snmp_community)} + {if isset($grandstream_snmp_community)} {$grandstream_snmp_community} {else} public -{/if} + {/if} @@ -473,7 +462,6 @@ f1=425@-15,c=600/600; - @@ -521,20 +509,20 @@ -{if isset($grandstream_syslog_level)} -{$grandstream_syslog_level} -{else} -0 -{/if} + {if isset($grandstream_syslog_level)} + {$grandstream_syslog_level} + {else} + 0 + {/if} -{if isset($grandstream_send_sip_log)} -{$grandstream_send_sip_log} -{else} -0 -{/if} + {if isset($grandstream_send_sip_log)} + {$grandstream_send_sip_log} + {else} + 0 + {/if} @@ -564,13 +552,13 @@ 1 - - -{if $account.1.sip_transport != 'dns srv'} -{$account.1.server_address}:{$account.1.sip_port} -{else} -{$account.1.server_address} -{/if} + + + {if $account.1.sip_transport != 'dns srv'} + {$account.1.server_address}:{$account.1.sip_port} + {else} + {$account.1.server_address} + {/if} @@ -603,11 +591,11 @@ -{$tp=0} -{if $account.1.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.1.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if} + {$tp=0} + {if $account.1.sip_transport == 'udp'}{$tp=0}{/if} + {if $account.1.sip_transport == 'tcp'}{$tp=1}{/if} + {if $account.1.sip_transport == 'tls'}{$tp=2}{/if} + {if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if} {$tp} @@ -623,47 +611,47 @@ -{if isset($grandstream_nat_traversal_1)} -{$grandstream_nat_traversal_1} -{else} -0 -{/if} + {if isset($grandstream_nat_traversal_1)} + {$grandstream_nat_traversal_1} + {else} + 0 + {/if} - - -{$account.1.user_id} + + + {$account.1.user_id} - - -{$account.1.auth_id} + + + {$account.1.auth_id} - - -{$account.1.password} + + + {$account.1.password} - - -{$account.1.display_name} + + + {$account.1.display_name} - - - + + + -{if isset($grandstream_dns_mode)} + {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} -{else} + {else} 0 -{/if} + {/if} - - - -0 + + + + 0 - - - -1 + + + + 1 @@ -675,10 +663,10 @@ 1 - - - -{$account.1.register_expires} + + + + {$account.1.register_expires} @@ -1061,22 +1049,22 @@ - -{if isset($grandstream_dial_plan) } + + {if isset($grandstream_dial_plan) } {$grandstream_dial_plan} -{else} + {else} {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal} -{/if} + {/if} -{if isset($subscribe_mwi)} + {if isset($subscribe_mwi)} 1 -{else} + {else} 0 -{/if} + {/if} @@ -1240,11 +1228,11 @@ -{if isset($grandstream_fax_mode)} + {if isset($grandstream_fax_mode)} {$grandstream_fax_mode} -{else} + {else} 0 -{/if} + {/if} @@ -1268,11 +1256,11 @@ -{if isset($grandstream_srtp)} + {if isset($grandstream_srtp)} {$grandstream_srtp} -{else} + {else} 0 -{/if} + {/if} @@ -1410,9 +1398,9 @@ - {if isset($grandstream_line_echo_canceller)} + {if isset($grandstream_line_echo_canceller)} {$grandstream_line_echo_canceller} - {elseif isset($grandstream_line_1_echo_canceller)} + {elseif isset($grandstream_line_1_echo_canceller)} {$grandstream_line_1_echo_canceller} {else} 0 @@ -1421,9 +1409,9 @@ - {if isset($grandstream_line_echo_suppressor)} + {if isset($grandstream_line_echo_suppressor)} {$grandstream_line_echo_suppressor} - {elseif isset($grandstream_line_1_echo_suppressor)} + {elseif isset($grandstream_line_1_echo_suppressor)} {$grandstream_line_1_echo_suppressor} {else} 0 @@ -1724,9 +1712,9 @@ - {if isset($grandstream_line_echo_canceller)} + {if isset($grandstream_line_echo_canceller)} {$grandstream_line_echo_canceller} - {elseif isset($grandstream_line_2_echo_canceller)} + {elseif isset($grandstream_line_2_echo_canceller)} {$grandstream_line_2_echo_canceller} {else} 0 @@ -1735,9 +1723,9 @@ - {if isset($grandstream_line_echo_suppressor)} + {if isset($grandstream_line_echo_suppressor)} {$grandstream_line_echo_suppressor} - {elseif isset($grandstream_line_2_echo_suppressor)} + {elseif isset($grandstream_line_2_echo_suppressor)} {$grandstream_line_2_echo_suppressor} {else} 0