Added Grandstream HT802 provisioning file (#3364)

This commit is contained in:
danry25 2018-08-29 21:31:17 -07:00 committed by FusionPBX
parent 6e982bb3b9
commit 02cfb7e8ec
1 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<gs_provision version="1">
<config version="1">
<P2>{$admin_password}</P2> <!-- Admin password for web interface -->
<P212>1</P212> <!-- Firmware and provisioning protocol 0 - TFTP, 1 - HTTP, 2 - HTTPS -->
{if isset($grandstream_firmware_path) && isset($firmware_version)} <!-- Firmware Server Path -->
<P192>{$grandstream_firmware_path}/ht802/{$firmware_version}</P192>
{elseif isset($grandstream_firmware_path)}
<P192>{$grandstream_firmware_path}/ht802</P192>
{else}
<P192>{$domain_name}{$project_path}/app/provision</P192>
{/if}
<P237>{$domain_name}{$project_path}/app/provision</P237> <!-- Config Server Path -->
<P234></P234> <!-- config file prefix -->
{if isset($grandstream_qos_sip)} <!-- Layer 2 QoS 802.1p Priority Value for SIP signaling, Number: 0 to 7 -->
<P5038>{$grandstream_qos_sip}</P5038>
{else}
<P5038>0</P5038>
{/if}
{if isset($grandstream_qos_rtp)} <!-- Layer 2 QoS 802.1p Priority Value for RTP media, Number: 0 to 7 -->
<P5042>{$grandstream_qos_rtp}</P5042>
{else}
<P5042>0</P5042>
{/if}
<!-- Account 1 -->
<P47>{$server_address_1}</P47> <!-- SIP Server -->
<P48>{$outbound_proxy_1}</P48> <!-- Outbound Proxy -->
<P35>{$user_id_1}</P35> <!-- SIP User ID -->
<P36>{$user_id_1}</P36> <!-- Authenticate ID -->
<P34>{$user_password_1}</P34> <!-- Authenticate Password -->
<P3>{$display_name_1}</P3> <!-- Display Name -->
<P52>2</P52> <!-- NAT Traversal (STUN) 0 - No, 2 - No but send keep-alive, 1 - Yes, 3 - UPnP -->
<P84>20</P84> <!-- Keep-alive interval (in seconds. default 20 seconds, number: 10 to 160) -->
<P81>1</P81> <!-- Unregister On Reboot. 0 - No, 1 - Yes -->
<P32>3</P32> <!-- Register Expiration (in minutes. default 1 hour, max 45 days) -->
<P2330>90</P2330> <!-- Reregister before Expiration (in seconds. Default 0 second, number: 1 to 64800) -->
<P228>1</P228> <!-- FAX Mode. 0 - T.38 (Auto Detect), 1 - Pass Through -->
<P4367>0</P4367> <!-- Send Re-INVITE After Fax. 0 - No, 1 - Yes -->
<P4416>0</P4416> <!-- Re-INVITE After Fax Tone Detected. 0 - Disabled, 1 - Enabled. -->
<P133>1</P133> <!-- Jitter buffer type. 0 - Fixed, 1 - Adaptive -->
<P132>0</P132> <!-- Jitter buffer length. 0 - Low, 1 - Medium, 2 - High -->
<!-- SIP transport -->
{if $sip_transport_1 == 'udp'}<P130>0</P130>{/if}
{if $sip_transport_1 == 'tcp'}<P130>1</P130>{/if}
{if $sip_transport_1 == 'tls'}<P130>2</P130>{/if}
{if $sip_transport_1 == 'dns srv'}<P130>1</P130>{/if}
<!-- Account 2 -->
<!-- {if isset($user_id_2)} -->
<P747>{$server_address_2}</P747>
<P748>{$outbound_proxy_2}</P748> <!-- Outbound Proxy -->
<P735>{$user_id_2}</P735> <!-- SIP User ID -->
<P736>{$user_id_2}</P736> <!-- Authenticate ID -->
<P734>{$user_password_2}</P734> <!-- Authenticate Password -->
<P703>{$display_name_2}</P703> <!-- Display Name -->
<P710>1</P710> <!-- FAX Mode. 0 - T.38 (Auto Detect), 1 - Pass Through -->
<P4417>0</P4417> <!-- Re-INVITE After Fax Tone Detected. 0 - Disabled, 1 - Enabled. -->
<P832>0</P832> <!-- Jitter buffer length. 0 - Low, 1 - Medium, 2 - High -->
<P732>3</P732> <!-- Register Expiration (in minutes. default 1 hour, max 45 days, number: 1 to 64800) -->
<P752>1</P752> <!-- Unregister On Reboot. 0 - No, 1 - Yes -->
<P2430>0</P2430> <!-- Reregister before Expiration (in seconds. Default 0 second) -->
<!-- SIP transport -->
{if $sip_transport_2 == 'udp'}<P830>0</P830>{/if}
{if $sip_transport_2 == 'tcp'}<P830>1</P830>{/if}
{if $sip_transport_2 == 'tls'}<P830>2</P830>{/if}
{if $sip_transport_2 == 'dns srv'}<P830>1</P830>{/if}
<!-- {/if} -->
</config>
</gs_provision>