diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml index 974fb38756..88d1bc2cd6 100644 --- a/resources/templates/provision/grandstream/ht802/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml @@ -1,71 +1,2556 @@ - + + +{$mac|replace:'-':''} - {$admin_password} - 1 - {if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/ht802/{$firmware_version} - {elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path}/ht802 - {else} - {$domain_name}{$project_path}/app/provision - {/if} - {$domain_name}{$project_path}/app/provision - - {if isset($grandstream_qos_sip)} + + + + + + + + + + + + + {$admin_password} + + +{$user_password} + + + + + + 0 + + + + + + +{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} - - {$account.1.server_address} - {$account.1.outbound_proxy} - {$account.1.user_id} - {$account.1.user_id} - {$account.1.password} - {$account.1.display_name} - 2 - 20 - 1 - {$account.1.register_expires} - 90 - 1 - 0 - 0 - 1 - 0 - - {if $account.1.sip_transport == 'udp'}0{/if} - {if $account.1.sip_transport == 'tcp'}1{/if} - {if $account.1.sip_transport == 'tls'}2{/if} - {if $account.1.sip_transport == 'dns srv'}1{/if} + + + - - - {$account.2.server_address} - {$account.2.outbound_proxy} - {$account.2.user_id} - {$account.2.user_id} - {$account.2.password} - {$account.2.display_name} - 1 - 0 - 0 - {$account.2.register_expires} - 1 - 0 - - {if $account.2.sip_transport == 'udp'}0{/if} - {if $account.2.sip_transport == 'tcp'}1{/if} - {if $account.2.sip_transport == 'tls'}2{/if} - {if $account.2.sip_transport == 'dns srv'}1{/if} - + + + + + + + + 20 + + + + + 0 + + + + + 3 + + + + + 0 + + + + + + + + 0 + + + + + 2 + + + +{if isset($grandstream_firmware_path) && isset($firmware_version)} +{$grandstream_firmware_path}/ht802/{$firmware_version} +{elseif isset($grandstream_firmware_path)} +{$grandstream_firmware_path}/ht802 +{else} +{$domain_name}{$project_path}/app/provision +{/if} + + + +{$domain_name}{$project_path}/app/provision + + + + + + + + +{$http_auth_username} + + + +{$http_auth_password} + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + 1 + + + + +{if isset($grandstream_auto_upgrade)} +{$grandstream_auto_upgrade} +{else} +0 +{/if} + + + + + 10080 + + + + + 1 + + + + + 22 + + + + + 1 + + + + + 0 + + + + + + + 0 + + + + + 1 + + + + + + + 0 + + + + + 0 + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + 0 + + + + 300 + + + + + + + + + + + + + + + + + + + 0 + + + + + 3 + + + + + 162 + + + + + + + + 162 + + + + + Version 2c + + + + 5 + + + + + + + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + + + 0 + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + 0 + + + + + + + + + + + + + + + + + + + + c=2000/4000; + + + + + + + f1=350@-13,f2=440@-13,c=0/0; + + + + f1=440@-19,f2=480@-19,c=2000/4000; + + + + f1=480@-24,f2=620@-24,c=500/500; + + + + f1=480@-24,f2=620@-24,c=250/250; + + + + f1=350@-11,f2=440@-11,c=100/100-100/100-100/100; + + + + f1=440@-13,c=300/300-300/10000; + + + + + + + + + + + + f1=425@-15,c=600/600; + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + us.pool.ntp.org + + + + + + 1 + + + + + 3561 + + + + {$grandstream_syslog_server} + + + + + +{if isset($grandstream_syslog_level)} +{$grandstream_syslog_level} +{else} +0 +{/if} + + + + +{if isset($grandstream_send_sip_log)} +{$grandstream_send_sip_log} +{else} +0 +{/if} + + + + + 0 + + + + + 1 + + + + + 1 + + + + + 1 + + + + + + + + 1 + + + +{$account.1.server_address} + + + + + + + + + 0 + + + + {$account.1.outbound_proxy_primary} + + + + {$account.1.outbound_proxy_secondary} + + + + + 0 + + + + + 0 + + + + + +{$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} + + + + + 1 + + + + + 0 + + + + +{if isset($grandstream_nat_traversal_1)} +{$grandstream_nat_traversal_1} +{else} +0 +{/if} + + + +{$account.1.user_id} + + + +{$account.1.user_id} + + + +{$account.1.password} + + + +{$account.1.display_name} + + + + + +{if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} +{else} + 0 +{/if} + + + + +0 + + + + +1 + + + + + 0 + + + + + 1 + + + + +{$account.1.register_expires} + + + + + 0 + + + + + 20 + + + + + 1200 + + + + + 0 + + + + + 30 + + + + + 3 + + + + 24 + + 46 (FXS1) + + + + + 5060 + + + + + 5004 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + 50 + + + + + + 400 + + + + + 0 + + + + 101 + + + + + + + 101 + + + + + 102 + + + + + 100 + + + + + 100 + 50 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + 0 + + + + + + + + + 0 + + + + + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 60 + + + + + 20 + + + + + 4 + + + + + 0 + + + + + + + + + 1 + + + + +{if isset($grandstream_dial_plan) } +{$grandstream_dial_plan} +{else} +{literal}{x+|*x+|*++|\p\a\r\k\+*x+| \f\l\o\w\+*x+}{/literal} +{/if} + + + + + +{if isset($subscribe_mwi)} + 1 +{else} + 0 +{/if} + + + + + 0 + + + + + 0 + + + + + + + 100 + + + + + 1 + + + + + 180 + + + + + 90 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + + + 0 + + + + + + + 0 + + + + + 8 + + + + + 4 + + + + + 18 + + + + + 2 + + + + + 97 + + + + + 123 + + + + + 2 + + + + + 0 + + + + + 0 + + + + + 97 + + + + + 120 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 1 + + + + + 1 + + + + + + + + +{if isset($grandstream_srtp)} + {$grandstream_srtp} +{else} + 0 +{/if} + + + + + + + 1 + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + 0 + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 200 + + + + + 0 + + + + + + 1 + + + + + + 300 + + + + + 1100 + + + + + 400 + + + + + + + + + + + + + 0 + + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 20 + + + + + 0 + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + + + + + +{if isset($account.2.password)} + 1 +{else} + 0 +{/if} + + + +{$account.2.server_address} + + + + + + + + + 0 + + + + {$account.2.outbound_proxy} + + + + {$account.2.outbound_proxy_secondary} + + + + + 0 + + + + +{$tp=0} +{if $account.2.sip_transport == 'udp'}{$tp=0}{/if} +{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if} +{if $account.2.sip_transport == 'tls'}{$tp=2}{/if} +{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 1 + + + + + 0 + + + + + 0 + + + +{$account.2.user_id} + + + +{$account.2.user_id} + + + +{$account.2.password} + + + +{$account.2.display_name} + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 1 + + + + +{$account.2.register_expires} + + + + + 0 + + + + + 20 + + + + + 1200 + + + + + 0 + + + + + 30 + + + + + 3 + + + + 24 + + 46 + + + + + 5062 + + + + + 5012 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + 50 + + + + + + 400 + + + + + 0 + + + + 101 + + + + + + + 101 + + + + + 102 + + + + + 100 + + + + + 100 + 50 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + 0 + + + + + + + + + 0 + + + + + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 60 + + + + + 20 + + + + + 4 + + + + + 0 + + + + + + + + + 1 + + + + { x+ | \+x+ | *x+ | *xx*x+ } + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 100 + + + + + 1 + + + + + 180 + + + + + 90 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + + + 0 + + + + + + + 0 + + + + + 8 + + + + + 4 + + + + + 18 + + + + + 2 + + + + + 97 + + + + + 123 + + + + + 2 + + + + + 0 + + + + + 0 + + + + + 97 + + + + + 120 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 1 + + + + + 1 + + + + + + + + 0 + + + + + + + 1 + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + 0 + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 200 + + + + + 0 + + + + + + 1 + + + + + + 300 + + + + + 1100 + + + + + 400 + + + + + + + + + + + + + 0 + + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 20 + + + + + 0 + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + c=2000/4000; + + + + + + + + + + + + + + + + 10 + + + + + 5 + + + + + 15 + + + + + 1 + + + + + 80 + + + + + 443 + + + + + 0 + + + + + 22 + + + + + 1 + + + + + 23 + + + + + + + + + + + + + 2 + + + + + 0 + + + + + + + + + HT802 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {$grandstream_gxp_time_zone} + + + + MTZ+6MDT+5,M3.2.0,M11.1.0 + + + + + 1 + + + + + 0 + + + + + + + + + + + + + +