diff --git a/resources/templates/provision/grandstream/ht8x1/{$mac}.xml b/resources/templates/provision/grandstream/ht8x1/{$mac}.xml new file mode 100644 index 000000000..00681bcb1 --- /dev/null +++ b/resources/templates/provision/grandstream/ht8x1/{$mac}.xml @@ -0,0 +1,1985 @@ + + + +{$mac|replace:'-':''} + + + + + + + + + + + + + {$admin_password} + + + + + + 0 + + + + + + 0 + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + 0 + + + + + 3 + + + + + 0 + + + + + 0 + + + + + + + + 0 + + + + + {if isset($grandstream_firmware_upgrade_protocol) } + {$grandstream_firmware_upgrade_protocol} + {else} + 2 + {/if} + + + + {$grandstream_firmware_path}/ht8x1 + + + + {$grandstream_config_server_path} + + + + + + + + + {$http_auth_username} + + + + {$http_auth_password} + + + + + + + + + + + + + + + + + + + + + + {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} + + + + + 0 + + + + + 1 + + + + + 10080 + + + + + 1 + + + + + 22 + + + + + 1 + + + + + 1 + + + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + {if isset ($grandstream_acs_url)}1{else}0{/if} + + + {if isset($grandstream_acs_url)}{$grandstream_acs_url}{else}https://acs.gdms.cloud{/if} + + + + + + + + + + + + + {if isset ($grandstream_tr069_periodic_inform_enable)}{$grandstream_tr069_periodic_inform_enable}{else}0{/if} + + + + 300 + + + + {$mac|replace:'-':''|upper} + + + + {$mac|replace:'-':''|upper} + + + + + + + + + + + 0 + + + + + 3 + + + + + 162 + + + + + + + + 162 + + + + + Version 2c + + + + 5 + + + + + + + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + + + 0 + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + 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; + + + + + + + + + + 2 + + + + + 0 + + + + + 0 + + + + + + + + {if isset($ntp_server_primary)} + {$ntp_server_primary} + {else} + pool.ntp.org + {/if} + + + + + + 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 + + + + + + + + + + + + + {if isset($account.1.password)}1{else}0{/if} + + + + {$account.1.server_address} + + + + {$account.1.server_address_secondary} + + + + + 1 + + + + {$account.1.server_address} + + + + {$account.1.outbound_proxy_secondary} + + + + + 1 + + + + + 0 + + + + + {$tp1=0} + {if $account.1.sip_transport == 'udp'}{$tp1=0}{/if} + {if $account.1.sip_transport == 'tcp'}{$tp1=1}{/if} + {if $account.1.sip_transport == 'tls'}{$tp1=2}{/if} + {if $account.1.sip_transport == 'dns srv'}{$tp1=1}{/if} + {$tp1} + + + + + 1 + + + + + 0 + + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 0 + {/if} + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + + 0 + + + + + 0 + + + + + {if isset($account.1.password)} + 1 + {else} + 0 + {/if} + + + + + 0 + + + + + 0 + + + + + {$account.1.register_expires} + + + + + 0 + + + + + 20 + + + + + 1200 + + + + + 1 + + + + + 30 + + + + + 3 + + + + 24 + + 46 (Profile1) + + + + + 5060 + + + + + 5004 + + + + + 1 + + + + + 1 + + + + + 1 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + 50 + + + + + + 400 + + + + + 0 + + + + 101 + + + + + + + {if isset($grandstream_dtmf_method_1) } + {$grandstream_dtmf_method_1} + {else} + 101 + {/if} + + + + + {if isset($grandstream_dtmf_method_2) } + {$grandstream_dtmf_method_2} + {else} + 102 + {/if} + + + + + {if isset($grandstream_dtmf_method_3) } + {$grandstream_dtmf_method_3} + {else} + 100 + {/if} + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + {$grandstream_distinctive_ringtone_1} + + + +{if isset($grandstream_distinctive_ringtone_name_1)} + {$grandstream_distinctive_ringtone_name_1} +{else} + ring1 +{/if} + + + + + {$grandstream_distinctive_ringtone_2} + + + +{if isset($grandstream_distinctive_ringtone_name_2)} + {$grandstream_distinctive_ringtone_name_2} +{else} + ring2 +{/if} + + + + + {$grandstream_distinctive_ringtone_3} + + + + {$grandstream_distinctive_ringtone_name_3} + + + + + {$grandstream_call_waiting} + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 60 + + + + + 20 + + + + + {$grandstream_dial_timeout} + + + + + 0 + + + + + + + + + 1 + + + + + 0 + + + + {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} + + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + + 0 + + + + + 0 + + + + + + + 100 + + + + + 1 + + + + + 180 + + + + + 90 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} + + + + + + + + 0 + + + + + + + 0 + + + + + 8 + + + + + 4 + + + + + 18 + + + + + 2 + + + + + 97 + + + + + 123 + + + + + 2 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 97 + + + + + 120 + + + + + 0 + + + + + 0 + + + + + {if isset($grandstream_fax_mode)} + 1 + {else} + 0 + {/if} + + + + + 1 + + + + + 1 + + + + + 1 + + + + + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + + + + 1 + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + 0 + + + + + + + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 1 + + + + + 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} + + + {$account.1.user_id} + + + {$account.1.user_id} + + + + {$account.1.password} + + + {$account.1.display_name} + + + + + {$tp2=0} + {if $account.2.sip_transport == 'udp'}{$t2p=0}{/if} + {if $account.2.sip_transport == 'tcp'}{$tp2=1}{/if} + {if $account.2.sip_transport == 'tls'}{$tp2=2}{/if} + {if $account.2.sip_transport == 'dns srv'}{$tp2=1}{/if} + {$tp2} + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + {$account.2.user_id} + + + {$account.2.user_id} + + + {$account.2.password} + + + {$account.2.display_name} + + + + 0 + + + + 0 + + + + + + {if isset($account.2.password)} + 1 + {else} + 0 + {/if} + + + + + + + + + + + + + + + + + {if isset($account.3.password)}1{else}0{/if} + + {$account.3.server_address} + + + {$account.3.user_id} + + + + {$account.3.password} + + + {$account.3.display_name} + + # SIP Transport 0 - UDP, 1 - TCP, 2 - TLS + # Number: 0, 1, 2 + # Mandatory + {$tp3=0} + {if $account.3.sip_transport == 'udp'}{$tp3=0}{/if} + {if $account.3.sip_transport == 'tcp'}{$tp3=1}{/if} + {if $account.3.sip_transport == 'tls'}{$tp3=2}{/if} + {if $account.3.sip_transport == 'dns srv'}{$tp3=1}{/if} + {$tp3} + + + + 0 + + + + 0 + + + + + + {if isset($account.3.password)} + 1 + {else} + 0 + {/if} + + + + + + + + + + + + + {$account.4.user_id} + + + {$account.4.user_id} + + + + {$account.4.password} + + + {$account.4.display_name} + + # SIP Transport 0 - UDP, 1 - TCP, 2 - TLS + # Number: 0, 1, 2 + # Mandatory + {$tp4=0} + {if $account.4.sip_transport == 'udp'}{$tp4=0}{/if} + {if $account.4.sip_transport == 'tcp'}{$tp4=1}{/if} + {if $account.4.sip_transport == 'tls'}{$tp4=2}{/if} + {if $account.4.sip_transport == 'dns srv'}{$tp4=1}{/if} + {$tp4} + + + + 0 + + + + 0 + + + + + + {if isset($account.4.password)} + 1 + {else} + 0 + {/if} + + + + + + + + + + + + {$account.5.user_id} + + + {$account.5.user_id} + + + {$account.5.password} + + + {$account.5.display_name} + + + + 0 + + + + 0 + + + + + + {if isset($account.5.password)} + 1 + {else} + 0 + {/if} + + + + + + + + + + + + {$account.6.user_id} + + + {$account.6.user_id} + + + {$account.6.password} + + + {$account.6.display_name} + + + + 0 + + + + 0 + + + + + + {if isset($account.6.password)} + 1 + {else} + 0 + {/if} + + + + + + + + + + + + {$account.7.user_id} + + + {$account.7.user_id} + + + {$account.7.password} + + + {$account.7.display_name} + + + + 0 + + + + 0 + + + + + + {if isset($account.7.password)} + 1 + {else} + 0 + {/if} + + + + + + + + + + + + {$account.8.user_id} + + + {$account.8.user_id} + + + {$account.8.password} + + + {$account.8.display_name} + + + + 0 + + + + 0 + + + + + + {if isset($account.8.password)} + 1 + {else} + 0 + {/if} + + + + + + + + + + + + + + + + + + + 10 + + + + + 10 + + + + + 5 + + + + + {$grandstream_web_access_mode} + + + + + 80 + + + + + 443 + + + + + 1 + + + + + 22 + + + + + + + 1 + + + + + + + + + + + + + {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} + + + + + {if isset($grandstream_ip_mode)}{$grandstream_ip_mode}{else}0{/if} + + + + + phone-{$mac|replace:'-':''} + + + + + + + + + 0 + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($grandstream_time_zone) } + {$grandstream_time_zone} + {elseif isset($grandstream_gxp_time_zone) } + {$grandstream_gxp_time_zone} + {else} + PST8PDT + {/if} + + + + + + + + + {if isset($grandstream_dhcp_time_zone)}{$grandstream_dhcp_time_zone}{else}0{/if} + + + + + 0 + + + + + + + + + + + + + + + + + + + + +