diff --git a/resources/templates/provision/grandstream/ht814/{$mac}.xml b/resources/templates/provision/grandstream/ht814/{$mac}.xml index de65a5a40..04f5800cc 100644 --- a/resources/templates/provision/grandstream/ht814/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht814/{$mac}.xml @@ -1,12 +1,13 @@ + {$mac|replace:'-':''} - - - - - + + + + + @@ -17,7 +18,6 @@ {$admin_password|escape: 'html'} - @@ -78,28 +78,16 @@ {if isset($grandstream_firmware_upgrade_protocol) } {$grandstream_firmware_upgrade_protocol} {else} - 1 + 2 {/if} - {if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/gxw4004/{$firmware_version} - {elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path}/gxw4004 - {else} - {$domain_name}{$project_path}/app/provision - {/if} + {$grandstream_firmware_path}/ht814/ - {if $grandstream_config_server_path=="none"} - - {elseif isset($grandstream_config_server_path)} {$grandstream_config_server_path} - {elseif isset($domain_name)} - {$domain_name}{$project_path}/app/provision - {/if} @@ -112,7 +100,7 @@ - {$http_auth_password|escape: 'html'} + {$http_auth_password} @@ -219,9 +207,8 @@ 0 {/if} - - + {if isset($grandstream_acs_url)}{$grandstream_acs_url}{else}acs.gdms.cloud{/if} @@ -240,7 +227,6 @@ 0 {/if} - 300 @@ -274,8 +260,6 @@ 162 - - @@ -559,7 +543,6 @@ {if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if} {$tp} - @@ -570,7 +553,6 @@ 0 - @@ -580,7 +562,6 @@ 0 {/if} - @@ -590,7 +571,6 @@ 0 {/if} - @@ -814,7 +794,6 @@ 101 {/if} - @@ -966,7 +945,7 @@ - 4 + {$grandstream_dial_timeout} @@ -989,11 +968,11 @@ - {if isset($grandstream_dial_plan) } - {$grandstream_dial_plan|escape: 'html'} - {else} - {literal}{ x+ | *x+ | *xx*x+ }{/literal} - {/if} + {if isset($grandstream_dial_plan) } + {$grandstream_dial_plan} + {else} + {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal} + {/if} @@ -1406,9 +1385,8 @@ 0 - - + @@ -1484,7 +1462,7 @@ {else} 0 {/if} - + @@ -1524,7 +1502,7 @@ {else} 0 {/if} - + @@ -1582,22 +1560,22 @@ - 10 + 15 - 5 + 10 - 15 + 10 - 0 + {$grandstream_web_access_mode}