From 77a13ad9ea18c0ccc4c442309660bbc0f8f57df0 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 28 Oct 2023 02:31:24 -0600 Subject: [PATCH] Update Grandstream version 2 templates. No P-codes --- .../provision/grandstream/gxp2130/{$mac}.xml | 20521 +++------------ .../provision/grandstream/gxp2135/{$mac}.xml | 20522 +++------------ .../provision/grandstream/gxp2140/{$mac}.xml | 20523 +++------------ .../provision/grandstream/gxp2160/{$mac}.xml | 20521 +++------------ .../provision/grandstream/gxp2170/{$mac}.xml | 20535 +++------------- 5 files changed, 15997 insertions(+), 86625 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 7060816298..794b36de02 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -1,17359 +1,3240 @@ - - -{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - 1 - - - - {$account.1.display_name} - - - -{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' && isset($account.1.server_address_secondary)} - {$account.1.server_address_secondary}:{$account.1.sip_port} -{else} - {$account.1.server_address_secondary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_primary)} - {$account.1.outbound_proxy_primary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_primary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_secondary)} - {$account.1.outbound_proxy_secondary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_secondary} -{/if} - - - - - - - -{if isset($account.1.server_address_secondary)} - {$account.1.user_id}@{$account.1.server_address} -{else} - {$account.1.user_id} -{/if} - - - - {$account.1.auth_id} - - - - {$account.1.password} - - - - {$account.1.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.1.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_feature_key_sync)} - {$grandstream_feature_key_sync} -{/if} - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {if isset ($grandstream_jitter_adapt)} - {$grandstream_jitter_adapt} - {else} - 1 - {/if} - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 0 - - - - {$grandstream_dial_prefix} - - - - - -{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} - - - - mpk - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - -{if isset($grandstream_account_ring_tone_1)} - {$grandstream_account_ring_tone_1} -{/if} - - - -{if isset($grandstream_distinctive_ringtone_name_1)} - {$grandstream_distinctive_ringtone_name_1} -{else} - ring1 -{/if} - - - - - - {$grandstream_distinctive_ringtone_1} - - - -{if isset($grandstream_distinctive_ringtone_name_2)} - {$grandstream_distinctive_ringtone_name_2} -{else} - ring2 -{/if} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_intercom_playwarningtoneforautoanswer) } - {$grandstream_intercom_playwarningtoneforautoanswer} - {else} - 0 - {/if} - - - - - - - - - - - - {$grandstream_enable_call_features} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 20 - - - - - - - - - - -{if isset($account.2.password)} - 1 -{else} - 0 -{/if} - - - - {$account.2.display_name} - - - -{if $account.2.sip_transport != 'dns srv'} - {$account.2.server_address}:{$account.2.sip_port} -{else} - {$account.2.server_address} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.server_address_secondary)} - {$account.2.server_address_secondary}:{$account.2.sip_port} -{else} - {$account.2.server_address_secondary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_primary)} - {$account.2.outbound_proxy_primary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_primary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_secondary)} - {$account.2.outbound_proxy_secondary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.2.user_id} - - - - {$account.2.auth_id} - - - - {$account.2.password} - - - - {$account.2.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.2.register_expires} - - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 100 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {$grandstream_accept_sip_from_proxy_only} - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_2)} - {$grandstream_account_ring_tone_2} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.3.password)} - 1 -{else} - 0 -{/if} - - - - {$account.3.display_name} - - - -{if $account.3.sip_transport != 'dns srv'} - {$account.3.server_address}:{$account.3.sip_port} -{else} - {$account.3.server_address} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.server_address_secondary)} - {$account.3.server_address_secondary}:{$account.3.sip_port} -{else} - {$account.3.server_address_secondary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_primary)} - {$account.3.outbound_proxy_primary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_primary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_secondary)} - {$account.3.outbound_proxy_secondary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.3.user_id} - - - - {$account.3.auth_id} - - - - {$account.3.password} - - - - {$account.3.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.3.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5064 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.3.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.3.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.3.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_3)} - {$grandstream_account_ring_tone_3} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.4.password)} - 1 -{else} - 0 -{/if} - - - - {$account.4.display_name} - - - -{if $account.4.sip_transport != 'dns srv'} - {$account.4.server_address}:{$account.4.sip_port} -{else} - {$account.4.server_address} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.server_address_secondary)} - {$account.4.server_address_secondary}:{$account.4.sip_port} -{else} - {$account.4.server_address_secondary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_primary)} - {$account.4.outbound_proxy_primary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_primary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_secondary)} - {$account.4.outbound_proxy_secondary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.4.user_id} - - - - {$account.4.auth_id} - - - - {$account.4.password} - - - - {$account.4.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.4.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5066 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.4.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.4.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.4.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_4)} - {$grandstream_account_ring_tone_4} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.5.password)} - 1 -{else} - 0 -{/if} - - - - {$account.5.display_name} - - - -{if $account.5.sip_transport != 'dns srv'} - {$account.5.server_address}:{$account.5.sip_port} -{else} - {$account.5.server_address} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.server_address_secondary)} - {$account.5.server_address_secondary}:{$account.5.sip_port} -{else} - {$account.5.server_address_secondary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_primary)} - {$account.5.outbound_proxy_primary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_primary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.5.user_id} - - - - {$account.5.auth_id} - - - - {$account.5.password} - - - - {$account.5.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.5.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5068 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.5.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.5.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.5.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_5)} - {$grandstream_account_ring_tone_5} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.6.password)} - 1 -{else} - 0 -{/if} - - - - {$account.6.display_name} - - - -{if $account.6.sip_transport != 'dns srv'} - {$account.6.server_address}:{$account.6.sip_port} -{else} - {$account.6.server_address} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.server_address_secondary)} - {$account.6.server_address_secondary}:{$account.6.sip_port} -{else} - {$account.6.server_address_secondary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_primary)} - {$account.6.outbound_proxy_primary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_primary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.6.user_id} - - - - {$account.6.auth_id} - - - - {$account.6.password} - - - - {$account.6.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.6.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5070 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.6.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.6.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.6.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_6)} - {$grandstream_account_ring_tone_6} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} - - - - - - {$grandstream_ip_address_mode} - - - - - - - phone-{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + {literal} + + + + + + + + + + {/literal} + + + + + + + +{foreach $account as $row} + + + + {if $row.enabled == 'true'} + Yes + {else} + No + {/if} + + + {$row.label} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + {$row.server_address_secondary} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_primary)} + {$row.outbound_proxy_primary}:{$row.sip_port} + {else} + {$row.outbound_proxy_primary} + {/if} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_secondary)} + {$row.outbound_proxy_secondary}:{$row.sip_port} + {else} + {$row.outbound_proxy_secondary} + {/if} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + + {$row.user_id} + + + {$row.user_id} + + + {$row.password} + + + {$row.display_name} + + + {$voicemail_number} + + + + + + + User Name + + + + + ARecord + + + + Default + + + + No + + + + + + + + + + + + + Auto - - - + + + Yes - - - - - - {if isset($grandstream_ipv4octet_1)}{$grandstream_ipv4octet_1}{else}192{/if} + + + + + + No + + + + + + Disabled + + + + Yes + + + + No + + + + 15 + + + + 60 + + + + 0 - - {if isset($grandstream_ipv4octet_2)}{$grandstream_ipv4octet_2}{else}168{/if} + + + Yes - - {if isset($grandstream_ipv4octet_3)}{$grandstream_ipv4octet_3}{else}1{/if} + + 30 - - {if isset($grandstream_ipv4octet_4)}{$grandstream_ipv4octet_4}{else}102{/if} + + 3 - - - {if isset($grandstream_ipv4mask_1)}{$grandstream_ipv4mask_1}{else}255{/if} + + {$row.sip_port} - - {if isset($grandstream_ipv4mask_2)}{$grandstream_ipv4mask_2}{else}255{/if} + + 20 - - {if isset($grandstream_ipv4mask_3)}{$grandstream_ipv4mask_3}{else}0{/if} + + + 0.5sec - - {if isset($grandstream_ipv4mask_4)}{$grandstream_ipv4mask_4}{else}0{/if} + + + 4sec - - - {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_1}{else}192{/if} + + + {if $row.sip_transport == ''}TCP{/if} + {if $row.sip_transport == 'UDP'}UDP{/if} + {if $row.sip_transport == 'TCP'}TCP{/if} + {if $row.sip_transport == 'TLS'}Tls{/if} - - {if isset($grandstream_ipv4gw_2)}{$grandstream_ipv4gw_2}{else}168{/if} + + + Transport_Only - - {if isset($grandstream_ipv4gw_3)}{$grandstream_ipv4gw_3}{else}2{/if} + + + sips - - {if isset($grandstream_ipv4gw_4)}{$grandstream_ipv4gw_4}{else}1{/if} + + + No - - - {if isset($grandstream_ipv4dns1_1)}{$grandstream_ipv4dns1_1}{else}0{/if} + + + InRoute - - {if isset($grandstream_ipv4dns1_2)}{$grandstream_ipv4dns1_2}{else}0{/if} + + + Yes - - {if isset($grandstream_ipv4dns1_3)}{$grandstream_ipv4dns1_3}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns1_4)}{$grandstream_ipv4dns1_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4dns2_1)}{$grandstream_ipv4dns2_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns2_2)}{$grandstream_ipv4dns2_2}{else}0{/if} + + + Auto - - {if isset($grandstream_ipv4dns2_3)}{$grandstream_ipv4dns2_3}{else}0{/if} + + + Header - - {if isset($grandstream_ipv4dns2_4)}{$grandstream_ipv4dns2_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4preferdns_1)}{$grandstream_ipv4preferdns_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_2)}{$grandstream_ipv4preferdns_2}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_3)}{$grandstream_ipv4preferdns_3}{else}0{/if} + + + + + Default - - {if isset($grandstream_ipv4preferdns_4)}{$grandstream_ipv4preferdns_4}{else}0{/if} + + + Default - - - - 0 + + + Yes - - - 0 + + + Yes - - + + + Yes - - + + + No - - + + + No - - - + + + + + 15 - - - + + + + + + Disabled + + + - - - + + + + + + Auto + + + ** - - - + + - - - - 0 + + + No - - - + + + No - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26 - - - - - 46 - - - - - 0 - - - - -{if isset($grandstream_lan_port_vlan) } - 1 - - - - - - {$grandstream_lan_port_vlan} - -{else} - 0 - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_pc_port_vlan) } - {$grandstream_pc_port_vlan} -{else} - 0 -{/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 30 - - - - - 1500 - - - - - 0 - - - - - - - - 1 - - - - - 1 - - - - - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_bluetooth_power)} - {$grandstream_bluetooth_power} -{/if} - - - - -{if isset($grandstream_bluetooth_handsfree)} - {$grandstream_bluetooth_handsfree} -{/if} - - - - - - - - - - - -{if isset($grandstream_openvpn_enable)} - {$grandstream_openvpn_enable} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_server} - - - - -{if isset($grandstream_openvpn_port)} - {$grandstream_openvpn_port} -{else} - 1194 -{/if} - - - - -{if isset($grandstream_openvpn_transport)} - {$grandstream_openvpn_transport} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_ca} - - - - {$grandstream_openvpn_cert} - - - - {$grandstream_openvpn_key} - - - - -{if isset($grandstream_openvpn_cipher)} - {$grandstream_openvpn_cipher} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_username} - - - - {$grandstream_openvpn_password} - - - - {$grandstream_openvpn_options} - - - - - - - - 0 - - - - - 3 - - - - - 161 - - - - - - - - 162 - - - - 5 - - - - 1 - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - {$user_password} - - - -{if isset($admin_password)} - {$admin_password} -{else} - {$mac|replace:'-':''} -{/if} - - - - - - - - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} - - - - - {if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if} - - - - - - {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} - - - - - 0 - - - - - - - - - - 0 - - - - - 10080 - - - - - 0 - - - - 1 - - - - 0 - - - - 1 - - - - - 0 - - - - - 1 - - - - - - 2 - - - -{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} - - - -{$http_auth_username} - - - -{$http_auth_password} - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_firmware_upgrade_protocol) } - {$grandstream_firmware_upgrade_protocol} - {else} - 1 - {/if} - - - -{if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/{$firmware_version} -{elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path} -{else} - {$domain_name}{$project_path}/app/provision/resources/firmware/ -{/if} - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - {$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 - - - - - 0 - - - - - - - - - - - - - - - -{if isset($grandstream_display_language)} - {$grandstream_display_language} -{else} - Auto -{/if} - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - {if isset ($grandstream_tr069_periodic_inform_enable)} -{$grandstream_tr069_periodic_inform_enable} -{else} -0 -{/if} - - - - - 86400 - - - - {$mac|replace:'-':''|upper} - - - - {$mac|replace:'-':''|upper} - - - - 7547 - - - - - - - - - - - - - 0 - - - - - - - - {$grandstream_config_via_keypad} - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - - 80 - - - - - 443 - - - - 1 - - - - 5 - - - - 20 - - - - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - {$grandstream_phonebook_download} - - - - {$http_auth_username} - - - - {$http_auth_password} - - - - - -{if isset($grandstream_phonebook_xml_server_path)} - {$grandstream_phonebook_xml_server_path}/{$mac} -{else} - -{/if} - - - - -{if isset($grandstream_phonebook_download_interval)} - {$grandstream_phonebook_download_interval} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_sort_phonebook_by)} - {$grandstream_sort_phonebook_by} -{else} - 0 -{/if} - - - - -{if isset($contact_groups) || isset($contact_users) || isset($contact_extensions)} - 2 -{else} - 0 -{/if} - - - - -{if isset($grandstream_phonebook_search_mode)} - {$grandstream_phonebook_search_mode} -{else} - 0 -{/if} - - - - - - - - 0 - - - - {$grandstream_ldap_server} - - - - 389 - - - - - - {$grandstream_ldap_base_dn} - - - - {$grandstream_ldap_username} - - - - {$grandstream_ldap_password} - - - - - {$grandstream_ldap_number_filter} - - - - - {$grandstream_ldap_name_filter} - - - - - 3 - - - - - {$grandstream_ldap_name_attr} - - - - - {$grandstream_ldap_number_attr} - - - - {$grandstream_ldap_display_name} - - - - - - 50 - - - - - - 30 - - - - - 0 - - - - 0 - - - 0 - - - - givenName sn title - - - - 0 - - - - - - - - 5004 - - - - - 200 - - - - - 1 - - - - - 20 - - - - - - - -{if isset($grandstream_stun_server) } - {$grandstream_stun_server} -{else} - -{/if} - - - - -{if isset($grandstream_public_mode) } - {$grandstream_public_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - 0 - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - 4320 - - - - 100 - - - - 100 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - {if isset($grandstream_missed_call_log) } - {$grandstream_missed_call_log} - {else} - 0 - {/if} - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - - - - - - - 5222 - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode - - - - - {if isset($grandstream_onhook_dial_barging)} - {$grandstream_onhook_dial_barging} - {else} - 1 - {/if} - - - - - - - - 0 - - - - - 30 - - - - - 0 - - - - - 5 - - - - - 0 - - - - - 10 - - - - - 20 - - - - - {if isset($grandstream_history_dialplan_bypass)} - {$grandstream_history_dialplan_bypass} - {/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_disable_active_mpk_page)} - {$grandstream_disable_active_mpk_page} -{else} - 0 -{/if} - - - - - 0 - - - - -{if isset($dnd)} - {$dnd} -{else} - 1 -{/if} - - - - -{if isset($grandstream_idle_mute_function)} - {$grandstream_idle_mute_function} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_auto_attended_transfer)} - {$grandstream_auto_attended_transfer} -{else} - 1 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 10 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - {$grandstream_blf_remote_status} - - - - - 1 - - - - - {if isset($grandstream_missed_call_notification) } - {$grandstream_missed_call_notification} - {else} - 0 - {/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 1 - - - - - - - - - - - - 0 - - - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_multicast_paging_codec) } - {$grandstream_multicast_paging_codec} - {else} - 0 - {/if} - - - - {if isset($grandstream_multicast_channel_number) } - {$grandstream_multicast_channel_number} - {else} - 0 - {/if} - - - - {$account.1.display_name} - - - - - - {if isset($grandstream_multicast_listening_address_1) } - {$grandstream_multicast_listening_address_1} - {else} - - {/if} - - - - {if isset($grandstream_multicast_listening_label_1) } - {$grandstream_multicast_listening_label_1} - {else} - - {/if} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_headset_key_mode)} - {$grandstream_headset_key_mode} -{/if} - - - - -{if isset($grandstream_headset_type)} - {$grandstream_headset_type} - - - - - {$grandstream_headset_type} -{/if} - - - - -{if isset($grandstream_headset_ring)} - {$grandstream_headset_ring} -{/if} - - - - - 0 - - - - -{if isset($grandstream_headset_tx_gain)} - {$grandstream_headset_tx_gain} -{else} - 0 -{/if} - - - - -{if isset($grandstream_headset_rx_gain)} - {$grandstream_headset_rx_gain} -{else} - 0 -{/if} - - - - - 0 - - - - - - -{if isset($ntp_server_primary)} - {$ntp_server_primary} -{else} - pool.ntp.org -{/if} - - - -{if isset($ntp_server_secondary)} - {$ntp_server_secondary} -{else} - 2.us.pool.ntp.org -{/if} - - - - - 1440 - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_timezone) } - {$grandstream_timezone} -{elseif isset($grandstream_gxp_time_zone) } - {$grandstream_gxp_time_zone} -{else} - auto -{/if} - - - - - - {if isset($grandstream_dhcp_time_zone)} - {$grandstream_dhcp_time_zone} - {else} - 1 - {/if} - - - - - MTZ+6MDT+5,M4.1.0,M11.1.0 - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - {$grandstream_lcd_brightness} - - - - - {$grandstream_lcd_brightness_idle} - - - - - {$grandstream_active_backlight_timeout} - - - - - {if isset($grandstream_missed_call_backlight) } - {$grandstream_missed_call_backlight} - {else} - 0 - {/if} - - - - - -{if isset($grandstream_wallpaper_url)} - 1 -{/if} - - - -{if isset($grandstream_wallpaper_url)} - {$grandstream_wallpaper_url} -{/if} - - - - #000000 - - - - -{if isset($grandstream_screensaver)} - {$grandstream_screensaver} -{/if} - - - - -{if isset($grandstream_screensaver_source)} - {$grandstream_screensaver_source} -{/if} - - - - - -{if isset($grandstream_screensaver_show_date_time)} - {$grandstream_screensaver_show_date_time} -{else} - 1 -{/if} - - - - -{if isset($grandstream_screensaver_timeout)} - {$grandstream_screensaver_timeout} -{else} - 3 -{/if} - - - -{if isset($grandstream_screensaver_server_path)} - {$grandstream_screensaver_server_path} -{else} - -{/if} - - - - -{if isset($grandstream_screensaver_xml_download_interval)} - {$grandstream_screensaver_xml_download_interval} -{else} - 0 -{/if} - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - f1=440,f2=480,c=200/400; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440,c=10/10; - - - - - f1=440,f2=480,c=200/400; - - - - - f1=440,f2=440,c=25/525; - - - - - 0 - - - - - f1=480,f2=620,c=50/50; - - - - - f1=480,f2=620,c=25/25; - - - - -{if isset($grandstream_speaker_ring_volume)} - {$grandstream_speaker_ring_volume} -{/if} - - - - - 5 - - - - - 0 - - - - -{if isset($grandstream_default_ringtone)} - {$grandstream_default_ringtone} -{/if} - - - - - - - - - - - 1 - - - - - 1 - - - - - - -{if isset($grandstream_city_code)} - 0 -{/if} - - - -{if isset($grandstream_city_code)} - {$grandstream_city_code} -{/if} - - - - - 15 - - - - -{if isset ($grandstream_temp_unit)} - {$grandstream_temp_unit} -{/if} - - - - - - -{if isset($xmlappurl)} - {$xmlappurl}?token={$xmlapptoken} - {$xmlapp} -{elseif isset($xmlapp)} - https://{$server_address_1}/app/change-caller-id/app.php?token={$xmlapptoken} - {$xmlapp} -{/if} - - - - - - - - - 0 - - - - - - - - - - - - {$grandstream_label_background} - - - - - {$grandstream_long_label} - - - - - - {if isset ($grandstream_key_mode)} - {$grandstream_key_mode} - {else} - 1 - {/if} - - - - - {if isset($grandstream_transfer_mode_via_vpk)} - {$grandstream_transfer_mode_via_vpk} - {else} - 0 - {/if} - - - - - {$grandstream_blind_xfer_blf} - - - - - 0 - - - - - {if isset($grandstream_show_key_labels)} - {$grandstream_show_key_labels} - {else} - 1 - {/if} - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{$fixed_keys=4} -{if $template == "grandstream/gxp2130"}{$fixed_keys=3}{/if} -{if $template == "grandstream/gxp2140"}{$fixed_keys=4}{/if} -{if $template == "grandstream/gxp2160"}{$fixed_keys=6}{/if} -{if $template == "grandstream/gxp2170"}{$fixed_keys=12}{/if} -{if $template == "grandstream/gxp2135"}{$fixed_keys=8}{/if} - -{$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>0,"shared line"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, "eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"multicast paging"=>23,"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} - -{for $line=1 to 6} -{$pid=$line*2-2} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} -0 -{$line-1} - - -{else} --1 -{/if} -{/if} - -{/for} - - -{$start_id=23800} -{for $line=7 to 48} -{$pid=($line-6)*4-4} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} --1 -0 - - -{else} --1 -{/if} -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"conference"=>12,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=323} -{for $mem=1 to 7} -{$pid=$mem*3-3} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.memory.$mem.device_key_type|in_array:$key_types} - - - - - - - -{$key_types[$keys.memory.$mem.device_key_type]} - - -{$keys.memory.$mem.device_key_line} - - -{$keys.memory.$mem.device_key_label} - - -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{$start_id=353} -{for $mem=8 to 18} -{$pid=($mem-7)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - - -{$start_id=1440} -{for $mem=19 to 24} -{$pid=($mem-18)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - 0 - - - - - - 1 - - - - - - 0 - - - - - 0 - - - - - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target - - - - BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target - - - - Answer,Reject,Forward,ReConf - - - - BTOnOff,EndCall,ReConf,ConfRoom,ConfCall - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,ConfCall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark - - - - BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add - - - - ReConf,Resume,HoldTrnf,ConfCall,Add - - - - EndCall,ReConf,ConfRoom - - - - BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target - - - - BTOnOff,Cancel,Dial,Backspace,Target - - - - - - - - - - - -{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21,"menu"=>27]} -{$start_id=2987} -{for $prog=1 to 3} -{$pid=$prog*4-4} -{if isset($keys.programmable.$prog.device_key_category) && isset($keys.programmable.$prog.device_key_type) && $keys.programmable.$prog.device_key_type|in_array:$key_types} -{$key_types[$keys.programmable.$prog.device_key_type]} -{$keys.programmable.$prog.device_key_line} -{$keys.programmable.$prog.device_key_label} -{$keys.programmable.$prog.device_key_value} -{else} -0 -0 - - -{/if} - -{/for} - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - -{if $template == "grandstream/gxp2140"||$template == "grandstream/gxp2170"} - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=23000} -{for $exp=1 to 160} -{$pid=$exp*5-5} -{if isset($keys.expansion.$exp.device_key_category) && isset($keys.expansion.$exp.device_key_type) && $keys.expansion.$exp.device_key_type|in_array:$key_types} -{$key_types[$keys.expansion.$exp.device_key_type]} -{$keys.expansion.$exp.device_key_line} -{$keys.expansion.$exp.device_key_label} -{$keys.expansion.$exp.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} -{/if} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - + + + Disabled + + + + Standard + + + + No + + + + No + + + + No + + + + No + + + + No + + + + No + + + + + + No + + + + 180 + + + 90 + + + + No + + + + No + + + + No + + + + UAC + + + + 1 + + + + No + + + + + + No + + + + + + + + No + + + + No + + + + No + + + + Yes + + + + No + + + + + + PCMU + PCMA + G.723.1 + G.729A/B + G.722 + iLBC + G.726-32 + OPUS + + + + No + + + + Callee + + + + No + + + + No + + + + Disabled + + + + AES128And256Bit + + + + Yes + + + + No + + + + No + + + + Adaptive + + + + 300ms + + + + 2 + + + + 5.3kbpsEncodingRate + + + + ITU + + + + 30ms + + + 97 + + + 123 + + + 101 + + + + No + Yes + No + + + + 250 + + + + + No + + + + + + {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} + + + + Mpk + + + + All + + + + No + + + + No + + + + No + + + + + + + No + + + + No + + + + + + + + 30 + + + + 4 + + + + Pound + + + + Yes + + + + No + + + + + + + 0 + + + + {$grandstream_call_waiting} + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + 60 + + + + + + + + Yes + + + + No + + + + No + + + + Yes + + + + + + + + + + + + Yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 + +{/foreach} + + + + + + + + {if isset($grandstream_internet_protocol)} + {$grandstream_internet_protocol} + {else} + IPv4Only + {/if} + + + + {if isset($grandstream_ip_address_type)} + {$grandstream_ip_address_type} + {else} + DHCP + {/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 192 + + 168 + + 0 + + 160 + + + + + 255 + + 255 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + + + + AutoConfigured + + + + + + + + + + + + + + + + + + + + + + + + + + Disable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 26 + + + + + 46 + + + + No + + + + No + + + + Yes + + + + + 0 + + + + 0 + + + + Enabled + + + 0 + + + 0 + + + + Yes + + + + Yes + + + 60 + + + + 1500 + + + + + + Yes + + + Yes + + + + + + + No + + + + + + No + + + 0 + + + + + + + On + + + + + + + + + + + + + + + + + + + + No + + + + 0 + + + + + + 1194 + + + + UDP + + + + + + + + + + + + + + + + + + + + Blowfish + + + + + + + + + + Yes + + + + + + + + + + No + + + Version3 + + + + 161 + + + + + + + + Version2 + + + + + + + + 162 + + + + 5 + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + {if isset($user_password)} + {$user_password} + {/if} + + + + {if isset($admin_password)} + {$admin_password} + {else} + {$mac|replace:'-':''} + {/if} + + + + + + + + AlwaysCheck + + + No + + + No + + + + + + {if isset($grandstream_dhcp_option_override)} + {$grandstream_dhcp_option_override} + {else} + Yes + {/if} + + + {if isset($grandstream_dhcp_option_additional_override)} + {$grandstream_dhcp_option_additional_override} + {else} + None + {/if} + + + + {if isset($grandstream_dhcp_option_override_sip_server)} + {$grandstream_dhcp_option_override_sip_server} + {else} + No + {/if} + + + Yes + + + + No + + + + 10080 + + + No + + + 1 + + + + + + 1 + + + No + + + Yes + + + + HTTPS + + + {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} + + + {$http_auth_username} + + {$http_auth_password} + + + + + + + + + + + No + + + No + + + No + + + + HTTP + + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path} + {else} + {$domain_name}{$project_path}/app/provision/resources/firmware/ + {/if} + + + + + + + + + + + + + + + + + UDP + + + {$grandstream_syslog_server} + + + + {$grandstream_syslog_level} + + + + + + {$grandstream_send_sip_log} + + + No + + + Yes + + + No + + + + + + + + + + + + + + + Automatic + + + + + + + + + + + + + + No + + + https://acs.gdms.cloud + + + + + + + + + + Yes + + + 86400 + + + + + + + + + 7547 + + + + + + + + + No + + + + + + + Unrestricted + + + + Default + + + No + + + + + + + + + + + + + HTTPS + + + Yes + + + 80 + + + 443 + + + + Yes + + + + 22 + + + + 5 + + + + 10 + + + + 5 + + + + TLS_1_1 + + + + UNLIMITED + + + + 0 + + + + + + + Default Certificates + + + + + + No + + + + 0 + + + + + + + + 0 + + + + 112,911,110 + + + + + + + InternalStorage + + + No + + + No + + + + 0 + + + + + + + EnabledUseHTTPS + + + {$grandstream_phonebook_username} + + + {$grandstream_phonebook_password} + + + {$grandstream_phonebook_server} + + + + {$grandstream_phonebook_download_interval} + + + Yes + + + Replace + + + + LastName + + + + Default + + + + QuickMatch + + + + + + + + LDAP + + + + + + + 389 + + + + + + + + + + + + + + + + + + + + + version3 + + + + + + + + + + + + + + + + + 50 + + + + + 30 + + + + No + + + + No + + + + No + + + + + + + + No + + + + + + + + 5004 + + + + 200 + + + + Yes + + + + 20 + + + + + + + + + + + 0 + + + + No + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4320 + + + + 100 + + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5222 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + Account1 + + + Yes + + + + CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode + + + Yes + + + + + + + + 0 + + + 30 + + + No + + + + 5 + + + No + + + 10 + + + 20 + + + + + + + {$grandstream_call_waiting} + + + + Yes + + + + + + + Yes + + + + Yes + + + No + + + + Yes + + + + Yes + + + No + + + No + + + No + + + Yes + + + No + + + + + + No + + + + + + + + Yes + + + + + + + Dynamic + + + + BlindTransfer + + + Yes + + + [()- ]+ + + + + Yes + + + No + + + Default + + + + Busy + + + + TemporarilyUnavailable + + + No + + + No + + + + + + + + + + No + + + InternalStorage + + + Yes + + + + 10 + + + + + + 0 + + + + + + + + + + + + + Yes + + + Yes + + + + + + Yes + + + Yes + + + Yes + + + No + + + No + + + + + + + + + + + + + + + + + + Yes + + + + G.722 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DefaultMode + + + Normal + + + Normal + + + + 0 + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + pool.ntp.org + + + + + + + + + 1440 + + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($grandstream_time_zone)} + {$grandstream_time_zone} + {else} + auto + {/if} + + + Yes + + + + + MTZ+6MDT+5,M4.1.0,M11.1.0 + + + + + + + + {if isset($grandstream_format_date)} + {$grandstream_format_date} + {else} + yyyy-mm-dd + {/if} + + + + {if isset($grandstream_format_time)} + {$grandstream_format_time} + {else} + 12Hour + {/if} + + + {if isset($grandstream_show_clock)} + {$grandstream_show_clock} + {else} + Yes + {/if} + + + + + + + + + + + 100 + + + + 60 + + + + 1 + + + + 1 + + + + {if isset($grandstream_wallpaper_url)} + Download + {else} + Default + {/if} + + + + {if isset($grandstream_wallpaper_url)} + {$grandstream_wallpaper_url} + {/if} + + + + #000000 + + + + OnIfNoVPKIsActive + + + + + + Yes + + + + 3 + + + + + + + + 0 + + + + + + 0 + + + + Yes + + + + + + + + + f1=440,f2=480,c=200/400; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440,c=10/10; + + + + + f1=440,f2=480,c=200/400; + + + + + f1=440,f2=440,c=25/525; + + + + Low + + + + + f1=480,f2=620,c=50/50; + + + + + f1=480,f2=620,c=25/25; + + + + + 5 + + + + + 5 + + + + + 0 + + + No + + + 0 + + + + + 3 + + + + + + + Yes + + + + + + + + + + + XMLApp + + + + + + + + + + No + + + + + + No + + + HTTP + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + geodetic,civic,locationURI + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 911 + + + No + + + No + + + + + + + + + + Yes + + + + AccountMode + + + BlindTransfer + + + No + + + Show + + + + + + {literal} + + + + + + + + + + + + + + + + + + + + + + + + + + {/literal} + +{assign var=key_types value=["none"=>-1,"line"=>0,"shared"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, +"eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17, +"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"conference"=>22,"multicast paging"=>23, +"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} + +{foreach $keys['line'] as $row} +{$line=$row.device_key_id} + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + + {$row.device_key_line} + + + + {$row.device_key_label} + + + + {$row.device_key_value} + + + + +{/foreach} + + + + + + + + Menu + + + + Yes + + + No + + + No + + + + + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target + + + + BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target + + + + Answer,Reject,Forward,ReConf + + + + BTOnOff,Cancel,EndCall,ReConf,ConfRoom,ConfCall + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Custom-Confcall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark + + + + BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add + + + + ReConf,Resume,HoldTrnf,ConfCall,Add + + + + EndCall,ReConf,ConfRoom + + + + BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target + + + + BTOnOff,Cancel,Dial,Backspace,Target + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + {literal} + + + + + + + + + + + + + {/literal} + +{foreach $keys['memory'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + + + + + + No + + + + No + + + + + {literal} + + + + + + + + + + + {/literal} + +{foreach $keys['expansion'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + + + diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index 4addd0f028..7ec0204c83 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -1,17362 +1,3238 @@ - - -{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - 1 - - - - {$account.1.display_name} - - - -{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' && isset($account.1.server_address_secondary)} - {$account.1.server_address_secondary}:{$account.1.sip_port} -{else} - {$account.1.server_address_secondary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_primary)} - {$account.1.outbound_proxy_primary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_primary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_secondary)} - {$account.1.outbound_proxy_secondary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_secondary} -{/if} - - - - - - - -{if isset($account.1.server_address_secondary)} - {$account.1.user_id}@{$account.1.server_address} -{else} - {$account.1.user_id} -{/if} - - - - {$account.1.auth_id} - - - - {$account.1.password} - - - - {$account.1.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.1.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_feature_key_sync)} - {$grandstream_feature_key_sync} -{/if} - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {if isset ($grandstream_jitter_adapt)} - {$grandstream_jitter_adapt} - {else} - 1 - {/if} - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 0 - - - - {$grandstream_dial_prefix} - - - - - -{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} - - - - mpk - - - - - 0 - - - - - 0 - - - - - 0 - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - -{if isset($grandstream_account_ring_tone_1)} - {$grandstream_account_ring_tone_1} -{/if} - - - -{if isset($grandstream_distinctive_ringtone_name_1)} - {$grandstream_distinctive_ringtone_name_1} -{else} - ring1 -{/if} - - - - - - {$grandstream_distinctive_ringtone_1} - - - -{if isset($grandstream_distinctive_ringtone_name_2)} - {$grandstream_distinctive_ringtone_name_2} -{else} - ring2 -{/if} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_intercom_playwarningtoneforautoanswer) } - {$grandstream_intercom_playwarningtoneforautoanswer} - {else} - 0 - {/if} - - - - - - - - - - - - {$grandstream_enable_call_features} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 20 - - - - - - - - - - -{if isset($account.2.password)} - 1 -{else} - 0 -{/if} - - - - {$account.2.display_name} - - - -{if $account.2.sip_transport != 'dns srv'} - {$account.2.server_address}:{$account.2.sip_port} -{else} - {$account.2.server_address} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.server_address_secondary)} - {$account.2.server_address_secondary}:{$account.2.sip_port} -{else} - {$account.2.server_address_secondary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_primary)} - {$account.2.outbound_proxy_primary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_primary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_secondary)} - {$account.2.outbound_proxy_secondary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.2.user_id} - - - - {$account.2.auth_id} - - - - {$account.2.password} - - - - {$account.2.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.2.register_expires} - - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 100 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {$grandstream_accept_sip_from_proxy_only} - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_2)} - {$grandstream_account_ring_tone_2} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.3.password)} - 1 -{else} - 0 -{/if} - - - - {$account.3.display_name} - - - -{if $account.3.sip_transport != 'dns srv'} - {$account.3.server_address}:{$account.3.sip_port} -{else} - {$account.3.server_address} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.server_address_secondary)} - {$account.3.server_address_secondary}:{$account.3.sip_port} -{else} - {$account.3.server_address_secondary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_primary)} - {$account.3.outbound_proxy_primary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_primary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_secondary)} - {$account.3.outbound_proxy_secondary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.3.user_id} - - - - {$account.3.auth_id} - - - - {$account.3.password} - - - - {$account.3.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.3.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5064 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.3.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.3.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.3.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_3)} - {$grandstream_account_ring_tone_3} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - grandstream_distinctive_ringtone_name_2 - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.4.password)} - 1 -{else} - 0 -{/if} - - - - {$account.4.display_name} - - - -{if $account.4.sip_transport != 'dns srv'} - {$account.4.server_address}:{$account.4.sip_port} -{else} - {$account.4.server_address} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.server_address_secondary)} - {$account.4.server_address_secondary}:{$account.4.sip_port} -{else} - {$account.4.server_address_secondary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_primary)} - {$account.4.outbound_proxy_primary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_primary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_secondary)} - {$account.4.outbound_proxy_secondary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.4.user_id} - - - - {$account.4.auth_id} - - - - {$account.4.password} - - - - {$account.4.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.4.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5066 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.4.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.4.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.4.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_4)} - {$grandstream_account_ring_tone_4} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.5.password)} - 1 -{else} - 0 -{/if} - - - - {$account.5.display_name} - - - -{if $account.5.sip_transport != 'dns srv'} - {$account.5.server_address}:{$account.5.sip_port} -{else} - {$account.5.server_address} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.server_address_secondary)} - {$account.5.server_address_secondary}:{$account.5.sip_port} -{else} - {$account.5.server_address_secondary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_primary)} - {$account.5.outbound_proxy_primary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_primary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.5.user_id} - - - - {$account.5.auth_id} - - - - {$account.5.password} - - - - {$account.5.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.5.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5068 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.5.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.5.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.5.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_5)} - {$grandstream_account_ring_tone_5} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.6.password)} - 1 -{else} - 0 -{/if} - - - - {$account.6.display_name} - - - -{if $account.6.sip_transport != 'dns srv'} - {$account.6.server_address}:{$account.6.sip_port} -{else} - {$account.6.server_address} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.server_address_secondary)} - {$account.6.server_address_secondary}:{$account.6.sip_port} -{else} - {$account.6.server_address_secondary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_primary)} - {$account.6.outbound_proxy_primary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_primary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.6.user_id} - - - - {$account.6.auth_id} - - - - {$account.6.password} - - - - {$account.6.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.6.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5070 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.6.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.6.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.6.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_6)} - {$grandstream_account_ring_tone_6} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} - - - - - - {$grandstream_ip_address_mode} - - - - - - - phone-{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + {literal} + + + + + + + + + + {/literal} + + + + + + + +{foreach $account as $row} + + + + {if $row.enabled == 'true'} + Yes + {else} + No + {/if} + + + {$row.label} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + {$row.server_address_secondary} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_primary)} + {$row.outbound_proxy_primary}:{$row.sip_port} + {else} + {$row.outbound_proxy_primary} + {/if} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_secondary)} + {$row.outbound_proxy_secondary}:{$row.sip_port} + {else} + {$row.outbound_proxy_secondary} + {/if} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + + {$row.user_id} + + + {$row.user_id} + + + {$row.password} + + + {$row.display_name} + + + {$voicemail_number} + + + + + + + User Name + + + + + ARecord + + + + Default + + + + No + + + + + + + + + + + + + Auto - - - + + + Yes - - - - - - {if isset($grandstream_ipv4octet_1)}{$grandstream_ipv4octet_1}{else}192{/if} + + + + + + No + + + + + + Disabled + + + + Yes + + + + No + + + + 15 + + + + 60 + + + + 0 - - {if isset($grandstream_ipv4octet_2)}{$grandstream_ipv4octet_2}{else}168{/if} + + + Yes - - {if isset($grandstream_ipv4octet_3)}{$grandstream_ipv4octet_3}{else}1{/if} + + 30 - - {if isset($grandstream_ipv4octet_4)}{$grandstream_ipv4octet_4}{else}102{/if} + + 3 - - - {if isset($grandstream_ipv4mask_1)}{$grandstream_ipv4mask_1}{else}255{/if} + + {$row.sip_port} - - {if isset($grandstream_ipv4mask_2)}{$grandstream_ipv4mask_2}{else}255{/if} + + 20 - - {if isset($grandstream_ipv4mask_3)}{$grandstream_ipv4mask_3}{else}0{/if} + + + 0.5sec - - {if isset($grandstream_ipv4mask_4)}{$grandstream_ipv4mask_4}{else}0{/if} + + + 4sec - - - {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_1}{else}192{/if} + + + {if $row.sip_transport == ''}TCP{/if} + {if $row.sip_transport == 'UDP'}UDP{/if} + {if $row.sip_transport == 'TCP'}TCP{/if} + {if $row.sip_transport == 'TLS'}Tls{/if} - - {if isset($grandstream_ipv4gw_2)}{$grandstream_ipv4gw_2}{else}168{/if} + + + Transport_Only - - {if isset($grandstream_ipv4gw_3)}{$grandstream_ipv4gw_3}{else}2{/if} + + + sips - - {if isset($grandstream_ipv4gw_4)}{$grandstream_ipv4gw_4}{else}1{/if} + + + No - - - {if isset($grandstream_ipv4dns1_1)}{$grandstream_ipv4dns1_1}{else}0{/if} + + + InRoute - - {if isset($grandstream_ipv4dns1_2)}{$grandstream_ipv4dns1_2}{else}0{/if} + + + Yes - - {if isset($grandstream_ipv4dns1_3)}{$grandstream_ipv4dns1_3}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns1_4)}{$grandstream_ipv4dns1_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4dns2_1)}{$grandstream_ipv4dns2_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns2_2)}{$grandstream_ipv4dns2_2}{else}0{/if} + + + Auto - - {if isset($grandstream_ipv4dns2_3)}{$grandstream_ipv4dns2_3}{else}0{/if} + + + Header - - {if isset($grandstream_ipv4dns2_4)}{$grandstream_ipv4dns2_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4preferdns_1)}{$grandstream_ipv4preferdns_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_2)}{$grandstream_ipv4preferdns_2}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_3)}{$grandstream_ipv4preferdns_3}{else}0{/if} + + + + + Default - - {if isset($grandstream_ipv4preferdns_4)}{$grandstream_ipv4preferdns_4}{else}0{/if} + + + Default - - - - 0 + + + Yes - - - 0 + + + Yes - - + + + Yes - - + + + No - - + + + No - - - + + + + + 15 - - - + + + + + + Disabled + + + - - - + + + + + + Auto + + + ** - - - + + - - - - 0 + + + No - - - + + + No - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26 - - - - - 46 - - - - - 0 - - - - -{if isset($grandstream_lan_port_vlan) } - 1 - - - - - - {$grandstream_lan_port_vlan} - -{else} - 0 - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_pc_port_vlan) } - {$grandstream_pc_port_vlan} -{else} - 0 -{/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 30 - - - - - 1500 - - - - - 0 - - - - - - - - 1 - - - - - 1 - - - - - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_bluetooth_power)} - {$grandstream_bluetooth_power} -{/if} - - - - -{if isset($grandstream_bluetooth_handsfree)} - {$grandstream_bluetooth_handsfree} -{/if} - - - - - - - - - - - -{if isset($grandstream_openvpn_enable)} - {$grandstream_openvpn_enable} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_server} - - - - -{if isset($grandstream_openvpn_port)} - {$grandstream_openvpn_port} -{else} - 1194 -{/if} - - - - -{if isset($grandstream_openvpn_transport)} - {$grandstream_openvpn_transport} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_ca} - - - - {$grandstream_openvpn_cert} - - - - {$grandstream_openvpn_key} - - - - -{if isset($grandstream_openvpn_cipher)} - {$grandstream_openvpn_cipher} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_username} - - - - {$grandstream_openvpn_password} - - - - {$grandstream_openvpn_options} - - - - - - - - 0 - - - - - 3 - - - - - 161 - - - - - - - - 162 - - - - 5 - - - - 1 - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - {$user_password} - - - -{if isset($admin_password)} - {$admin_password} -{else} - {$mac|replace:'-':''} -{/if} - - - - - - - - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} - - - - - {if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if} - - - - - - {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} - - - - - 0 - - - - - - - - - - 0 - - - - - 10080 - - - - - 0 - - - - 1 - - - - 0 - - - - 1 - - - - - 0 - - - - - 1 - - - - - - 2 - - - -{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} - - - -{$http_auth_username} - - - -{$http_auth_password} - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_firmware_upgrade_protocol) } - {$grandstream_firmware_upgrade_protocol} - {else} - 1 - {/if} - - - -{if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/{$firmware_version} -{elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path} -{else} - {$domain_name}{$project_path}/app/provision/resources/firmware/ -{/if} - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - {$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 - - - - - 0 - - - - - - - - - - - - - - - -{if isset($grandstream_display_language)} - {$grandstream_display_language} -{else} - Auto -{/if} - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - {if isset ($grandstream_tr069_periodic_inform_enable)} -{$grandstream_tr069_periodic_inform_enable} -{else} -0 -{/if} - - - - - 86400 - - - - {$mac|replace:'-':''|upper} - - - - {$mac|replace:'-':''|upper} - - - - 7547 - - - - - - - - - - - - - 0 - - - - - - - - {$grandstream_config_via_keypad} - - - - - 0 - - - - - - - - - - - - - - - - - {if isset($grandstream_web_access_mode)} - {$grandstream_web_access_mode} - {else} - 0 - {/if} - - - - - 1 - - - - - 80 - - - - - 443 - - - - 1 - - - - 5 - - - - 20 - - - - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - {$grandstream_phonebook_download} - - - - {$http_auth_username} - - - - {$http_auth_password} - - - - - -{if isset($grandstream_phonebook_xml_server_path)} - {$grandstream_phonebook_xml_server_path}/{$mac} -{else} - -{/if} - - - - -{if isset($grandstream_phonebook_download_interval)} - {$grandstream_phonebook_download_interval} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_sort_phonebook_by)} - {$grandstream_sort_phonebook_by} -{else} - 0 -{/if} - - - - -{if isset($contact_groups) || isset($contact_users) || isset($contact_extensions)} - 2 -{else} - 0 -{/if} - - - - -{if isset($grandstream_phonebook_search_mode)} - {$grandstream_phonebook_search_mode} -{else} - 0 -{/if} - - - - - - - - 0 - - - - {$grandstream_ldap_server} - - - - 389 - - - - - - {$grandstream_ldap_base_dn} - - - - {$grandstream_ldap_username} - - - - {$grandstream_ldap_password} - - - - - {$grandstream_ldap_number_filter} - - - - - {$grandstream_ldap_name_filter} - - - - - 3 - - - - - {$grandstream_ldap_name_attr} - - - - - {$grandstream_ldap_number_attr} - - - - {$grandstream_ldap_display_name} - - - - - - 50 - - - - - - 30 - - - - - 0 - - - - 0 - - - 0 - - - - givenName sn title - - - - 0 - - - - - - - - 5004 - - - - - 200 - - - - - 1 - - - - - 20 - - - - - - - -{if isset($grandstream_stun_server) } - {$grandstream_stun_server} -{else} - -{/if} - - - - -{if isset($grandstream_public_mode) } - {$grandstream_public_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - 0 - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - 4320 - - - - 100 - - - - 100 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - {if isset($grandstream_missed_call_log) } - {$grandstream_missed_call_log} - {else} - 0 - {/if} - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - - - - - - - 5222 - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode - - - - - {if isset($grandstream_onhook_dial_barging)} - {$grandstream_onhook_dial_barging} - {else} - 1 - {/if} - - - - - - - - 0 - - - - - 30 - - - - - 0 - - - - - 5 - - - - - 0 - - - - - 10 - - - - - 20 - - - - - {if isset($grandstream_history_dialplan_bypass)} - {$grandstream_history_dialplan_bypass} - {/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_disable_active_mpk_page)} - {$grandstream_disable_active_mpk_page} -{else} - 0 -{/if} - - - - - 0 - - - - -{if isset($dnd)} - {$dnd} -{else} - 1 -{/if} - - - - -{if isset($grandstream_idle_mute_function)} - {$grandstream_idle_mute_function} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_auto_attended_transfer)} - {$grandstream_auto_attended_transfer} -{else} - 1 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 10 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - {$grandstream_blf_remote_status} - - - - - 1 - - - - - {if isset($grandstream_missed_call_notification) } - {$grandstream_missed_call_notification} - {else} - 0 - {/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 1 - - - - - - - - - - - - 0 - - - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_multicast_paging_codec) } - {$grandstream_multicast_paging_codec} - {else} - 0 - {/if} - - - - {if isset($grandstream_multicast_channel_number) } - {$grandstream_multicast_channel_number} - {else} - 0 - {/if} - - - - {$account.1.display_name} - - - - - - {if isset($grandstream_multicast_listening_address_1) } - {$grandstream_multicast_listening_address_1} - {else} - - {/if} - - - - {if isset($grandstream_multicast_listening_label_1) } - {$grandstream_multicast_listening_label_1} - {else} - - {/if} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_headset_key_mode)} - {$grandstream_headset_key_mode} -{/if} - - - - -{if isset($grandstream_headset_type)} - {$grandstream_headset_type} - - - - - {$grandstream_headset_type} -{/if} - - - - -{if isset($grandstream_headset_ring)} - {$grandstream_headset_ring} -{/if} - - - - - 0 - - - - -{if isset($grandstream_headset_tx_gain)} - {$grandstream_headset_tx_gain} -{else} - 0 -{/if} - - - - -{if isset($grandstream_headset_rx_gain)} - {$grandstream_headset_rx_gain} -{else} - 0 -{/if} - - - - - 0 - - - - - - -{if isset($ntp_server_primary)} - {$ntp_server_primary} -{else} - pool.ntp.org -{/if} - - - -{if isset($ntp_server_secondary)} - {$ntp_server_secondary} -{else} - 2.us.pool.ntp.org -{/if} - - - - - 1440 - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_timezone) } - {$grandstream_timezone} -{elseif isset($grandstream_gxp_time_zone) } - {$grandstream_gxp_time_zone} -{else} - auto -{/if} - - - - - - {if isset($grandstream_dhcp_time_zone)} - {$grandstream_dhcp_time_zone} - {else} - 1 - {/if} - - - - - MTZ+6MDT+5,M4.1.0,M11.1.0 - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - {$grandstream_lcd_brightness} - - - - - {$grandstream_lcd_brightness_idle} - - - - - {$grandstream_active_backlight_timeout} - - - - - {if isset($grandstream_missed_call_backlight) } - {$grandstream_missed_call_backlight} - {else} - 0 - {/if} - - - - - -{if isset($grandstream_wallpaper_url)} - 1 -{/if} - - - -{if isset($grandstream_wallpaper_url)} - {$grandstream_wallpaper_url} -{/if} - - - - #000000 - - - - -{if isset($grandstream_screensaver)} - {$grandstream_screensaver} -{/if} - - - - -{if isset($grandstream_screensaver_source)} - {$grandstream_screensaver_source} -{/if} - - - - - -{if isset($grandstream_screensaver_show_date_time)} - {$grandstream_screensaver_show_date_time} -{else} - 1 -{/if} - - - - -{if isset($grandstream_screensaver_timeout)} - {$grandstream_screensaver_timeout} -{else} - 3 -{/if} - - - -{if isset($grandstream_screensaver_server_path)} - {$grandstream_screensaver_server_path} -{else} - -{/if} - - - - -{if isset($grandstream_screensaver_xml_download_interval)} - {$grandstream_screensaver_xml_download_interval} -{else} - 0 -{/if} - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - f1=440,f2=480,c=200/400; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440,c=10/10; - - - - - f1=440,f2=480,c=200/400; - - - - - f1=440,f2=440,c=25/525; - - - - - 0 - - - - - f1=480,f2=620,c=50/50; - - - - - f1=480,f2=620,c=25/25; - - - - -{if isset($grandstream_speaker_ring_volume)} - {$grandstream_speaker_ring_volume} -{/if} - - - - - 5 - - - - - 0 - - - - -{if isset($grandstream_default_ringtone)} - {$grandstream_default_ringtone} -{/if} - - - - - - - - - - - 1 - - - - - 1 - - - - - - -{if isset($grandstream_city_code)} - 0 -{/if} - - - -{if isset($grandstream_city_code)} - {$grandstream_city_code} -{/if} - - - - - 15 - - - - -{if isset ($grandstream_temp_unit)} - {$grandstream_temp_unit} -{/if} - - - - - - -{if isset($xmlappurl)} - {$xmlappurl}?token={$xmlapptoken} - {$xmlapp} -{elseif isset($xmlapp)} - https://{$server_address_1}/app/change-caller-id/app.php?token={$xmlapptoken} - {$xmlapp} -{/if} - - - - - - - - - 0 - - - - - - - - - - - - {$grandstream_label_background} - - - - - {$grandstream_long_label} - - - - - - {if isset ($grandstream_key_mode)} - {$grandstream_key_mode} - {else} - 1 - {/if} - - - - - {if isset($grandstream_transfer_mode_via_vpk)} - {$grandstream_transfer_mode_via_vpk} - {else} - 0 - {/if} - - - - - {$grandstream_blind_xfer_blf} - - - - - 0 - - - - - {if isset($grandstream_show_key_labels)} - {$grandstream_show_key_labels} - {else} - 1 - {/if} - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{$fixed_keys=4} -{if $template == "grandstream/gxp2130"}{$fixed_keys=3}{/if} -{if $template == "grandstream/gxp2140"}{$fixed_keys=4}{/if} -{if $template == "grandstream/gxp2160"}{$fixed_keys=6}{/if} -{if $template == "grandstream/gxp2170"}{$fixed_keys=12}{/if} -{if $template == "grandstream/gxp2135"}{$fixed_keys=8}{/if} - -{$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>0,"shared line"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, "eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"multicast paging"=>23,"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} - -{for $line=1 to 6} -{$pid=$line*2-2} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= 4 } -0 -{$line-1} - - -{else} --1 -{/if} -{/if} - -{/for} - - -{$start_id=23800} -{for $line=7 to 48} -{$pid=($line-6)*4-4} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} --1 -0 - - -{else} --1 -{/if} -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"conference"=>12,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=323} -{for $mem=1 to 7} -{$pid=$mem*3-3} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.memory.$mem.device_key_type|in_array:$key_types} - - - - - - - -{$key_types[$keys.memory.$mem.device_key_type]} - - -{$keys.memory.$mem.device_key_line} - - -{$keys.memory.$mem.device_key_label} - - -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{$start_id=353} -{for $mem=8 to 18} -{$pid=($mem-7)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - - -{$start_id=1440} -{for $mem=19 to 24} -{$pid=($mem-18)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - 0 - - - - - - 1 - - - - - - 0 - - - - - 0 - - - - - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target - - - - BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target - - - - Answer,Reject,Forward,ReConf - - - - BTOnOff,EndCall,ReConf,ConfRoom,ConfCall - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,ConfCall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark - - - - BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add - - - - ReConf,Resume,HoldTrnf,ConfCall,Add - - - - EndCall,ReConf,ConfRoom - - - - BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target - - - - BTOnOff,Cancel,Dial,Backspace,Target - - - - - - - - - - - -{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21,"menu"=>27]} -{$start_id=2987} -{for $prog=1 to 3} -{$pid=$prog*4-4} -{if isset($keys.programmable.$prog.device_key_category) && isset($keys.programmable.$prog.device_key_type) && $keys.programmable.$prog.device_key_type|in_array:$key_types} -{$key_types[$keys.programmable.$prog.device_key_type]} -{$keys.programmable.$prog.device_key_line} -{$keys.programmable.$prog.device_key_label} -{$keys.programmable.$prog.device_key_value} -{else} -0 -0 - - -{/if} - -{/for} - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - -{if $template == "grandstream/gxp2140"||$template == "grandstream/gxp2170"} - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=23000} -{for $exp=1 to 160} -{$pid=$exp*5-5} -{if isset($keys.expansion.$exp.device_key_category) && isset($keys.expansion.$exp.device_key_type) && $keys.expansion.$exp.device_key_type|in_array:$key_types} -{$key_types[$keys.expansion.$exp.device_key_type]} -{$keys.expansion.$exp.device_key_line} -{$keys.expansion.$exp.device_key_label} -{$keys.expansion.$exp.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} -{/if} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - + + + Disabled + + + + Standard + + + + No + + + + No + + + + No + + + + No + + + + No + + + + No + + + + + + No + + + + 180 + + + 90 + + + + No + + + + No + + + + No + + + + UAC + + + + 1 + + + + No + + + + + + No + + + + + + + + No + + + + No + + + + No + + + + Yes + + + + No + + + + + + PCMU + PCMA + G.723.1 + G.729A/B + G.722 + iLBC + G.726-32 + OPUS + + + + No + + + + Callee + + + + No + + + + No + + + + Disabled + + + + AES128And256Bit + + + + Yes + + + + No + + + + No + + + + Adaptive + + + + 300ms + + + + 2 + + + + 5.3kbpsEncodingRate + + + + ITU + + + + 30ms + + + 97 + + + 123 + + + 101 + + + + No + Yes + No + + + + 250 + + + + + No + + + + + + {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} + + + + Mpk + + + + All + + + + No + + + + No + + + + No + + + + + + + No + + + + No + + + + + + + + 30 + + + + 4 + + + + Pound + + + + Yes + + + + No + + + + + + + 0 + + + + {$grandstream_call_waiting} + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + 60 + + + + + + + + Yes + + + + No + + + + No + + + + Yes + + + + + + + + + + + + Yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 + +{/foreach} + + + + + + + + {if isset($grandstream_internet_protocol)} + {$grandstream_internet_protocol} + {else} + IPv4Only + {/if} + + + + {if isset($grandstream_ip_address_type)} + {$grandstream_ip_address_type} + {else} + DHCP + {/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 192 + + 168 + + 0 + + 160 + + + + + 255 + + 255 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + + + + AutoConfigured + + + + + + + + + + + + + + + + + + + + + + + + + + Disable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 26 + + + + + 46 + + + + No + + + + No + + + + Yes + + + + + 0 + + + + 0 + + + + Enabled + + + 0 + + + 0 + + + + Yes + + + + Yes + + + 60 + + + + 1500 + + + + + + Yes + + + Yes + + + + + + + No + + + + + + No + + + 0 + + + + + + + On + + + + + + + + + + + + + + + + + + + + No + + + + 0 + + + + + + 1194 + + + + UDP + + + + + + + + + + + + + + + + + + + + Blowfish + + + + + + + + + + Yes + + + + + + + + + + No + + + Version3 + + + + 161 + + + + + + + + Version2 + + + + + + + + 162 + + + + 5 + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + {if isset($user_password)} + {$user_password} + {/if} + + + + {if isset($admin_password)} + {$admin_password} + {else} + {$mac|replace:'-':''} + {/if} + + + + + + + + AlwaysCheck + + + No + + + No + + + + + + {if isset($grandstream_dhcp_option_override)} + {$grandstream_dhcp_option_override} + {else} + Yes + {/if} + + + {if isset($grandstream_dhcp_option_additional_override)} + {$grandstream_dhcp_option_additional_override} + {else} + None + {/if} + + + + {if isset($grandstream_dhcp_option_override_sip_server)} + {$grandstream_dhcp_option_override_sip_server} + {else} + No + {/if} + + + Yes + + + + No + + + + 10080 + + + No + + + 1 + + + + + + 1 + + + No + + + Yes + + + + HTTPS + + + {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} + + + {$http_auth_username} + + {$http_auth_password} + + + + + + + + + + + No + + + No + + + No + + + + HTTP + + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path} + {else} + {$domain_name}{$project_path}/app/provision/resources/firmware/ + {/if} + + + + + + + + + + + + + + + + + UDP + + + {$grandstream_syslog_server} + + + + {$grandstream_syslog_level} + + + + + + {$grandstream_send_sip_log} + + + No + + + Yes + + + No + + + + + + + + + + + + + + + Automatic + + + + + + + + + + + + + + No + + + https://acs.gdms.cloud + + + + + + + + + + Yes + + + 86400 + + + + + + + + + 7547 + + + + + + + + + No + + + + + + + Unrestricted + + + + Default + + + No + + + + + + + + + + + + + HTTPS + + + Yes + + + 80 + + + 443 + + + + Yes + + + + 22 + + + + 5 + + + + 10 + + + + 5 + + + + TLS_1_1 + + + + UNLIMITED + + + + 0 + + + + + + + Default Certificates + + + + + + No + + + + 0 + + + + + + + + 0 + + + + 112,911,110 + + + + + + + InternalStorage + + + No + + + No + + + + 0 + + + + + + + EnabledUseHTTPS + + + {$grandstream_phonebook_username} + + + {$grandstream_phonebook_password} + + + {$grandstream_phonebook_server} + + + + {$grandstream_phonebook_download_interval} + + + Yes + + + Replace + + + + LastName + + + + Default + + + + QuickMatch + + + + + + + + LDAP + + + + + + + 389 + + + + + + + + + + + + + + + + + + + + + version3 + + + + + + + + + + + + + + + + + 50 + + + + + 30 + + + + No + + + + No + + + + No + + + + + + + + No + + + + + + + + 5004 + + + + 200 + + + + Yes + + + + 20 + + + + + + + + + + + 0 + + + + No + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4320 + + + + 100 + + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5222 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + Account1 + + + Yes + + + + CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode + + + Yes + + + + + + + + 0 + + + 30 + + + No + + + + 5 + + + No + + + 10 + + + 20 + + + + + + + {$grandstream_call_waiting} + + + + Yes + + + + + + + Yes + + + + Yes + + + No + + + + Yes + + + + Yes + + + No + + + No + + + No + + + Yes + + + No + + + + + + No + + + + + + + + Yes + + + + + + + Dynamic + + + + BlindTransfer + + + Yes + + + [()- ]+ + + + + Yes + + + No + + + Default + + + + Busy + + + + TemporarilyUnavailable + + + No + + + No + + + + + + + + + + No + + + InternalStorage + + + Yes + + + + 10 + + + + + + 0 + + + + + + + + + + + + + Yes + + + Yes + + + + + + Yes + + + Yes + + + Yes + + + No + + + No + + + + + + + + + + + + + + + + + + Yes + + + + G.722 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DefaultMode + + + Normal + + + Normal + + + + 0 + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + pool.ntp.org + + + + + + + + + 1440 + + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($grandstream_time_zone)} + {$grandstream_time_zone} + {else} + auto + {/if} + + + Yes + + + + + MTZ+6MDT+5,M4.1.0,M11.1.0 + + + + + + + + {if isset($grandstream_format_date)} + {$grandstream_format_date} + {else} + yyyy-mm-dd + {/if} + + + + {if isset($grandstream_format_time)} + {$grandstream_format_time} + {else} + 12Hour + {/if} + + + {if isset($grandstream_show_clock)} + {$grandstream_show_clock} + {else} + Yes + {/if} + + + + + + + + + + + 100 + + + + 60 + + + + 1 + + + + 1 + + + + {if isset($grandstream_wallpaper_url)} + Download + {else} + Default + {/if} + + + + {if isset($grandstream_wallpaper_url)} + {$grandstream_wallpaper_url} + {/if} + + + + #000000 + + + + OnIfNoVPKIsActive + + + + + + Yes + + + + 3 + + + + + + + + 0 + + + + + + 0 + + + + Yes + + + + + + + + + f1=440,f2=480,c=200/400; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440,c=10/10; + + + + + f1=440,f2=480,c=200/400; + + + + + f1=440,f2=440,c=25/525; + + + + Low + + + + + f1=480,f2=620,c=50/50; + + + + + f1=480,f2=620,c=25/25; + + + + + 5 + + + + + 5 + + + + + 0 + + + No + + + 0 + + + + + 3 + + + + + + + Yes + + + + + + + + + + + XMLApp + + + + + + + + + + No + + + + + + No + + + HTTP + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + geodetic,civic,locationURI + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 911 + + + No + + + No + + + + + + + + + + Yes + + + + AccountMode + + + BlindTransfer + + + No + + + Show + + + + + + {literal} + + + + + + + + + + + + + + + + + + + + + + + + + + {/literal} + +{assign var=key_types value=["none"=>-1,"line"=>0,"shared"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, +"eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17, +"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"conference"=>22,"multicast paging"=>23, +"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} + +{foreach $keys['line'] as $row} +{$line=$row.device_key_id} + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + + {$row.device_key_line} + + + + {$row.device_key_label} + + + + {$row.device_key_value} + + + + +{/foreach} + + + + + + + + Menu + + + + Yes + + + No + + + No + + + + + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target + + + + BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target + + + + Answer,Reject,Forward,ReConf + + + + BTOnOff,Cancel,EndCall,ReConf,ConfRoom,ConfCall + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Custom-Confcall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark + + + + BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add + + + + ReConf,Resume,HoldTrnf,ConfCall,Add + + + + EndCall,ReConf,ConfRoom + + + + BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target + + + + BTOnOff,Cancel,Dial,Backspace,Target + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + {literal} + + + + + + + + + + + + + {/literal} + +{foreach $keys['memory'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + + + + + + No + + + + No + + + + + {literal} + + + + + + + + + + + {/literal} + +{foreach $keys['expansion'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml index 61c7497803..7ec0204c83 100644 --- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml @@ -1,17363 +1,3238 @@ - - -{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - 1 - - - - {$account.1.display_name} - - - -{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' && isset($account.1.server_address_secondary)} - {$account.1.server_address_secondary}:{$account.1.sip_port} -{else} - {$account.1.server_address_secondary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_primary)} - {$account.1.outbound_proxy_primary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_primary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_secondary)} - {$account.1.outbound_proxy_secondary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_secondary} -{/if} - - - - - - - -{if isset($account.1.server_address_secondary)} - {$account.1.user_id}@{$account.1.server_address} -{else} - {$account.1.user_id} -{/if} - - - - {$account.1.auth_id} - - - - {$account.1.password} - - - - {$account.1.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.1.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_feature_key_sync)} - {$grandstream_feature_key_sync} -{/if} - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {if isset ($grandstream_jitter_adapt)} - {$grandstream_jitter_adapt} - {else} - 1 - {/if} - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 0 - - - - {$grandstream_dial_prefix} - - - - - -{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} - - - - mpk - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - -{if isset($grandstream_account_ring_tone_1)} - {$grandstream_account_ring_tone_1} -{/if} - - - -{if isset($grandstream_distinctive_ringtone_name_1)} - {$grandstream_distinctive_ringtone_name_1} -{else} - ring1 -{/if} - - - - - - {$grandstream_distinctive_ringtone_1} - - - -{if isset($grandstream_distinctive_ringtone_name_2)} - {$grandstream_distinctive_ringtone_name_2} -{else} - ring2 -{/if} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_intercom_playwarningtoneforautoanswer) } - {$grandstream_intercom_playwarningtoneforautoanswer} - {else} - 0 - {/if} - - - - - - - - - - - - {$grandstream_enable_call_features} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 20 - - - - - - - - - - -{if isset($account.2.password)} - 1 -{else} - 0 -{/if} - - - - {$account.2.display_name} - - - -{if $account.2.sip_transport != 'dns srv'} - {$account.2.server_address}:{$account.2.sip_port} -{else} - {$account.2.server_address} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.server_address_secondary)} - {$account.2.server_address_secondary}:{$account.2.sip_port} -{else} - {$account.2.server_address_secondary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_primary)} - {$account.2.outbound_proxy_primary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_primary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_secondary)} - {$account.2.outbound_proxy_secondary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.2.user_id} - - - - {$account.2.auth_id} - - - - {$account.2.password} - - - - {$account.2.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.2.register_expires} - - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 100 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {$grandstream_accept_sip_from_proxy_only} - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_2)} - {$grandstream_account_ring_tone_2} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.3.password)} - 1 -{else} - 0 -{/if} - - - - {$account.3.display_name} - - - -{if $account.3.sip_transport != 'dns srv'} - {$account.3.server_address}:{$account.3.sip_port} -{else} - {$account.3.server_address} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.server_address_secondary)} - {$account.3.server_address_secondary}:{$account.3.sip_port} -{else} - {$account.3.server_address_secondary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_primary)} - {$account.3.outbound_proxy_primary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_primary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_secondary)} - {$account.3.outbound_proxy_secondary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.3.user_id} - - - - {$account.3.auth_id} - - - - {$account.3.password} - - - - {$account.3.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.3.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5064 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.3.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.3.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.3.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_3)} - {$grandstream_account_ring_tone_3} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.4.password)} - 1 -{else} - 0 -{/if} - - - - {$account.4.display_name} - - - -{if $account.4.sip_transport != 'dns srv'} - {$account.4.server_address}:{$account.4.sip_port} -{else} - {$account.4.server_address} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.server_address_secondary)} - {$account.4.server_address_secondary}:{$account.4.sip_port} -{else} - {$account.4.server_address_secondary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_primary)} - {$account.4.outbound_proxy_primary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_primary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_secondary)} - {$account.4.outbound_proxy_secondary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.4.user_id} - - - - {$account.4.auth_id} - - - - {$account.4.password} - - - - {$account.4.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.4.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5066 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.4.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.4.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.4.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_4)} - {$grandstream_account_ring_tone_4} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.5.password)} - 1 -{else} - 0 -{/if} - - - - {$account.5.display_name} - - - -{if $account.5.sip_transport != 'dns srv'} - {$account.5.server_address}:{$account.5.sip_port} -{else} - {$account.5.server_address} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.server_address_secondary)} - {$account.5.server_address_secondary}:{$account.5.sip_port} -{else} - {$account.5.server_address_secondary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_primary)} - {$account.5.outbound_proxy_primary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_primary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.5.user_id} - - - - {$account.5.auth_id} - - - - {$account.5.password} - - - - {$account.5.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.5.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5068 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.5.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.5.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.5.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_5)} - {$grandstream_account_ring_tone_5} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.6.password)} - 1 -{else} - 0 -{/if} - - - - {$account.6.display_name} - - - -{if $account.6.sip_transport != 'dns srv'} - {$account.6.server_address}:{$account.6.sip_port} -{else} - {$account.6.server_address} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.server_address_secondary)} - {$account.6.server_address_secondary}:{$account.6.sip_port} -{else} - {$account.6.server_address_secondary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_primary)} - {$account.6.outbound_proxy_primary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_primary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.6.user_id} - - - - {$account.6.auth_id} - - - - {$account.6.password} - - - - {$account.6.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.6.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5070 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.6.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.6.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.6.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_6)} - {$grandstream_account_ring_tone_6} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} - - - - - - {$grandstream_ip_address_mode} - - - - - - - phone-{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + {literal} + + + + + + + + + + {/literal} + + + + + + + +{foreach $account as $row} + + + + {if $row.enabled == 'true'} + Yes + {else} + No + {/if} + + + {$row.label} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + {$row.server_address_secondary} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_primary)} + {$row.outbound_proxy_primary}:{$row.sip_port} + {else} + {$row.outbound_proxy_primary} + {/if} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_secondary)} + {$row.outbound_proxy_secondary}:{$row.sip_port} + {else} + {$row.outbound_proxy_secondary} + {/if} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + + {$row.user_id} + + + {$row.user_id} + + + {$row.password} + + + {$row.display_name} + + + {$voicemail_number} + + + + + + + User Name + + + + + ARecord + + + + Default + + + + No + + + + + + + + + + + + + Auto - - - + + + Yes - - - - - - {if isset($grandstream_ipv4octet_1)}{$grandstream_ipv4octet_1}{else}192{/if} + + + + + + No + + + + + + Disabled + + + + Yes + + + + No + + + + 15 + + + + 60 + + + + 0 - - {if isset($grandstream_ipv4octet_2)}{$grandstream_ipv4octet_2}{else}168{/if} + + + Yes - - {if isset($grandstream_ipv4octet_3)}{$grandstream_ipv4octet_3}{else}1{/if} + + 30 - - {if isset($grandstream_ipv4octet_4)}{$grandstream_ipv4octet_4}{else}102{/if} + + 3 - - - {if isset($grandstream_ipv4mask_1)}{$grandstream_ipv4mask_1}{else}255{/if} + + {$row.sip_port} - - {if isset($grandstream_ipv4mask_2)}{$grandstream_ipv4mask_2}{else}255{/if} + + 20 - - {if isset($grandstream_ipv4mask_3)}{$grandstream_ipv4mask_3}{else}0{/if} + + + 0.5sec - - {if isset($grandstream_ipv4mask_4)}{$grandstream_ipv4mask_4}{else}0{/if} + + + 4sec - - - {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_1}{else}192{/if} + + + {if $row.sip_transport == ''}TCP{/if} + {if $row.sip_transport == 'UDP'}UDP{/if} + {if $row.sip_transport == 'TCP'}TCP{/if} + {if $row.sip_transport == 'TLS'}Tls{/if} - - {if isset($grandstream_ipv4gw_2)}{$grandstream_ipv4gw_2}{else}168{/if} + + + Transport_Only - - {if isset($grandstream_ipv4gw_3)}{$grandstream_ipv4gw_3}{else}2{/if} + + + sips - - {if isset($grandstream_ipv4gw_4)}{$grandstream_ipv4gw_4}{else}1{/if} + + + No - - - {if isset($grandstream_ipv4dns1_1)}{$grandstream_ipv4dns1_1}{else}0{/if} + + + InRoute - - {if isset($grandstream_ipv4dns1_2)}{$grandstream_ipv4dns1_2}{else}0{/if} + + + Yes - - {if isset($grandstream_ipv4dns1_3)}{$grandstream_ipv4dns1_3}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns1_4)}{$grandstream_ipv4dns1_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4dns2_1)}{$grandstream_ipv4dns2_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns2_2)}{$grandstream_ipv4dns2_2}{else}0{/if} + + + Auto - - {if isset($grandstream_ipv4dns2_3)}{$grandstream_ipv4dns2_3}{else}0{/if} + + + Header - - {if isset($grandstream_ipv4dns2_4)}{$grandstream_ipv4dns2_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4preferdns_1)}{$grandstream_ipv4preferdns_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_2)}{$grandstream_ipv4preferdns_2}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_3)}{$grandstream_ipv4preferdns_3}{else}0{/if} + + + + + Default - - {if isset($grandstream_ipv4preferdns_4)}{$grandstream_ipv4preferdns_4}{else}0{/if} + + + Default - - - - 0 + + + Yes - - - 0 + + + Yes - - + + + Yes - - + + + No - - + + + No - - - + + + + + 15 - - - + + + + + + Disabled + + + - - - + + + + + + Auto + + + ** - - - + + - - - - 0 + + + No - - - + + + No - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26 - - - - - 46 - - - - - 0 - - - - -{if isset($grandstream_lan_port_vlan) } - 1 - - - - - - {$grandstream_lan_port_vlan} - -{else} - 0 - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_pc_port_vlan) } - {$grandstream_pc_port_vlan} -{else} - 0 -{/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 30 - - - - - 1500 - - - - - 0 - - - - - - - - 1 - - - - - 1 - - - - - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_bluetooth_power)} - {$grandstream_bluetooth_power} -{/if} - - - - -{if isset($grandstream_bluetooth_handsfree)} - {$grandstream_bluetooth_handsfree} -{/if} - - - - - - - - - - - -{if isset($grandstream_openvpn_enable)} - {$grandstream_openvpn_enable} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_server} - - - - -{if isset($grandstream_openvpn_port)} - {$grandstream_openvpn_port} -{else} - 1194 -{/if} - - - - -{if isset($grandstream_openvpn_transport)} - {$grandstream_openvpn_transport} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_ca} - - - - {$grandstream_openvpn_cert} - - - - {$grandstream_openvpn_key} - - - - -{if isset($grandstream_openvpn_cipher)} - {$grandstream_openvpn_cipher} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_username} - - - - {$grandstream_openvpn_password} - - - - {$grandstream_openvpn_options} - - - - - - - - 0 - - - - - 3 - - - - - 161 - - - - - - - - 162 - - - - 5 - - - - 1 - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - {$user_password} - - - -{if isset($admin_password)} - {$admin_password} -{else} - {$mac|replace:'-':''} -{/if} - - - - - - - - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} - - - - - {if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if} - - - - - - {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} - - - - - 0 - - - - - - - - - - 0 - - - - - 10080 - - - - - 0 - - - - 1 - - - - 0 - - - - 1 - - - - - 0 - - - - - 1 - - - - - - 2 - - - -{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} - - - -{$http_auth_username} - - - -{$http_auth_password} - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_firmware_upgrade_protocol) } - {$grandstream_firmware_upgrade_protocol} - {else} - 1 - {/if} - - - -{if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/{$firmware_version} -{elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path} -{else} - {$domain_name}{$project_path}/app/provision/resources/firmware/ -{/if} - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - {$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 - - - - - 0 - - - - - - - - - - - - - - - -{if isset($grandstream_display_language)} - {$grandstream_display_language} -{else} - Auto -{/if} - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - {if isset ($grandstream_tr069_periodic_inform_enable)} -{$grandstream_tr069_periodic_inform_enable} -{else} -0 -{/if} - - - - - 86400 - - - - {$mac|replace:'-':''|upper} - - - - {$mac|replace:'-':''|upper} - - - - 7547 - - - - - - - - - - - - - 0 - - - - - - - - {$grandstream_config_via_keypad} - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - - 80 - - - - - 443 - - - - 1 - - - - 5 - - - - 20 - - - - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - {$grandstream_phonebook_download} - - - - {$http_auth_username} - - - - {$http_auth_password} - - - - - -{if isset($grandstream_phonebook_xml_server_path)} - {$grandstream_phonebook_xml_server_path}/{$mac} -{else} - -{/if} - - - - -{if isset($grandstream_phonebook_download_interval)} - {$grandstream_phonebook_download_interval} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_sort_phonebook_by)} - {$grandstream_sort_phonebook_by} -{else} - 0 -{/if} - - - - -{if isset($contact_groups) || isset($contact_users) || isset($contact_extensions)} - 2 -{else} - 0 -{/if} - - - - -{if isset($grandstream_phonebook_search_mode)} - {$grandstream_phonebook_search_mode} -{else} - 0 -{/if} - - - - - - - - 0 - - - - {$grandstream_ldap_server} - - - - 389 - - - - - - {$grandstream_ldap_base_dn} - - - - {$grandstream_ldap_username} - - - - {$grandstream_ldap_password} - - - - - {$grandstream_ldap_number_filter} - - - - - {$grandstream_ldap_name_filter} - - - - - 3 - - - - - {$grandstream_ldap_name_attr} - - - - - {$grandstream_ldap_number_attr} - - - - {$grandstream_ldap_display_name} - - - - - - 50 - - - - - - 30 - - - - - 0 - - - - 0 - - - 0 - - - - givenName sn title - - - - 0 - - - - - - - - 5004 - - - - - 200 - - - - - 1 - - - - - 20 - - - - - - - - - - - -{if isset($grandstream_stun_server) } - {$grandstream_stun_server} -{else} - -{/if} - - - - -{if isset($grandstream_public_mode) } - {$grandstream_public_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - 0 - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - 4320 - - - - 100 - - - - 100 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - {if isset($grandstream_missed_call_log) } - {$grandstream_missed_call_log} - {else} - 0 - {/if} - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - - - - - - - 5222 - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode - - - - - {if isset($grandstream_onhook_dial_barging)} - {$grandstream_onhook_dial_barging} - {else} - 1 - {/if} - - - - - - - - 0 - - - - - 30 - - - - - 0 - - - - - 5 - - - - - 0 - - - - - 10 - - - - - 20 - - - - - {if isset($grandstream_history_dialplan_bypass)} - {$grandstream_history_dialplan_bypass} - {/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_disable_active_mpk_page)} - {$grandstream_disable_active_mpk_page} -{else} - 0 -{/if} - - - - - 0 - - - - -{if isset($dnd)} - {$dnd} -{else} - 1 -{/if} - - - - -{if isset($grandstream_idle_mute_function)} - {$grandstream_idle_mute_function} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_auto_attended_transfer)} - {$grandstream_auto_attended_transfer} -{else} - 1 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 10 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - {$grandstream_blf_remote_status} - - - - - 1 - - - - - {if isset($grandstream_missed_call_notification) } - {$grandstream_missed_call_notification} - {else} - 0 - {/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 1 - - - - - - - - - - - - 0 - - - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_multicast_paging_codec) } - {$grandstream_multicast_paging_codec} - {else} - 0 - {/if} - - - - {if isset($grandstream_multicast_channel_number) } - {$grandstream_multicast_channel_number} - {else} - 0 - {/if} - - - - {$account.1.display_name} - - - - - - {if isset($grandstream_multicast_listening_address_1) } - {$grandstream_multicast_listening_address_1} - {else} - - {/if} - - - - {if isset($grandstream_multicast_listening_label_1) } - {$grandstream_multicast_listening_label_1} - {else} - - {/if} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_headset_key_mode)} - {$grandstream_headset_key_mode} -{/if} - - - - -{if isset($grandstream_headset_type)} - {$grandstream_headset_type} - - - - - {$grandstream_headset_type} -{/if} - - - - -{if isset($grandstream_headset_ring)} - {$grandstream_headset_ring} -{/if} - - - - - 0 - - - - -{if isset($grandstream_headset_tx_gain)} - {$grandstream_headset_tx_gain} -{else} - 0 -{/if} - - - - -{if isset($grandstream_headset_rx_gain)} - {$grandstream_headset_rx_gain} -{else} - 0 -{/if} - - - - - 0 - - - - - - -{if isset($ntp_server_primary)} - {$ntp_server_primary} -{else} - pool.ntp.org -{/if} - - - -{if isset($ntp_server_secondary)} - {$ntp_server_secondary} -{else} - 2.us.pool.ntp.org -{/if} - - - - - 1440 - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_timezone) } - {$grandstream_timezone} -{elseif isset($grandstream_gxp_time_zone) } - {$grandstream_gxp_time_zone} -{else} - auto -{/if} - - - - - - {if isset($grandstream_dhcp_time_zone)} - {$grandstream_dhcp_time_zone} - {else} - 1 - {/if} - - - - - MTZ+6MDT+5,M4.1.0,M11.1.0 - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - {$grandstream_lcd_brightness} - - - - - {$grandstream_lcd_brightness_idle} - - - - - {$grandstream_active_backlight_timeout} - - - - - {if isset($grandstream_missed_call_backlight) } - {$grandstream_missed_call_backlight} - {else} - 0 - {/if} - - - - - -{if isset($grandstream_wallpaper_url)} - 1 -{/if} - - - -{if isset($grandstream_wallpaper_url)} - {$grandstream_wallpaper_url} -{/if} - - - - #000000 - - - - -{if isset($grandstream_screensaver)} - {$grandstream_screensaver} -{/if} - - - - -{if isset($grandstream_screensaver_source)} - {$grandstream_screensaver_source} -{/if} - - - - - -{if isset($grandstream_screensaver_show_date_time)} - {$grandstream_screensaver_show_date_time} -{else} - 1 -{/if} - - - - -{if isset($grandstream_screensaver_timeout)} - {$grandstream_screensaver_timeout} -{else} - 3 -{/if} - - - -{if isset($grandstream_screensaver_server_path)} - {$grandstream_screensaver_server_path} -{else} - -{/if} - - - - -{if isset($grandstream_screensaver_xml_download_interval)} - {$grandstream_screensaver_xml_download_interval} -{else} - 0 -{/if} - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - f1=440,f2=480,c=200/400; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440,c=10/10; - - - - - f1=440,f2=480,c=200/400; - - - - - f1=440,f2=440,c=25/525; - - - - - 0 - - - - - f1=480,f2=620,c=50/50; - - - - - f1=480,f2=620,c=25/25; - - - - -{if isset($grandstream_speaker_ring_volume)} - {$grandstream_speaker_ring_volume} -{/if} - - - - - 5 - - - - - 0 - - - - -{if isset($grandstream_default_ringtone)} - {$grandstream_default_ringtone} -{/if} - - - - - - - - - - - 1 - - - - - 1 - - - - - - -{if isset($grandstream_city_code)} - 0 -{/if} - - - -{if isset($grandstream_city_code)} - {$grandstream_city_code} -{/if} - - - - - 15 - - - - -{if isset ($grandstream_temp_unit)} - {$grandstream_temp_unit} -{/if} - - - - - - -{if isset($xmlappurl)} - {$xmlappurl}?token={$xmlapptoken} - {$xmlapp} -{elseif isset($xmlapp)} - https://{$server_address_1}/app/change-caller-id/app.php?token={$xmlapptoken} - {$xmlapp} -{/if} - - - - - - - - - 0 - - - - - - - - - - - - {$grandstream_label_background} - - - - - {$grandstream_long_label} - - - - - - {if isset ($grandstream_key_mode)} - {$grandstream_key_mode} - {else} - 1 - {/if} - - - - - {if isset($grandstream_transfer_mode_via_vpk)} - {$grandstream_transfer_mode_via_vpk} - {else} - 0 - {/if} - - - - - {$grandstream_blind_xfer_blf} - - - - - 0 - - - - - {if isset($grandstream_show_key_labels)} - {$grandstream_show_key_labels} - {else} - 1 - {/if} - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{$fixed_keys=4} -{if $template == "grandstream/gxp2130"}{$fixed_keys=3}{/if} -{if $template == "grandstream/gxp2140"}{$fixed_keys=4}{/if} -{if $template == "grandstream/gxp2160"}{$fixed_keys=6}{/if} -{if $template == "grandstream/gxp2170"}{$fixed_keys=12}{/if} -{if $template == "grandstream/gxp2135"}{$fixed_keys=8}{/if} - -{$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>0,"shared line"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, "eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"multicast paging"=>23,"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} - -{for $line=1 to 6} -{$pid=$line*2-2} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} -0 -{$line-1} - - -{else} --1 -{/if} -{/if} - -{/for} - - -{$start_id=23800} -{for $line=7 to 48} -{$pid=($line-6)*4-4} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} --1 -0 - - -{else} --1 -{/if} -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"conference"=>12,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=323} -{for $mem=1 to 7} -{$pid=$mem*3-3} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.memory.$mem.device_key_type|in_array:$key_types} - - - - - - - -{$key_types[$keys.memory.$mem.device_key_type]} - - -{$keys.memory.$mem.device_key_line} - - -{$keys.memory.$mem.device_key_label} - - -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{$start_id=353} -{for $mem=8 to 18} -{$pid=($mem-7)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - - -{$start_id=1440} -{for $mem=19 to 24} -{$pid=($mem-18)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - 0 - - - - - - 1 - - - - - - 0 - - - - - 0 - - - - - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target - - - - BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target - - - - Answer,Reject,Forward,ReConf - - - - BTOnOff,EndCall,ReConf,ConfRoom,ConfCall - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,ConfCall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark - - - - BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add - - - - ReConf,Resume,HoldTrnf,ConfCall,Add - - - - EndCall,ReConf,ConfRoom - - - - BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target - - - - BTOnOff,Cancel,Dial,Backspace,Target - - - - - - - - - - - -{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21,"menu"=>27]} -{$start_id=2987} -{for $prog=1 to 3} -{$pid=$prog*4-4} -{if isset($keys.programmable.$prog.device_key_category) && isset($keys.programmable.$prog.device_key_type) && $keys.programmable.$prog.device_key_type|in_array:$key_types} -{$key_types[$keys.programmable.$prog.device_key_type]} -{$keys.programmable.$prog.device_key_line} -{$keys.programmable.$prog.device_key_label} -{$keys.programmable.$prog.device_key_value} -{else} -0 -0 - - -{/if} - -{/for} - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - -{if $template == "grandstream/gxp2140"||$template == "grandstream/gxp2170"} - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=23000} -{for $exp=1 to 160} -{$pid=$exp*5-5} -{if isset($keys.expansion.$exp.device_key_category) && isset($keys.expansion.$exp.device_key_type) && $keys.expansion.$exp.device_key_type|in_array:$key_types} -{$key_types[$keys.expansion.$exp.device_key_type]} -{$keys.expansion.$exp.device_key_line} -{$keys.expansion.$exp.device_key_label} -{$keys.expansion.$exp.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} -{/if} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - + + + Disabled + + + + Standard + + + + No + + + + No + + + + No + + + + No + + + + No + + + + No + + + + + + No + + + + 180 + + + 90 + + + + No + + + + No + + + + No + + + + UAC + + + + 1 + + + + No + + + + + + No + + + + + + + + No + + + + No + + + + No + + + + Yes + + + + No + + + + + + PCMU + PCMA + G.723.1 + G.729A/B + G.722 + iLBC + G.726-32 + OPUS + + + + No + + + + Callee + + + + No + + + + No + + + + Disabled + + + + AES128And256Bit + + + + Yes + + + + No + + + + No + + + + Adaptive + + + + 300ms + + + + 2 + + + + 5.3kbpsEncodingRate + + + + ITU + + + + 30ms + + + 97 + + + 123 + + + 101 + + + + No + Yes + No + + + + 250 + + + + + No + + + + + + {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} + + + + Mpk + + + + All + + + + No + + + + No + + + + No + + + + + + + No + + + + No + + + + + + + + 30 + + + + 4 + + + + Pound + + + + Yes + + + + No + + + + + + + 0 + + + + {$grandstream_call_waiting} + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + 60 + + + + + + + + Yes + + + + No + + + + No + + + + Yes + + + + + + + + + + + + Yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 + +{/foreach} + + + + + + + + {if isset($grandstream_internet_protocol)} + {$grandstream_internet_protocol} + {else} + IPv4Only + {/if} + + + + {if isset($grandstream_ip_address_type)} + {$grandstream_ip_address_type} + {else} + DHCP + {/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 192 + + 168 + + 0 + + 160 + + + + + 255 + + 255 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + + + + AutoConfigured + + + + + + + + + + + + + + + + + + + + + + + + + + Disable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 26 + + + + + 46 + + + + No + + + + No + + + + Yes + + + + + 0 + + + + 0 + + + + Enabled + + + 0 + + + 0 + + + + Yes + + + + Yes + + + 60 + + + + 1500 + + + + + + Yes + + + Yes + + + + + + + No + + + + + + No + + + 0 + + + + + + + On + + + + + + + + + + + + + + + + + + + + No + + + + 0 + + + + + + 1194 + + + + UDP + + + + + + + + + + + + + + + + + + + + Blowfish + + + + + + + + + + Yes + + + + + + + + + + No + + + Version3 + + + + 161 + + + + + + + + Version2 + + + + + + + + 162 + + + + 5 + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + {if isset($user_password)} + {$user_password} + {/if} + + + + {if isset($admin_password)} + {$admin_password} + {else} + {$mac|replace:'-':''} + {/if} + + + + + + + + AlwaysCheck + + + No + + + No + + + + + + {if isset($grandstream_dhcp_option_override)} + {$grandstream_dhcp_option_override} + {else} + Yes + {/if} + + + {if isset($grandstream_dhcp_option_additional_override)} + {$grandstream_dhcp_option_additional_override} + {else} + None + {/if} + + + + {if isset($grandstream_dhcp_option_override_sip_server)} + {$grandstream_dhcp_option_override_sip_server} + {else} + No + {/if} + + + Yes + + + + No + + + + 10080 + + + No + + + 1 + + + + + + 1 + + + No + + + Yes + + + + HTTPS + + + {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} + + + {$http_auth_username} + + {$http_auth_password} + + + + + + + + + + + No + + + No + + + No + + + + HTTP + + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path} + {else} + {$domain_name}{$project_path}/app/provision/resources/firmware/ + {/if} + + + + + + + + + + + + + + + + + UDP + + + {$grandstream_syslog_server} + + + + {$grandstream_syslog_level} + + + + + + {$grandstream_send_sip_log} + + + No + + + Yes + + + No + + + + + + + + + + + + + + + Automatic + + + + + + + + + + + + + + No + + + https://acs.gdms.cloud + + + + + + + + + + Yes + + + 86400 + + + + + + + + + 7547 + + + + + + + + + No + + + + + + + Unrestricted + + + + Default + + + No + + + + + + + + + + + + + HTTPS + + + Yes + + + 80 + + + 443 + + + + Yes + + + + 22 + + + + 5 + + + + 10 + + + + 5 + + + + TLS_1_1 + + + + UNLIMITED + + + + 0 + + + + + + + Default Certificates + + + + + + No + + + + 0 + + + + + + + + 0 + + + + 112,911,110 + + + + + + + InternalStorage + + + No + + + No + + + + 0 + + + + + + + EnabledUseHTTPS + + + {$grandstream_phonebook_username} + + + {$grandstream_phonebook_password} + + + {$grandstream_phonebook_server} + + + + {$grandstream_phonebook_download_interval} + + + Yes + + + Replace + + + + LastName + + + + Default + + + + QuickMatch + + + + + + + + LDAP + + + + + + + 389 + + + + + + + + + + + + + + + + + + + + + version3 + + + + + + + + + + + + + + + + + 50 + + + + + 30 + + + + No + + + + No + + + + No + + + + + + + + No + + + + + + + + 5004 + + + + 200 + + + + Yes + + + + 20 + + + + + + + + + + + 0 + + + + No + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4320 + + + + 100 + + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5222 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + Account1 + + + Yes + + + + CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode + + + Yes + + + + + + + + 0 + + + 30 + + + No + + + + 5 + + + No + + + 10 + + + 20 + + + + + + + {$grandstream_call_waiting} + + + + Yes + + + + + + + Yes + + + + Yes + + + No + + + + Yes + + + + Yes + + + No + + + No + + + No + + + Yes + + + No + + + + + + No + + + + + + + + Yes + + + + + + + Dynamic + + + + BlindTransfer + + + Yes + + + [()- ]+ + + + + Yes + + + No + + + Default + + + + Busy + + + + TemporarilyUnavailable + + + No + + + No + + + + + + + + + + No + + + InternalStorage + + + Yes + + + + 10 + + + + + + 0 + + + + + + + + + + + + + Yes + + + Yes + + + + + + Yes + + + Yes + + + Yes + + + No + + + No + + + + + + + + + + + + + + + + + + Yes + + + + G.722 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DefaultMode + + + Normal + + + Normal + + + + 0 + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + pool.ntp.org + + + + + + + + + 1440 + + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($grandstream_time_zone)} + {$grandstream_time_zone} + {else} + auto + {/if} + + + Yes + + + + + MTZ+6MDT+5,M4.1.0,M11.1.0 + + + + + + + + {if isset($grandstream_format_date)} + {$grandstream_format_date} + {else} + yyyy-mm-dd + {/if} + + + + {if isset($grandstream_format_time)} + {$grandstream_format_time} + {else} + 12Hour + {/if} + + + {if isset($grandstream_show_clock)} + {$grandstream_show_clock} + {else} + Yes + {/if} + + + + + + + + + + + 100 + + + + 60 + + + + 1 + + + + 1 + + + + {if isset($grandstream_wallpaper_url)} + Download + {else} + Default + {/if} + + + + {if isset($grandstream_wallpaper_url)} + {$grandstream_wallpaper_url} + {/if} + + + + #000000 + + + + OnIfNoVPKIsActive + + + + + + Yes + + + + 3 + + + + + + + + 0 + + + + + + 0 + + + + Yes + + + + + + + + + f1=440,f2=480,c=200/400; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440,c=10/10; + + + + + f1=440,f2=480,c=200/400; + + + + + f1=440,f2=440,c=25/525; + + + + Low + + + + + f1=480,f2=620,c=50/50; + + + + + f1=480,f2=620,c=25/25; + + + + + 5 + + + + + 5 + + + + + 0 + + + No + + + 0 + + + + + 3 + + + + + + + Yes + + + + + + + + + + + XMLApp + + + + + + + + + + No + + + + + + No + + + HTTP + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + geodetic,civic,locationURI + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 911 + + + No + + + No + + + + + + + + + + Yes + + + + AccountMode + + + BlindTransfer + + + No + + + Show + + + + + + {literal} + + + + + + + + + + + + + + + + + + + + + + + + + + {/literal} + +{assign var=key_types value=["none"=>-1,"line"=>0,"shared"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, +"eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17, +"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"conference"=>22,"multicast paging"=>23, +"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} + +{foreach $keys['line'] as $row} +{$line=$row.device_key_id} + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + + {$row.device_key_line} + + + + {$row.device_key_label} + + + + {$row.device_key_value} + + + + +{/foreach} + + + + + + + + Menu + + + + Yes + + + No + + + No + + + + + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target + + + + BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target + + + + Answer,Reject,Forward,ReConf + + + + BTOnOff,Cancel,EndCall,ReConf,ConfRoom,ConfCall + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Custom-Confcall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark + + + + BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add + + + + ReConf,Resume,HoldTrnf,ConfCall,Add + + + + EndCall,ReConf,ConfRoom + + + + BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target + + + + BTOnOff,Cancel,Dial,Backspace,Target + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + {literal} + + + + + + + + + + + + + {/literal} + +{foreach $keys['memory'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + + + + + + No + + + + No + + + + + {literal} + + + + + + + + + + + {/literal} + +{foreach $keys['expansion'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index 6f7fa315b3..7ec0204c83 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -1,17361 +1,3238 @@ - - -{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - 1 - - - - {$account.1.display_name} - - - -{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' && isset($account.1.server_address_secondary)} - {$account.1.server_address_secondary}:{$account.1.sip_port} -{else} - {$account.1.server_address_secondary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_primary)} - {$account.1.outbound_proxy_primary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_primary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_secondary)} - {$account.1.outbound_proxy_secondary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_secondary} -{/if} - - - - - - - -{if isset($account.1.server_address_secondary)} - {$account.1.user_id}@{$account.1.server_address} -{else} - {$account.1.user_id} -{/if} - - - - {$account.1.auth_id} - - - - {$account.1.password} - - - - {$account.1.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.1.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_feature_key_sync)} - {$grandstream_feature_key_sync} -{/if} - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {if isset ($grandstream_jitter_adapt)} - {$grandstream_jitter_adapt} - {else} - 1 - {/if} - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 0 - - - - {$grandstream_dial_prefix} - - - - - -{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} - - - - mpk - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - -{if isset($grandstream_account_ring_tone_1)} - {$grandstream_account_ring_tone_1} -{/if} - - - -{if isset($grandstream_distinctive_ringtone_name_1)} - {$grandstream_distinctive_ringtone_name_1} -{else} - ring1 -{/if} - - - - - - {$grandstream_distinctive_ringtone_1} - - - -{if isset($grandstream_distinctive_ringtone_name_2)} - {$grandstream_distinctive_ringtone_name_2} -{else} - ring2 -{/if} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_intercom_playwarningtoneforautoanswer) } - {$grandstream_intercom_playwarningtoneforautoanswer} - {else} - 0 - {/if} - - - - - - - - - - - - {$grandstream_enable_call_features} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 20 - - - - - - - - - - -{if isset($account.2.password)} - 1 -{else} - 0 -{/if} - - - - {$account.2.display_name} - - - -{if $account.2.sip_transport != 'dns srv'} - {$account.2.server_address}:{$account.2.sip_port} -{else} - {$account.2.server_address} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.server_address_secondary)} - {$account.2.server_address_secondary}:{$account.2.sip_port} -{else} - {$account.2.server_address_secondary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_primary)} - {$account.2.outbound_proxy_primary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_primary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_secondary)} - {$account.2.outbound_proxy_secondary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.2.user_id} - - - - {$account.2.auth_id} - - - - {$account.2.password} - - - - {$account.2.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.2.register_expires} - - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 100 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {$grandstream_accept_sip_from_proxy_only} - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_2)} - {$grandstream_account_ring_tone_2} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.3.password)} - 1 -{else} - 0 -{/if} - - - - {$account.3.display_name} - - - -{if $account.3.sip_transport != 'dns srv'} - {$account.3.server_address}:{$account.3.sip_port} -{else} - {$account.3.server_address} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.server_address_secondary)} - {$account.3.server_address_secondary}:{$account.3.sip_port} -{else} - {$account.3.server_address_secondary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_primary)} - {$account.3.outbound_proxy_primary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_primary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_secondary)} - {$account.3.outbound_proxy_secondary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.3.user_id} - - - - {$account.3.auth_id} - - - - {$account.3.password} - - - - {$account.3.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.3.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5064 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.3.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.3.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.3.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_3)} - {$grandstream_account_ring_tone_3} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.4.password)} - 1 -{else} - 0 -{/if} - - - - {$account.4.display_name} - - - -{if $account.4.sip_transport != 'dns srv'} - {$account.4.server_address}:{$account.4.sip_port} -{else} - {$account.4.server_address} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.server_address_secondary)} - {$account.4.server_address_secondary}:{$account.4.sip_port} -{else} - {$account.4.server_address_secondary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_primary)} - {$account.4.outbound_proxy_primary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_primary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_secondary)} - {$account.4.outbound_proxy_secondary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.4.user_id} - - - - {$account.4.auth_id} - - - - {$account.4.password} - - - - {$account.4.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.4.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5066 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.4.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.4.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.4.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_4)} - {$grandstream_account_ring_tone_4} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.5.password)} - 1 -{else} - 0 -{/if} - - - - {$account.5.display_name} - - - -{if $account.5.sip_transport != 'dns srv'} - {$account.5.server_address}:{$account.5.sip_port} -{else} - {$account.5.server_address} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.server_address_secondary)} - {$account.5.server_address_secondary}:{$account.5.sip_port} -{else} - {$account.5.server_address_secondary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_primary)} - {$account.5.outbound_proxy_primary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_primary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.5.user_id} - - - - {$account.5.auth_id} - - - - {$account.5.password} - - - - {$account.5.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.5.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5068 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.5.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.5.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.5.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_5)} - {$grandstream_account_ring_tone_5} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.6.password)} - 1 -{else} - 0 -{/if} - - - - {$account.6.display_name} - - - -{if $account.6.sip_transport != 'dns srv'} - {$account.6.server_address}:{$account.6.sip_port} -{else} - {$account.6.server_address} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.server_address_secondary)} - {$account.6.server_address_secondary}:{$account.6.sip_port} -{else} - {$account.6.server_address_secondary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_primary)} - {$account.6.outbound_proxy_primary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_primary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.6.user_id} - - - - {$account.6.auth_id} - - - - {$account.6.password} - - - - {$account.6.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.6.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5070 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.6.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.6.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.6.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_6)} - {$grandstream_account_ring_tone_6} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} - - - - - - {$grandstream_ip_address_mode} - - - - - - - phone-{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + {literal} + + + + + + + + + + {/literal} + + + + + + + +{foreach $account as $row} + + + + {if $row.enabled == 'true'} + Yes + {else} + No + {/if} + + + {$row.label} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + {$row.server_address_secondary} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_primary)} + {$row.outbound_proxy_primary}:{$row.sip_port} + {else} + {$row.outbound_proxy_primary} + {/if} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_secondary)} + {$row.outbound_proxy_secondary}:{$row.sip_port} + {else} + {$row.outbound_proxy_secondary} + {/if} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + + {$row.user_id} + + + {$row.user_id} + + + {$row.password} + + + {$row.display_name} + + + {$voicemail_number} + + + + + + + User Name + + + + + ARecord + + + + Default + + + + No + + + + + + + + + + + + + Auto - - - + + + Yes - - - - - - {if isset($grandstream_ipv4octet_1)}{$grandstream_ipv4octet_1}{else}192{/if} + + + + + + No + + + + + + Disabled + + + + Yes + + + + No + + + + 15 + + + + 60 + + + + 0 - - {if isset($grandstream_ipv4octet_2)}{$grandstream_ipv4octet_2}{else}168{/if} + + + Yes - - {if isset($grandstream_ipv4octet_3)}{$grandstream_ipv4octet_3}{else}1{/if} + + 30 - - {if isset($grandstream_ipv4octet_4)}{$grandstream_ipv4octet_4}{else}102{/if} + + 3 - - - {if isset($grandstream_ipv4mask_1)}{$grandstream_ipv4mask_1}{else}255{/if} + + {$row.sip_port} - - {if isset($grandstream_ipv4mask_2)}{$grandstream_ipv4mask_2}{else}255{/if} + + 20 - - {if isset($grandstream_ipv4mask_3)}{$grandstream_ipv4mask_3}{else}0{/if} + + + 0.5sec - - {if isset($grandstream_ipv4mask_4)}{$grandstream_ipv4mask_4}{else}0{/if} + + + 4sec - - - {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_1}{else}192{/if} + + + {if $row.sip_transport == ''}TCP{/if} + {if $row.sip_transport == 'UDP'}UDP{/if} + {if $row.sip_transport == 'TCP'}TCP{/if} + {if $row.sip_transport == 'TLS'}Tls{/if} - - {if isset($grandstream_ipv4gw_2)}{$grandstream_ipv4gw_2}{else}168{/if} + + + Transport_Only - - {if isset($grandstream_ipv4gw_3)}{$grandstream_ipv4gw_3}{else}2{/if} + + + sips - - {if isset($grandstream_ipv4gw_4)}{$grandstream_ipv4gw_4}{else}1{/if} + + + No - - - {if isset($grandstream_ipv4dns1_1)}{$grandstream_ipv4dns1_1}{else}0{/if} + + + InRoute - - {if isset($grandstream_ipv4dns1_2)}{$grandstream_ipv4dns1_2}{else}0{/if} + + + Yes - - {if isset($grandstream_ipv4dns1_3)}{$grandstream_ipv4dns1_3}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns1_4)}{$grandstream_ipv4dns1_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4dns2_1)}{$grandstream_ipv4dns2_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns2_2)}{$grandstream_ipv4dns2_2}{else}0{/if} + + + Auto - - {if isset($grandstream_ipv4dns2_3)}{$grandstream_ipv4dns2_3}{else}0{/if} + + + Header - - {if isset($grandstream_ipv4dns2_4)}{$grandstream_ipv4dns2_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4preferdns_1)}{$grandstream_ipv4preferdns_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_2)}{$grandstream_ipv4preferdns_2}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_3)}{$grandstream_ipv4preferdns_3}{else}0{/if} + + + + + Default - - {if isset($grandstream_ipv4preferdns_4)}{$grandstream_ipv4preferdns_4}{else}0{/if} + + + Default - - - - 0 + + + Yes - - - 0 + + + Yes - - + + + Yes - - + + + No - - + + + No - - - + + + + + 15 - - - + + + + + + Disabled + + + - - - + + + + + + Auto + + + ** - - - + + - - - - 0 + + + No - - - + + + No - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26 - - - - - 46 - - - - - 0 - - - - -{if isset($grandstream_lan_port_vlan) } - 1 - - - - - - {$grandstream_lan_port_vlan} - -{else} - 0 - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_pc_port_vlan) } - {$grandstream_pc_port_vlan} -{else} - 0 -{/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 30 - - - - - 1500 - - - - - 0 - - - - - - - - 1 - - - - - 1 - - - - - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_bluetooth_power)} - {$grandstream_bluetooth_power} -{/if} - - - - -{if isset($grandstream_bluetooth_handsfree)} - {$grandstream_bluetooth_handsfree} -{/if} - - - - - - - - - - - -{if isset($grandstream_openvpn_enable)} - {$grandstream_openvpn_enable} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_server} - - - - -{if isset($grandstream_openvpn_port)} - {$grandstream_openvpn_port} -{else} - 1194 -{/if} - - - - -{if isset($grandstream_openvpn_transport)} - {$grandstream_openvpn_transport} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_ca} - - - - {$grandstream_openvpn_cert} - - - - {$grandstream_openvpn_key} - - - - -{if isset($grandstream_openvpn_cipher)} - {$grandstream_openvpn_cipher} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_username} - - - - {$grandstream_openvpn_password} - - - - {$grandstream_openvpn_options} - - - - - - - - 0 - - - - - 3 - - - - - 161 - - - - - - - - 162 - - - - 5 - - - - 1 - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - {$user_password} - - - -{if isset($admin_password)} - {$admin_password} -{else} - {$mac|replace:'-':''} -{/if} - - - - - - - - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} - - - - - {if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if} - - - - - - {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} - - - - - 0 - - - - - - - - - - 0 - - - - - 10080 - - - - - 0 - - - - 1 - - - - 0 - - - - 1 - - - - - 0 - - - - - 1 - - - - - - 2 - - - -{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} - - - -{$http_auth_username} - - - -{$http_auth_password} - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_firmware_upgrade_protocol) } - {$grandstream_firmware_upgrade_protocol} - {else} - 1 - {/if} - - - -{if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/{$firmware_version} -{elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path} -{else} - {$domain_name}{$project_path}/app/provision/resources/firmware/ -{/if} - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - {$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 - - - - - 0 - - - - - - - - - - - - - - - -{if isset($grandstream_display_language)} - {$grandstream_display_language} -{else} - Auto -{/if} - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - {if isset ($grandstream_tr069_periodic_inform_enable)} -{$grandstream_tr069_periodic_inform_enable} -{else} -0 -{/if} - - - - - 86400 - - - - {$mac|replace:'-':''|upper} - - - - {$mac|replace:'-':''|upper} - - - - 7547 - - - - - - - - - - - - - 0 - - - - - - - - {$grandstream_config_via_keypad} - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - - 80 - - - - - 443 - - - - 1 - - - - 5 - - - - 20 - - - - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - {$grandstream_phonebook_download} - - - - {$http_auth_username} - - - - {$http_auth_password} - - - - - -{if isset($grandstream_phonebook_xml_server_path)} - {$grandstream_phonebook_xml_server_path}/{$mac} -{else} - -{/if} - - - - -{if isset($grandstream_phonebook_download_interval)} - {$grandstream_phonebook_download_interval} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_sort_phonebook_by)} - {$grandstream_sort_phonebook_by} -{else} - 0 -{/if} - - - - -{if isset($contact_groups) || isset($contact_users) || isset($contact_extensions)} - 2 -{else} - 0 -{/if} - - - - -{if isset($grandstream_phonebook_search_mode)} - {$grandstream_phonebook_search_mode} -{else} - 0 -{/if} - - - - - - - - 0 - - - - {$grandstream_ldap_server} - - - - 389 - - - - - - {$grandstream_ldap_base_dn} - - - - {$grandstream_ldap_username} - - - - {$grandstream_ldap_password} - - - - - {$grandstream_ldap_number_filter} - - - - - {$grandstream_ldap_name_filter} - - - - - 3 - - - - - {$grandstream_ldap_name_attr} - - - - - {$grandstream_ldap_number_attr} - - - - {$grandstream_ldap_display_name} - - - - - - 50 - - - - - - 30 - - - - - 0 - - - - 0 - - - 0 - - - - givenName sn title - - - - 0 - - - - - - - - 5004 - - - - - 200 - - - - - 1 - - - - - 20 - - - - - - - - - - - -{if isset($grandstream_stun_server) } - {$grandstream_stun_server} -{else} - -{/if} - - - - -{if isset($grandstream_public_mode) } - {$grandstream_public_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - 0 - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - 4320 - - - - 100 - - - - 100 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - {if isset($grandstream_missed_call_log) } - {$grandstream_missed_call_log} - {else} - 0 - {/if} - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - - - - - - - 5222 - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode - - - - - {if isset($grandstream_onhook_dial_barging)} - {$grandstream_onhook_dial_barging} - {/if} - - - - - - - - 0 - - - - - 30 - - - - - 0 - - - - - 5 - - - - - 0 - - - - - 10 - - - - - 20 - - - - - {if isset($grandstream_history_dialplan_bypass)} - {$grandstream_history_dialplan_bypass} - {/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_disable_active_mpk_page)} - {$grandstream_disable_active_mpk_page} -{else} - 0 -{/if} - - - - - 0 - - - - -{if isset($dnd)} - {$dnd} -{else} - 1 -{/if} - - - - -{if isset($grandstream_idle_mute_function)} - {$grandstream_idle_mute_function} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_auto_attended_transfer)} - {$grandstream_auto_attended_transfer} -{else} - 1 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 10 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - {$grandstream_blf_remote_status} - - - - - 1 - - - - - {if isset($grandstream_missed_call_notification) } - {$grandstream_missed_call_notification} - {else} - 0 - {/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 1 - - - - - - - - - - - - 0 - - - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_multicast_paging_codec) } - {$grandstream_multicast_paging_codec} - {else} - 0 - {/if} - - - - {if isset($grandstream_multicast_channel_number) } - {$grandstream_multicast_channel_number} - {else} - 0 - {/if} - - - - {$account.1.display_name} - - - - - - {if isset($grandstream_multicast_listening_address_1) } - {$grandstream_multicast_listening_address_1} - {else} - - {/if} - - - - {if isset($grandstream_multicast_listening_label_1) } - {$grandstream_multicast_listening_label_1} - {else} - - {/if} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_headset_key_mode)} - {$grandstream_headset_key_mode} -{/if} - - - - -{if isset($grandstream_headset_type)} - {$grandstream_headset_type} - - - - - {$grandstream_headset_type} -{/if} - - - - -{if isset($grandstream_headset_ring)} - {$grandstream_headset_ring} -{/if} - - - - - 0 - - - - -{if isset($grandstream_headset_tx_gain)} - {$grandstream_headset_tx_gain} -{else} - 0 -{/if} - - - - -{if isset($grandstream_headset_rx_gain)} - {$grandstream_headset_rx_gain} -{else} - 0 -{/if} - - - - - 0 - - - - - - -{if isset($ntp_server_primary)} - {$ntp_server_primary} -{else} - pool.ntp.org -{/if} - - - -{if isset($ntp_server_secondary)} - {$ntp_server_secondary} -{else} - 2.us.pool.ntp.org -{/if} - - - - - 1440 - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_timezone) } - {$grandstream_timezone} -{elseif isset($grandstream_gxp_time_zone) } - {$grandstream_gxp_time_zone} -{else} - auto -{/if} - - - - - - {if isset($grandstream_dhcp_time_zone)}{$grandstream_dhcp_time_zone}{else}0{/if} - - - - - MTZ+6MDT+5,M4.1.0,M11.1.0 - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - {$grandstream_lcd_brightness} - - - - - {$grandstream_lcd_brightness_idle} - - - - - {$grandstream_active_backlight_timeout} - - - - - {if isset($grandstream_missed_call_backlight) } - {$grandstream_missed_call_backlight} - {else} - 0 - {/if} - - - - - -{if isset($grandstream_wallpaper_url)} - 1 -{/if} - - - -{if isset($grandstream_wallpaper_url)} - {$grandstream_wallpaper_url} -{/if} - - - - #000000 - - - - -{if isset($grandstream_screensaver)} - {$grandstream_screensaver} -{/if} - - - - -{if isset($grandstream_screensaver_source)} - {$grandstream_screensaver_source} -{/if} - - - - - -{if isset($grandstream_screensaver_show_date_time)} - {$grandstream_screensaver_show_date_time} -{else} - 1 -{/if} - - - - -{if isset($grandstream_screensaver_timeout)} - {$grandstream_screensaver_timeout} -{else} - 3 -{/if} - - - -{if isset($grandstream_screensaver_server_path)} - {$grandstream_screensaver_server_path} -{else} - -{/if} - - - - -{if isset($grandstream_screensaver_xml_download_interval)} - {$grandstream_screensaver_xml_download_interval} -{else} - 0 -{/if} - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - f1=440,f2=480,c=200/400; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440,c=10/10; - - - - - f1=440,f2=480,c=200/400; - - - - - f1=440,f2=440,c=25/525; - - - - - 0 - - - - - f1=480,f2=620,c=50/50; - - - - - f1=480,f2=620,c=25/25; - - - - -{if isset($grandstream_speaker_ring_volume)} - {$grandstream_speaker_ring_volume} -{/if} - - - - - 5 - - - - -{if isset($grandstream_lock_volume)} - {$grandstream_lock_volume} -{else} - 0 -{/if} - - - - -{if isset($grandstream_default_ringtone)} - {$grandstream_default_ringtone} -{/if} - - - - - - - - - - - 1 - - - - - {if isset($grandstream_city_code)} - {$grandstream_weather_enable} -{else} -0 -{/if} - - - - - - -{if isset($grandstream_city_code)} - 0 -{/if} - - - -{if isset($grandstream_city_code)} - {$grandstream_city_code} -{/if} - - - - - 15 - - - - -{if isset ($grandstream_temp_unit)} - {$grandstream_temp_unit} -{/if} - - - - - - -{if isset($xmlappurl)} - {$xmlappurl}?token={$xmlapptoken} - {$xmlapp} -{elseif isset($xmlapp)} - https://{$server_address_1}/app/change-caller-id/app.php?token={$xmlapptoken} - {$xmlapp} -{/if} - - - - - - - - - 0 - - - - - - - - - - - - {$grandstream_label_background} - - - - - {$grandstream_long_label} - - - - - - {if isset ($grandstream_key_mode)} - {$grandstream_key_mode} - {else} - 1 - {/if} - - - - - 0 - - - - - {$grandstream_blind_xfer_blf} - - - - - 0 - - - - - {if isset($grandstream_show_key_labels)} - {$grandstream_show_key_labels} - {else} - 1 - {/if} - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{$fixed_keys=4} -{if $template == "grandstream/gxp2130"}{$fixed_keys=3}{/if} -{if $template == "grandstream/gxp2140"}{$fixed_keys=4}{/if} -{if $template == "grandstream/gxp2160"}{$fixed_keys=6}{/if} -{if $template == "grandstream/gxp2170"}{$fixed_keys=12}{/if} -{if $template == "grandstream/gxp2135"}{$fixed_keys=8}{/if} - -{$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>0,"shared line"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, "eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"multicast paging"=>23,"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} - -{for $line=1 to 6} -{$pid=$line*2-2} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} -0 -{$line-1} - - -{else} --1 -{/if} -{/if} - -{/for} - - -{$start_id=23800} -{for $line=7 to 48} -{$pid=($line-6)*4-4} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} --1 -0 - - -{else} --1 -{/if} -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"conference"=>12,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=323} -{for $mem=1 to 7} -{$pid=$mem*3-3} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.memory.$mem.device_key_type|in_array:$key_types} - - - - - - - -{$key_types[$keys.memory.$mem.device_key_type]} - - -{$keys.memory.$mem.device_key_line} - - -{$keys.memory.$mem.device_key_label} - - -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{$start_id=353} -{for $mem=8 to 18} -{$pid=($mem-7)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - - -{$start_id=1440} -{for $mem=19 to 24} -{$pid=($mem-18)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - 0 - - - - - - 1 - - - - - - 0 - - - - - 0 - - - - - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target - - - - BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target - - - - Answer,Reject,Forward,ReConf - - - - BTOnOff,EndCall,ReConf,ConfRoom,ConfCall - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,ConfCall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark - - - - BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add - - - - ReConf,Resume,HoldTrnf,ConfCall,Add - - - - EndCall,ReConf,ConfRoom - - - - BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target - - - - BTOnOff,Cancel,Dial,Backspace,Target - - - - - - - - - - - -{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21,"menu"=>27]} -{$start_id=2987} -{for $prog=1 to 3} -{$pid=$prog*4-4} -{if isset($keys.programmable.$prog.device_key_category) && isset($keys.programmable.$prog.device_key_type) && $keys.programmable.$prog.device_key_type|in_array:$key_types} -{$key_types[$keys.programmable.$prog.device_key_type]} -{$keys.programmable.$prog.device_key_line} -{$keys.programmable.$prog.device_key_label} -{$keys.programmable.$prog.device_key_value} -{else} -0 -0 - - -{/if} - -{/for} - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - -{if $template == "grandstream/gxp2140"||$template == "grandstream/gxp2170"} - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=23000} -{for $exp=1 to 160} -{$pid=$exp*5-5} -{if isset($keys.expansion.$exp.device_key_category) && isset($keys.expansion.$exp.device_key_type) && $keys.expansion.$exp.device_key_type|in_array:$key_types} -{$key_types[$keys.expansion.$exp.device_key_type]} -{$keys.expansion.$exp.device_key_line} -{$keys.expansion.$exp.device_key_label} -{$keys.expansion.$exp.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} -{/if} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - + + + Disabled + + + + Standard + + + + No + + + + No + + + + No + + + + No + + + + No + + + + No + + + + + + No + + + + 180 + + + 90 + + + + No + + + + No + + + + No + + + + UAC + + + + 1 + + + + No + + + + + + No + + + + + + + + No + + + + No + + + + No + + + + Yes + + + + No + + + + + + PCMU + PCMA + G.723.1 + G.729A/B + G.722 + iLBC + G.726-32 + OPUS + + + + No + + + + Callee + + + + No + + + + No + + + + Disabled + + + + AES128And256Bit + + + + Yes + + + + No + + + + No + + + + Adaptive + + + + 300ms + + + + 2 + + + + 5.3kbpsEncodingRate + + + + ITU + + + + 30ms + + + 97 + + + 123 + + + 101 + + + + No + Yes + No + + + + 250 + + + + + No + + + + + + {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} + + + + Mpk + + + + All + + + + No + + + + No + + + + No + + + + + + + No + + + + No + + + + + + + + 30 + + + + 4 + + + + Pound + + + + Yes + + + + No + + + + + + + 0 + + + + {$grandstream_call_waiting} + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + 60 + + + + + + + + Yes + + + + No + + + + No + + + + Yes + + + + + + + + + + + + Yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 + +{/foreach} + + + + + + + + {if isset($grandstream_internet_protocol)} + {$grandstream_internet_protocol} + {else} + IPv4Only + {/if} + + + + {if isset($grandstream_ip_address_type)} + {$grandstream_ip_address_type} + {else} + DHCP + {/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 192 + + 168 + + 0 + + 160 + + + + + 255 + + 255 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + + + + AutoConfigured + + + + + + + + + + + + + + + + + + + + + + + + + + Disable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 26 + + + + + 46 + + + + No + + + + No + + + + Yes + + + + + 0 + + + + 0 + + + + Enabled + + + 0 + + + 0 + + + + Yes + + + + Yes + + + 60 + + + + 1500 + + + + + + Yes + + + Yes + + + + + + + No + + + + + + No + + + 0 + + + + + + + On + + + + + + + + + + + + + + + + + + + + No + + + + 0 + + + + + + 1194 + + + + UDP + + + + + + + + + + + + + + + + + + + + Blowfish + + + + + + + + + + Yes + + + + + + + + + + No + + + Version3 + + + + 161 + + + + + + + + Version2 + + + + + + + + 162 + + + + 5 + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + {if isset($user_password)} + {$user_password} + {/if} + + + + {if isset($admin_password)} + {$admin_password} + {else} + {$mac|replace:'-':''} + {/if} + + + + + + + + AlwaysCheck + + + No + + + No + + + + + + {if isset($grandstream_dhcp_option_override)} + {$grandstream_dhcp_option_override} + {else} + Yes + {/if} + + + {if isset($grandstream_dhcp_option_additional_override)} + {$grandstream_dhcp_option_additional_override} + {else} + None + {/if} + + + + {if isset($grandstream_dhcp_option_override_sip_server)} + {$grandstream_dhcp_option_override_sip_server} + {else} + No + {/if} + + + Yes + + + + No + + + + 10080 + + + No + + + 1 + + + + + + 1 + + + No + + + Yes + + + + HTTPS + + + {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} + + + {$http_auth_username} + + {$http_auth_password} + + + + + + + + + + + No + + + No + + + No + + + + HTTP + + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path} + {else} + {$domain_name}{$project_path}/app/provision/resources/firmware/ + {/if} + + + + + + + + + + + + + + + + + UDP + + + {$grandstream_syslog_server} + + + + {$grandstream_syslog_level} + + + + + + {$grandstream_send_sip_log} + + + No + + + Yes + + + No + + + + + + + + + + + + + + + Automatic + + + + + + + + + + + + + + No + + + https://acs.gdms.cloud + + + + + + + + + + Yes + + + 86400 + + + + + + + + + 7547 + + + + + + + + + No + + + + + + + Unrestricted + + + + Default + + + No + + + + + + + + + + + + + HTTPS + + + Yes + + + 80 + + + 443 + + + + Yes + + + + 22 + + + + 5 + + + + 10 + + + + 5 + + + + TLS_1_1 + + + + UNLIMITED + + + + 0 + + + + + + + Default Certificates + + + + + + No + + + + 0 + + + + + + + + 0 + + + + 112,911,110 + + + + + + + InternalStorage + + + No + + + No + + + + 0 + + + + + + + EnabledUseHTTPS + + + {$grandstream_phonebook_username} + + + {$grandstream_phonebook_password} + + + {$grandstream_phonebook_server} + + + + {$grandstream_phonebook_download_interval} + + + Yes + + + Replace + + + + LastName + + + + Default + + + + QuickMatch + + + + + + + + LDAP + + + + + + + 389 + + + + + + + + + + + + + + + + + + + + + version3 + + + + + + + + + + + + + + + + + 50 + + + + + 30 + + + + No + + + + No + + + + No + + + + + + + + No + + + + + + + + 5004 + + + + 200 + + + + Yes + + + + 20 + + + + + + + + + + + 0 + + + + No + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4320 + + + + 100 + + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5222 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + Account1 + + + Yes + + + + CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode + + + Yes + + + + + + + + 0 + + + 30 + + + No + + + + 5 + + + No + + + 10 + + + 20 + + + + + + + {$grandstream_call_waiting} + + + + Yes + + + + + + + Yes + + + + Yes + + + No + + + + Yes + + + + Yes + + + No + + + No + + + No + + + Yes + + + No + + + + + + No + + + + + + + + Yes + + + + + + + Dynamic + + + + BlindTransfer + + + Yes + + + [()- ]+ + + + + Yes + + + No + + + Default + + + + Busy + + + + TemporarilyUnavailable + + + No + + + No + + + + + + + + + + No + + + InternalStorage + + + Yes + + + + 10 + + + + + + 0 + + + + + + + + + + + + + Yes + + + Yes + + + + + + Yes + + + Yes + + + Yes + + + No + + + No + + + + + + + + + + + + + + + + + + Yes + + + + G.722 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DefaultMode + + + Normal + + + Normal + + + + 0 + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + pool.ntp.org + + + + + + + + + 1440 + + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($grandstream_time_zone)} + {$grandstream_time_zone} + {else} + auto + {/if} + + + Yes + + + + + MTZ+6MDT+5,M4.1.0,M11.1.0 + + + + + + + + {if isset($grandstream_format_date)} + {$grandstream_format_date} + {else} + yyyy-mm-dd + {/if} + + + + {if isset($grandstream_format_time)} + {$grandstream_format_time} + {else} + 12Hour + {/if} + + + {if isset($grandstream_show_clock)} + {$grandstream_show_clock} + {else} + Yes + {/if} + + + + + + + + + + + 100 + + + + 60 + + + + 1 + + + + 1 + + + + {if isset($grandstream_wallpaper_url)} + Download + {else} + Default + {/if} + + + + {if isset($grandstream_wallpaper_url)} + {$grandstream_wallpaper_url} + {/if} + + + + #000000 + + + + OnIfNoVPKIsActive + + + + + + Yes + + + + 3 + + + + + + + + 0 + + + + + + 0 + + + + Yes + + + + + + + + + f1=440,f2=480,c=200/400; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440,c=10/10; + + + + + f1=440,f2=480,c=200/400; + + + + + f1=440,f2=440,c=25/525; + + + + Low + + + + + f1=480,f2=620,c=50/50; + + + + + f1=480,f2=620,c=25/25; + + + + + 5 + + + + + 5 + + + + + 0 + + + No + + + 0 + + + + + 3 + + + + + + + Yes + + + + + + + + + + + XMLApp + + + + + + + + + + No + + + + + + No + + + HTTP + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + geodetic,civic,locationURI + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 911 + + + No + + + No + + + + + + + + + + Yes + + + + AccountMode + + + BlindTransfer + + + No + + + Show + + + + + + {literal} + + + + + + + + + + + + + + + + + + + + + + + + + + {/literal} + +{assign var=key_types value=["none"=>-1,"line"=>0,"shared"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, +"eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17, +"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"conference"=>22,"multicast paging"=>23, +"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} + +{foreach $keys['line'] as $row} +{$line=$row.device_key_id} + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + + {$row.device_key_line} + + + + {$row.device_key_label} + + + + {$row.device_key_value} + + + + +{/foreach} + + + + + + + + Menu + + + + Yes + + + No + + + No + + + + + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target + + + + BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target + + + + Answer,Reject,Forward,ReConf + + + + BTOnOff,Cancel,EndCall,ReConf,ConfRoom,ConfCall + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Custom-Confcall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark + + + + BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add + + + + ReConf,Resume,HoldTrnf,ConfCall,Add + + + + EndCall,ReConf,ConfRoom + + + + BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target + + + + BTOnOff,Cancel,Dial,Backspace,Target + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + {literal} + + + + + + + + + + + + + {/literal} + +{foreach $keys['memory'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + + + + + + No + + + + No + + + + + {literal} + + + + + + + + + + + {/literal} + +{foreach $keys['expansion'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 91a9d12617..7ec0204c83 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -1,17375 +1,3238 @@ - - -{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - 1 - - - - {$account.1.display_name} - - - -{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' && isset($account.1.server_address_secondary)} - {$account.1.server_address_secondary}:{$account.1.sip_port} -{else} - {$account.1.server_address_secondary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_primary)} - {$account.1.outbound_proxy_primary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_primary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_secondary)} - {$account.1.outbound_proxy_secondary}:{$account.1.sip_port} -{else} - {$account.1.outbound_proxy_secondary} -{/if} - - - - - - - -{if isset($account.1.server_address_secondary)} - {$account.1.user_id}@{$account.1.server_address} -{else} - {$account.1.user_id} -{/if} - - - - {$account.1.auth_id} - - - - {$account.1.password} - - - - {$account.1.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.1.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_feature_key_sync)} - {$grandstream_feature_key_sync} -{/if} - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {if isset ($grandstream_jitter_adapt)} - {$grandstream_jitter_adapt} - {else} - 1 - {/if} - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 0 - - - - {$grandstream_dial_prefix} - - - - - -{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} - - - - mpk - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - -{if isset($grandstream_dial_timeout)} -{$grandstream_dial_timeout} -{else} -4 -{/if} - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - -{if isset($grandstream_account_ring_tone_1)} - {$grandstream_account_ring_tone_1} -{/if} - - - -{if isset($grandstream_distinctive_ringtone_name_1)} - {$grandstream_distinctive_ringtone_name_1} -{else} - ring1 -{/if} - - - - - - {$grandstream_distinctive_ringtone_1} - - - -{if isset($grandstream_distinctive_ringtone_name_2)} - {$grandstream_distinctive_ringtone_name_2} -{else} - ring2 -{/if} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_intercom_playwarningtoneforautoanswer) } - {$grandstream_intercom_playwarningtoneforautoanswer} - {else} - 0 - {/if} - - - - - - - - - - - - {$grandstream_enable_call_features} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 20 - - - - - - - - - - -{if isset($account.2.password)} - 1 -{else} - 0 -{/if} - - - - {$account.2.display_name} - - - -{if $account.2.sip_transport != 'dns srv'} - {$account.2.server_address}:{$account.2.sip_port} -{else} - {$account.2.server_address} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.server_address_secondary)} - {$account.2.server_address_secondary}:{$account.2.sip_port} -{else} - {$account.2.server_address_secondary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_primary)} - {$account.2.outbound_proxy_primary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_primary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_secondary)} - {$account.2.outbound_proxy_secondary}:{$account.2.sip_port} -{else} - {$account.2.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.2.user_id} - - - - {$account.2.auth_id} - - - - {$account.2.password} - - - - {$account.2.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.2.register_expires} - - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5060 - - - - - 20 - - - - - - 100 - - - - - - 400 - - - - - 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'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - {$grandstream_accept_sip_from_proxy_only} - - - - - 0 - - - - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 2 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 123 - - - - - 101 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_2)} - {$grandstream_account_ring_tone_2} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.3.password)} - 1 -{else} - 0 -{/if} - - - - {$account.3.display_name} - - - -{if $account.3.sip_transport != 'dns srv'} - {$account.3.server_address}:{$account.3.sip_port} -{else} - {$account.3.server_address} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.server_address_secondary)} - {$account.3.server_address_secondary}:{$account.3.sip_port} -{else} - {$account.3.server_address_secondary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_primary)} - {$account.3.outbound_proxy_primary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_primary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_secondary)} - {$account.3.outbound_proxy_secondary}:{$account.3.sip_port} -{else} - {$account.3.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.3.user_id} - - - - {$account.3.auth_id} - - - - {$account.3.password} - - - - {$account.3.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.3.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5064 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.3.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.3.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.3.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_3)} - {$grandstream_account_ring_tone_3} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.4.password)} - 1 -{else} - 0 -{/if} - - - - {$account.4.display_name} - - - -{if $account.4.sip_transport != 'dns srv'} - {$account.4.server_address}:{$account.4.sip_port} -{else} - {$account.4.server_address} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.server_address_secondary)} - {$account.4.server_address_secondary}:{$account.4.sip_port} -{else} - {$account.4.server_address_secondary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_primary)} - {$account.4.outbound_proxy_primary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_primary} -{/if} - - - - -{if $account.4.sip_transport != 'dns srv' && isset($account.4.outbound_proxy_secondary)} - {$account.4.outbound_proxy_secondary}:{$account.4.sip_port} -{else} - {$account.4.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.4.user_id} - - - - {$account.4.auth_id} - - - - {$account.4.password} - - - - {$account.4.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.4.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5066 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.4.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.4.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.4.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_4)} - {$grandstream_account_ring_tone_4} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.5.password)} - 1 -{else} - 0 -{/if} - - - - {$account.5.display_name} - - - -{if $account.5.sip_transport != 'dns srv'} - {$account.5.server_address}:{$account.5.sip_port} -{else} - {$account.5.server_address} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.server_address_secondary)} - {$account.5.server_address_secondary}:{$account.5.sip_port} -{else} - {$account.5.server_address_secondary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_primary)} - {$account.5.outbound_proxy_primary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_primary} -{/if} - - - - -{if $account.5.sip_transport != 'dns srv' && isset($account.5.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.5.sip_port} -{else} - {$account.5.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.5.user_id} - - - - {$account.5.auth_id} - - - - {$account.5.password} - - - - {$account.5.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.5.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5068 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.5.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.5.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.5.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_5)} - {$grandstream_account_ring_tone_5} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - 0 - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - {$grandstream_call_waiting} - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($account.6.password)} - 1 -{else} - 0 -{/if} - - - - {$account.6.display_name} - - - -{if $account.6.sip_transport != 'dns srv'} - {$account.6.server_address}:{$account.6.sip_port} -{else} - {$account.6.server_address} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.server_address_secondary)} - {$account.6.server_address_secondary}:{$account.6.sip_port} -{else} - {$account.6.server_address_secondary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_primary)} - {$account.6.outbound_proxy_primary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_primary} -{/if} - - - - -{if $account.6.sip_transport != 'dns srv' && isset($account.6.outbound_proxy_secondary)} - {$account.5.outbound_proxy_secondary}:{$account.6.sip_port} -{else} - {$account.6.outbound_proxy_secondary} -{/if} - - - - - - - - {$account.6.user_id} - - - - {$account.6.auth_id} - - - - {$account.6.password} - - - - {$account.6.display_name} - - - - {$voicemail_number} - - - - - 0 - - - - - - - -{if isset($grandstream_dns_mode)} - {$grandstream_dns_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - - - - -{if isset($grandstream_nat_traversal)} - {$grandstream_nat_traversal} -{else} - 0 -{/if} - - - - - - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - {$account.6.register_expires} - - - - - 60 - - - - - 0 - - - - - 0 - - - - - 30 - - - - - 30 - - - - - 5070 - - - - - 20 - - - - - - 50 - - - - - - 400 - - - - - 0 - - - - -{$tp=0} -{if $account.6.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.6.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.6.sip_transport == 'dns srv'} - {if isset($grandstream_dnssrv_transport)} - {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} - {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} - {else}{$tp=1} - {/if} - {else}{$tp=1} - {/if} -{/if} - {$tp} - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 0 - - - - - 1 - - - - - -{if isset($subscribe_mwi)} - 1 -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 0 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - 1 - - - - - - - - 15 - - - - - - - - - 0 - - - - {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} - - - - - - - - - {$grandstream_blf_call_pickup} - - - - - ** - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - 100 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 1 - - - - - 180 - - - - - 90 - - - - - 0 - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 1 - - - - - 0 - - - - - 123 - - - - - 101 - - - - - - - 0 - - - - - 8 - - - - - 4 - - - - - 18 - - - - - 9 - - - - - 98 - - - - - 2 - - - - - 123 - - - - - 0 - - - - - 1 - - - - - - 0 - - - - - -{if isset($grandstream_srtp)} - {$grandstream_srtp} -{else} - 0 -{/if} - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 2 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - 97 - - - - - 1 - - - - - 2 - - - - - - 0 - - - - - 250 - - - - - - - - 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} - - - - mpk - - - - - 0 - - - - -{if isset($grandstream_account_ring_tone_6)} - {$grandstream_account_ring_tone_6} -{/if} - - - - {$grandstream_distinctive_ringtone_name_1} - - - - - - {$grandstream_distinctive_ringtone_1} - - - - {$grandstream_distinctive_ringtone_name_2} - - - - - - {$grandstream_distinctive_ringtone_2} - - - - {$grandstream_distinctive_ringtone_name_3} - - - - - - {$grandstream_distinctive_ringtone_3} - - - - {$grandstream_distinctive_ringtone_name_4} - - - - - - {$grandstream_distinctive_ringtone_4} - - - - {$grandstream_distinctive_ringtone_name_5} - - - - - - {$grandstream_distinctive_ringtone_5} - - - - {$grandstream_distinctive_ringtone_name_6} - - - - - - {$grandstream_distinctive_ringtone_6} - - - - {$grandstream_distinctive_ringtone_name_7} - - - - - - {$grandstream_distinctive_ringtone_7} - - - - {$grandstream_distinctive_ringtone_name_8} - - - - - - {$grandstream_distinctive_ringtone_8} - - - - {$grandstream_distinctive_ringtone_name_9} - - - - - - {$grandstream_distinctive_ringtone_9} - - - - {$grandstream_distinctive_ringtone_name_10} - - - - - - {$grandstream_distinctive_ringtone_10} - - - - - {$grandstream_ring_timeout} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 30 - - - - 4 - - - - - 1 - - - - - 0 - - - - - 1 - - - - - - - - - - 0 - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} - - - - - - {$grandstream_ip_address_mode} - - - - - - - phone-{$mac|replace:'-':''} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + {literal} + + + + + + + + + + {/literal} + + + + + + + +{foreach $account as $row} + + + + {if $row.enabled == 'true'} + Yes + {else} + No + {/if} + + + {$row.label} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + {$row.server_address_secondary} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_primary)} + {$row.outbound_proxy_primary}:{$row.sip_port} + {else} + {$row.outbound_proxy_primary} + {/if} + + + {if $row.sip_transport != 'dns srv' && isset($row.outbound_proxy_secondary)} + {$row.outbound_proxy_secondary}:{$row.sip_port} + {else} + {$row.outbound_proxy_secondary} + {/if} + + + {if isset($row.server_address_primary)} + {$row.server_address_primary} + {else} + {$row.server_address} + {/if} + + + {$row.user_id} + + + {$row.user_id} + + + {$row.password} + + + {$row.display_name} + + + {$voicemail_number} + + + + + + + User Name + + + + + ARecord + + + + Default + + + + No + + + + + + + + + + + + + Auto - - - + + + Yes - - - - - - {if isset($grandstream_ipv4octet_1)}{$grandstream_ipv4octet_1}{else}192{/if} + + + + + + No + + + + + + Disabled + + + + Yes + + + + No + + + + 15 + + + + 60 + + + + 0 - - {if isset($grandstream_ipv4octet_2)}{$grandstream_ipv4octet_2}{else}168{/if} + + + Yes - - {if isset($grandstream_ipv4octet_3)}{$grandstream_ipv4octet_3}{else}1{/if} + + 30 - - {if isset($grandstream_ipv4octet_4)}{$grandstream_ipv4octet_4}{else}102{/if} + + 3 - - - {if isset($grandstream_ipv4mask_1)}{$grandstream_ipv4mask_1}{else}255{/if} + + {$row.sip_port} - - {if isset($grandstream_ipv4mask_2)}{$grandstream_ipv4mask_2}{else}255{/if} + + 20 - - {if isset($grandstream_ipv4mask_3)}{$grandstream_ipv4mask_3}{else}0{/if} + + + 0.5sec - - {if isset($grandstream_ipv4mask_4)}{$grandstream_ipv4mask_4}{else}0{/if} + + + 4sec - - - {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_1}{else}192{/if} + + + {if $row.sip_transport == ''}TCP{/if} + {if $row.sip_transport == 'UDP'}UDP{/if} + {if $row.sip_transport == 'TCP'}TCP{/if} + {if $row.sip_transport == 'TLS'}Tls{/if} - - {if isset($grandstream_ipv4gw_2)}{$grandstream_ipv4gw_2}{else}168{/if} + + + Transport_Only - - {if isset($grandstream_ipv4gw_3)}{$grandstream_ipv4gw_3}{else}2{/if} + + + sips - - {if isset($grandstream_ipv4gw_4)}{$grandstream_ipv4gw_4}{else}1{/if} + + + No - - - {if isset($grandstream_ipv4dns1_1)}{$grandstream_ipv4dns1_1}{else}0{/if} + + + InRoute - - {if isset($grandstream_ipv4dns1_2)}{$grandstream_ipv4dns1_2}{else}0{/if} + + + Yes - - {if isset($grandstream_ipv4dns1_3)}{$grandstream_ipv4dns1_3}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns1_4)}{$grandstream_ipv4dns1_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4dns2_1)}{$grandstream_ipv4dns2_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4dns2_2)}{$grandstream_ipv4dns2_2}{else}0{/if} + + + Auto - - {if isset($grandstream_ipv4dns2_3)}{$grandstream_ipv4dns2_3}{else}0{/if} + + + Header - - {if isset($grandstream_ipv4dns2_4)}{$grandstream_ipv4dns2_4}{else}0{/if} + + + No - - - {if isset($grandstream_ipv4preferdns_1)}{$grandstream_ipv4preferdns_1}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_2)}{$grandstream_ipv4preferdns_2}{else}0{/if} + + + No - - {if isset($grandstream_ipv4preferdns_3)}{$grandstream_ipv4preferdns_3}{else}0{/if} + + + + + Default - - {if isset($grandstream_ipv4preferdns_4)}{$grandstream_ipv4preferdns_4}{else}0{/if} + + + Default - - - - 0 + + + Yes - - - 0 + + + Yes - - + + + Yes - - + + + No - - + + + No - - - + + + + + 15 - - - + + + + + + Disabled + + + - - - + + + + + + Auto + + + ** - - - + + - - - - 0 + + + No - - - + + + No - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26 - - - - - 46 - - - - - 0 - - - - -{if isset($grandstream_lan_port_vlan) } - 1 - - - - - - {$grandstream_lan_port_vlan} - -{else} - 0 - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_pc_port_vlan) } - {$grandstream_pc_port_vlan} -{else} - 0 -{/if} - - - - - 0 - - - - - 1 - - - - - 1 - - - - - 30 - - - - - 1500 - - - - - 0 - - - - - - - - 1 - - - - - 1 - - - - - - - - - 0 - - - - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_bluetooth_power)} - {$grandstream_bluetooth_power} -{/if} - - - - -{if isset($grandstream_bluetooth_handsfree)} - {$grandstream_bluetooth_handsfree} -{/if} - - - - - - - - - - - -{if isset($grandstream_openvpn_enable)} - {$grandstream_openvpn_enable} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_server} - - - - -{if isset($grandstream_openvpn_port)} - {$grandstream_openvpn_port} -{else} - 1194 -{/if} - - - - -{if isset($grandstream_openvpn_transport)} - {$grandstream_openvpn_transport} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_ca} - - - - {$grandstream_openvpn_cert} - - - - {$grandstream_openvpn_key} - - - - -{if isset($grandstream_openvpn_cipher)} - {$grandstream_openvpn_cipher} -{else} - 0 -{/if} - - - - {$grandstream_openvpn_username} - - - - {$grandstream_openvpn_password} - - - - {$grandstream_openvpn_options} - - - - - - - - 0 - - - - - 3 - - - - - 161 - - - - - - - - 162 - - - - 5 - - - - 1 - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - {$user_password} - - - -{if isset($admin_password)} - {$admin_password} -{else} - {$mac|replace:'-':''} -{/if} - - - - - - - - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} - - - - - {if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if} - - - - - - {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} - - - - - 0 - - - - - - - - - - 0 - - - - - 10080 - - - - - 0 - - - - 1 - - - - 0 - - - - 1 - - - - - 0 - - - - - 1 - - - - - - 2 - - - -{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} - - - -{$http_auth_username} - - - -{$http_auth_password} - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - {if isset($grandstream_firmware_upgrade_protocol) } - {$grandstream_firmware_upgrade_protocol} - {else} - 1 - {/if} - - - -{if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/{$firmware_version} -{elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path} -{else} - {$domain_name}{$project_path}/app/provision/resources/firmware/ -{/if} - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - {$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 - - - - - 0 - - - - - - - - - - - - - - - -{if isset($grandstream_display_language)} - {$grandstream_display_language} -{else} - Auto -{/if} - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - {if isset ($grandstream_tr069_periodic_inform_enable)} -{$grandstream_tr069_periodic_inform_enable} -{else} -0 -{/if} - - - - - 86400 - - - - {$mac|replace:'-':''|upper} - - - - {$mac|replace:'-':''|upper} - - - - 7547 - - - - - - - - - - - - - 0 - - - - - - - - {$grandstream_config_via_keypad} - - - - - 0 - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - - 80 - - - - - 443 - - - - 1 - - - - 5 - - - - 20 - - - - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - {$grandstream_phonebook_download} - - - - {$http_auth_username} - - - - {$http_auth_password} - - - - - -{if isset($grandstream_phonebook_xml_server_path)} - {$grandstream_phonebook_xml_server_path}/{$mac} -{else} - -{/if} - - - - -{if isset($grandstream_phonebook_download_interval)} - {$grandstream_phonebook_download_interval} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_sort_phonebook_by)} - {$grandstream_sort_phonebook_by} -{else} - 0 -{/if} - - - - -{if isset($contact_groups) || isset($contact_users) || isset($contact_extensions)} - 2 -{else} - 0 -{/if} - - - - -{if isset($grandstream_phonebook_search_mode)} - {$grandstream_phonebook_search_mode} -{else} - 0 -{/if} - - - - - - - - 0 - - - - {$grandstream_ldap_server} - - - - 389 - - - - - - {$grandstream_ldap_base_dn} - - - - {$grandstream_ldap_username} - - - - {$grandstream_ldap_password} - - - - - {$grandstream_ldap_number_filter} - - - - - {$grandstream_ldap_name_filter} - - - - - 3 - - - - - {$grandstream_ldap_name_attr} - - - - - {$grandstream_ldap_number_attr} - - - - {$grandstream_ldap_display_name} - - - - - - 50 - - - - - - 30 - - - - - 0 - - - - 0 - - - 0 - - - - givenName sn title - - - - 0 - - - - - - - - 5004 - - - - - 200 - - - - - 1 - - - - - 20 - - - - - - - -{if isset($grandstream_stun_server) } - {$grandstream_stun_server} -{else} - -{/if} - - - - -{if isset($grandstream_public_mode) } - {$grandstream_public_mode} -{else} - 0 -{/if} - - - - - 0 - - - - - - - - - - - - - 0 - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - 4320 - - - - 100 - - - - 100 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - {if isset($grandstream_missed_call_log) } - {$grandstream_missed_call_log} - {else} - 0 - {/if} - - - - - - - - - - 0 - - - - - - - - - - 0 - - - - - - - - - - - - - - - - 5222 - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - -1 - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 1 - - - - CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode - - - - - {if isset($grandstream_onhook_dial_barging)} - {$grandstream_onhook_dial_barging} - {else} - 1 - {/if} - - - - - - - - 0 - - - - - 30 - - - - - 0 - - - - - 5 - - - - - 0 - - - - - 10 - - - - - 20 - - - - - {if isset($grandstream_history_dialplan_bypass)} - {$grandstream_history_dialplan_bypass} - {/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - -{if isset($grandstream_call_waiting)} -{if $grandstream_call_waiting == "1"} 0{/if} -{if $grandstream_call_waiting == "2"} 1{/if} -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - -{if isset($grandstream_disable_active_mpk_page)} - {$grandstream_disable_active_mpk_page} -{else} - 0 -{/if} - - - - - 0 - - - - -{if isset($dnd)} - {$dnd} -{else} - 1 -{/if} - - - - -{if isset($grandstream_idle_mute_function)} - {$grandstream_idle_mute_function} -{else} - 0 -{/if} - - - - - 0 - - - - - 0 - - - - - - - - -{if isset($grandstream_auto_attended_transfer)} - {$grandstream_auto_attended_transfer} -{else} - 1 -{/if} - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - 0 - - - - - 0 - - - - - 1 - - - - - 10 - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - {$grandstream_blf_remote_status} - - - - - 1 - - - - - {if isset($grandstream_missed_call_notification) } - {$grandstream_missed_call_notification} - {else} - 0 - {/if} - - - - - 0 - - - - - {if isset($grandstream_call_popup_enable)} - {$grandstream_call_popup_enable} - {else} - 1 - {/if} - - - - - 1 - - - - - 1 - - - - - - - - - - - - 0 - - - - - - - 0 - - - - - 0 - - - - - {if isset($grandstream_multicast_paging_codec) } - {$grandstream_multicast_paging_codec} - {else} - 0 - {/if} - - - - {if isset($grandstream_multicast_channel_number) } - {$grandstream_multicast_channel_number} - {else} - 0 - {/if} - - - - {$account.1.display_name} - - - - - - {if isset($grandstream_multicast_listening_address_1) } - {$grandstream_multicast_listening_address_1} - {else} - - {/if} - - - - {if isset($grandstream_multicast_listening_label_1) } - {$grandstream_multicast_listening_label_1} - {else} - - {/if} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_headset_key_mode)} - {$grandstream_headset_key_mode} -{/if} - - - - -{if isset($grandstream_headset_type)} - {$grandstream_headset_type} - - - - - {$grandstream_headset_type} -{/if} - - - - -{if isset($grandstream_headset_ring)} - {$grandstream_headset_ring} -{/if} - - - - - 0 - - - - -{if isset($grandstream_headset_tx_gain)} - {$grandstream_headset_tx_gain} -{else} - 0 -{/if} - - - - -{if isset($grandstream_headset_rx_gain)} - {$grandstream_headset_rx_gain} -{else} - 0 -{/if} - - - - - 0 - - - - - - -{if isset($ntp_server_primary)} - {$ntp_server_primary} -{else} - pool.ntp.org -{/if} - - - -{if isset($ntp_server_secondary)} - {$ntp_server_secondary} -{else} - 2.us.pool.ntp.org -{/if} - - - - - 1440 - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($grandstream_timezone) } - {$grandstream_timezone} -{elseif isset($grandstream_gxp_time_zone) } - {$grandstream_gxp_time_zone} -{else} - auto -{/if} - - - - - - {if isset($grandstream_dhcp_time_zone)} - {$grandstream_dhcp_time_zone} - {else} - 1 - {/if} - - - - - MTZ+6MDT+5,M4.1.0,M11.1.0 - - - - - - - - - - 0 - - - - - 0 - - - - - 0 - - - - - - - - - {$grandstream_lcd_brightness} - - - - - {$grandstream_lcd_brightness_idle} - - - - - {$grandstream_active_backlight_timeout} - - - - - {if isset($grandstream_missed_call_backlight) } - {$grandstream_missed_call_backlight} - {else} - 0 - {/if} - - - - - -{if isset($grandstream_wallpaper_url)} - 1 -{/if} - - - -{if isset($grandstream_wallpaper_url)} - {$grandstream_wallpaper_url} -{/if} - - - - #000000 - - - - -{if isset($grandstream_screensaver)} - {$grandstream_screensaver} -{/if} - - - - -{if isset($grandstream_screensaver_source)} - {$grandstream_screensaver_source} -{/if} - - - - - -{if isset($grandstream_screensaver_show_date_time)} - {$grandstream_screensaver_show_date_time} -{else} - 1 -{/if} - - - - -{if isset($grandstream_screensaver_timeout)} - {$grandstream_screensaver_timeout} -{else} - 3 -{/if} - - - -{if isset($grandstream_screensaver_server_path)} - {$grandstream_screensaver_server_path} -{else} - -{/if} - - - - -{if isset($grandstream_screensaver_xml_download_interval)} - {$grandstream_screensaver_xml_download_interval} -{else} - 0 -{/if} - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - f1=440,f2=480,c=200/400; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440; - - - - - f1=350,f2=440,c=10/10; - - - - - f1=440,f2=480,c=200/400; - - - - - f1=440,f2=440,c=25/525; - - - - - 0 - - - - - f1=480,f2=620,c=50/50; - - - - - f1=480,f2=620,c=25/25; - - - - -{if isset($grandstream_speaker_ring_volume)} - {$grandstream_speaker_ring_volume} -{/if} - - - - - 5 - - - - -{if isset($grandstream_lock_volume)} - {$grandstream_lock_volume} -{else} - 0 -{/if} - - - - -{if isset($grandstream_default_ringtone)} - {$grandstream_default_ringtone} -{/if} - - - - - - - - - - - 1 - - - - - {if isset($grandstream_city_code)} - {$grandstream_weather_enable} - {else} -0 -{/if} - - - - - - -{if isset($grandstream_city_code)} - 0 -{/if} - - - -{if isset($grandstream_city_code)} - {$grandstream_city_code} -{/if} - - - - - 15 - - - - -{if isset ($grandstream_temp_unit)} - {$grandstream_temp_unit} -{/if} - - - - - - -{if isset($xmlappurl)} - {$xmlappurl}?token={$xmlapptoken} - {$xmlapp} -{elseif isset($xmlapp)} - https://{$server_address_1}/app/change-caller-id/app.php?token={$xmlapptoken} - {$xmlapp} -{/if} - - - - - - - - - 0 - - - - - - - - - - - - {$grandstream_label_background} - - - - - {$grandstream_long_label} - - - - - - {if isset ($grandstream_key_mode)} - {$grandstream_key_mode} - {else} - 1 - {/if} - - - - - {if isset($grandstream_transfer_mode_via_vpk)} - {$grandstream_transfer_mode_via_vpk} - {else} - 0 - {/if} - - - - - {$grandstream_blind_xfer_blf} - - - - - 0 - - - - - {if isset($grandstream_show_key_labels)} - {$grandstream_show_key_labels} - {else} - 1 - {/if} - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{$fixed_keys=4} -{if $template == "grandstream/gxp2130"}{$fixed_keys=3}{/if} -{if $template == "grandstream/gxp2140"}{$fixed_keys=4}{/if} -{if $template == "grandstream/gxp2160"}{$fixed_keys=6}{/if} -{if $template == "grandstream/gxp2170"}{$fixed_keys=12}{/if} -{if $template == "grandstream/gxp2135"}{$fixed_keys=8}{/if} - -{$start_id=1363} -{assign var=key_types value=["none"=>-1,"line"=>0,"shared line"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, "eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"multicast paging"=>23,"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} - -{for $line=1 to 6} -{$pid=$line*2-2} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} -0 -{$line-1} - - -{else} --1 -{/if} -{/if} - -{/for} - - -{$start_id=23800} -{for $line=7 to 48} -{$pid=($line-6)*4-4} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{if $line <= $fixed_keys} -{$key_types[$keys.line.$line.device_key_type]} -{else} -{$key_types[$keys.line.$line.device_key_type]-10} -{/if} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -{if $line <= $fixed_keys} --1 -0 - - -{else} --1 -{/if} -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"conference"=>12,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=323} -{for $mem=1 to 7} -{$pid=$mem*3-3} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.memory.$mem.device_key_type|in_array:$key_types} - - - - - - - -{$key_types[$keys.memory.$mem.device_key_type]} - - -{$keys.memory.$mem.device_key_line} - - -{$keys.memory.$mem.device_key_label} - - -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{$start_id=353} -{for $mem=8 to 18} -{$pid=($mem-7)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - - -{$start_id=1440} -{for $mem=19 to 24} -{$pid=($mem-18)*4-4} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - - - - - - - 0 - - - - - - 1 - - - - - - 0 - - - - - 0 - - - - - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target - - - - BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target - - - - Answer,Reject,Forward,ReConf - - - - BTOnOff,EndCall,ReConf,ConfRoom,ConfCall - - - - - BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,ConfCall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark - - - - BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add - - - - ReConf,Resume,HoldTrnf,ConfCall,Add - - - - EndCall,ReConf,ConfRoom - - - - BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target - - - - BTOnOff,Cancel,Dial,Backspace,Target - - - - - - - - - - - -{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21,"menu"=>27]} -{$start_id=2987} -{for $prog=1 to 3} -{$pid=$prog*4-4} -{if isset($keys.programmable.$prog.device_key_category) && isset($keys.programmable.$prog.device_key_type) && $keys.programmable.$prog.device_key_type|in_array:$key_types} -{$key_types[$keys.programmable.$prog.device_key_type]} -{$keys.programmable.$prog.device_key_line} -{$keys.programmable.$prog.device_key_label} -{$keys.programmable.$prog.device_key_value} -{else} -0 -0 - - -{/if} - -{/for} - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - -{if $template == "grandstream/gxp2140"||$template == "grandstream/gxp2170"} - -{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} -{$start_id=23000} -{for $exp=1 to 160} -{$pid=$exp*5-5} -{if isset($keys.expansion.$exp.device_key_category) && isset($keys.expansion.$exp.device_key_type) && $keys.expansion.$exp.device_key_type|in_array:$key_types} -{$key_types[$keys.expansion.$exp.device_key_type]} -{$keys.expansion.$exp.device_key_line} -{$keys.expansion.$exp.device_key_label} -{$keys.expansion.$exp.device_key_value} -{else} --1 -0 - - -{/if} - -{/for} -{/if} - -{literal} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{/literal} - - - + + + Disabled + + + + Standard + + + + No + + + + No + + + + No + + + + No + + + + No + + + + No + + + + + + No + + + + 180 + + + 90 + + + + No + + + + No + + + + No + + + + UAC + + + + 1 + + + + No + + + + + + No + + + + + + + + No + + + + No + + + + No + + + + Yes + + + + No + + + + + + PCMU + PCMA + G.723.1 + G.729A/B + G.722 + iLBC + G.726-32 + OPUS + + + + No + + + + Callee + + + + No + + + + No + + + + Disabled + + + + AES128And256Bit + + + + Yes + + + + No + + + + No + + + + Adaptive + + + + 300ms + + + + 2 + + + + 5.3kbpsEncodingRate + + + + ITU + + + + 30ms + + + 97 + + + 123 + + + 101 + + + + No + Yes + No + + + + 250 + + + + + No + + + + + + {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} + + + + Mpk + + + + All + + + + No + + + + No + + + + No + + + + + + + No + + + + No + + + + + + + + 30 + + + + 4 + + + + Pound + + + + Yes + + + + No + + + + + + + 0 + + + + {$grandstream_call_waiting} + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + + + 5 + + + + 60 + + + + + + + + Yes + + + + No + + + + No + + + + Yes + + + + + + + + + + + + Yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 + +{/foreach} + + + + + + + + {if isset($grandstream_internet_protocol)} + {$grandstream_internet_protocol} + {else} + IPv4Only + {/if} + + + + {if isset($grandstream_ip_address_type)} + {$grandstream_ip_address_type} + {else} + DHCP + {/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 192 + + 168 + + 0 + + 160 + + + + + 255 + + 255 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + 0 + + 0 + + 0 + + + + + + + AutoConfigured + + + + + + + + + + + + + + + + + + + + + + + + + + Disable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 26 + + + + + 46 + + + + No + + + + No + + + + Yes + + + + + 0 + + + + 0 + + + + Enabled + + + 0 + + + 0 + + + + Yes + + + + Yes + + + 60 + + + + 1500 + + + + + + Yes + + + Yes + + + + + + + No + + + + + + No + + + 0 + + + + + + + On + + + + + + + + + + + + + + + + + + + + No + + + + 0 + + + + + + 1194 + + + + UDP + + + + + + + + + + + + + + + + + + + + Blowfish + + + + + + + + + + Yes + + + + + + + + + + No + + + Version3 + + + + 161 + + + + + + + + Version2 + + + + + + + + 162 + + + + 5 + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + 0 + + + + None + + + + None + + + + + + + + + + + + + + + + {if isset($user_password)} + {$user_password} + {/if} + + + + {if isset($admin_password)} + {$admin_password} + {else} + {$mac|replace:'-':''} + {/if} + + + + + + + + AlwaysCheck + + + No + + + No + + + + + + {if isset($grandstream_dhcp_option_override)} + {$grandstream_dhcp_option_override} + {else} + Yes + {/if} + + + {if isset($grandstream_dhcp_option_additional_override)} + {$grandstream_dhcp_option_additional_override} + {else} + None + {/if} + + + + {if isset($grandstream_dhcp_option_override_sip_server)} + {$grandstream_dhcp_option_override_sip_server} + {else} + No + {/if} + + + Yes + + + + No + + + + 10080 + + + No + + + 1 + + + + + + 1 + + + No + + + Yes + + + + HTTPS + + + {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} + + + {$http_auth_username} + + {$http_auth_password} + + + + + + + + + + + No + + + No + + + No + + + + HTTP + + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path} + {else} + {$domain_name}{$project_path}/app/provision/resources/firmware/ + {/if} + + + + + + + + + + + + + + + + + UDP + + + {$grandstream_syslog_server} + + + + {$grandstream_syslog_level} + + + + + + {$grandstream_send_sip_log} + + + No + + + Yes + + + No + + + + + + + + + + + + + + + Automatic + + + + + + + + + + + + + + No + + + https://acs.gdms.cloud + + + + + + + + + + Yes + + + 86400 + + + + + + + + + 7547 + + + + + + + + + No + + + + + + + Unrestricted + + + + Default + + + No + + + + + + + + + + + + + HTTPS + + + Yes + + + 80 + + + 443 + + + + Yes + + + + 22 + + + + 5 + + + + 10 + + + + 5 + + + + TLS_1_1 + + + + UNLIMITED + + + + 0 + + + + + + + Default Certificates + + + + + + No + + + + 0 + + + + + + + + 0 + + + + 112,911,110 + + + + + + + InternalStorage + + + No + + + No + + + + 0 + + + + + + + EnabledUseHTTPS + + + {$grandstream_phonebook_username} + + + {$grandstream_phonebook_password} + + + {$grandstream_phonebook_server} + + + + {$grandstream_phonebook_download_interval} + + + Yes + + + Replace + + + + LastName + + + + Default + + + + QuickMatch + + + + + + + + LDAP + + + + + + + 389 + + + + + + + + + + + + + + + + + + + + + version3 + + + + + + + + + + + + + + + + + 50 + + + + + 30 + + + + No + + + + No + + + + No + + + + + + + + No + + + + + + + + 5004 + + + + 200 + + + + Yes + + + + 20 + + + + + + + + + + + 0 + + + + No + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4320 + + + + 100 + + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5222 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + Account1 + + + Yes + + + + CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode + + + Yes + + + + + + + + 0 + + + 30 + + + No + + + + 5 + + + No + + + 10 + + + 20 + + + + + + + {$grandstream_call_waiting} + + + + Yes + + + + + + + Yes + + + + Yes + + + No + + + + Yes + + + + Yes + + + No + + + No + + + No + + + Yes + + + No + + + + + + No + + + + + + + + Yes + + + + + + + Dynamic + + + + BlindTransfer + + + Yes + + + [()- ]+ + + + + Yes + + + No + + + Default + + + + Busy + + + + TemporarilyUnavailable + + + No + + + No + + + + + + + + + + No + + + InternalStorage + + + Yes + + + + 10 + + + + + + 0 + + + + + + + + + + + + + Yes + + + Yes + + + + + + Yes + + + Yes + + + Yes + + + No + + + No + + + + + + + + + + + + + + + + + + Yes + + + + G.722 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DefaultMode + + + Normal + + + Normal + + + + 0 + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + pool.ntp.org + + + + + + + + + 1440 + + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($grandstream_time_zone)} + {$grandstream_time_zone} + {else} + auto + {/if} + + + Yes + + + + + MTZ+6MDT+5,M4.1.0,M11.1.0 + + + + + + + + {if isset($grandstream_format_date)} + {$grandstream_format_date} + {else} + yyyy-mm-dd + {/if} + + + + {if isset($grandstream_format_time)} + {$grandstream_format_time} + {else} + 12Hour + {/if} + + + {if isset($grandstream_show_clock)} + {$grandstream_show_clock} + {else} + Yes + {/if} + + + + + + + + + + + 100 + + + + 60 + + + + 1 + + + + 1 + + + + {if isset($grandstream_wallpaper_url)} + Download + {else} + Default + {/if} + + + + {if isset($grandstream_wallpaper_url)} + {$grandstream_wallpaper_url} + {/if} + + + + #000000 + + + + OnIfNoVPKIsActive + + + + + + Yes + + + + 3 + + + + + + + + 0 + + + + + + 0 + + + + Yes + + + + + + + + + f1=440,f2=480,c=200/400; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440; + + + + + f1=350,f2=440,c=10/10; + + + + + f1=440,f2=480,c=200/400; + + + + + f1=440,f2=440,c=25/525; + + + + Low + + + + + f1=480,f2=620,c=50/50; + + + + + f1=480,f2=620,c=25/25; + + + + + 5 + + + + + 5 + + + + + 0 + + + No + + + 0 + + + + + 3 + + + + + + + Yes + + + + + + + + + + + XMLApp + + + + + + + + + + No + + + + + + No + + + HTTP + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + geodetic,civic,locationURI + + + No + + + No + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 911 + + + No + + + No + + + + + + + + + + Yes + + + + AccountMode + + + BlindTransfer + + + No + + + Show + + + + + + {literal} + + + + + + + + + + + + + + + + + + + + + + + + + + {/literal} + +{assign var=key_types value=["none"=>-1,"line"=>0,"shared"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, +"eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17, +"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"conference"=>22,"multicast paging"=>23, +"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} + +{foreach $keys['line'] as $row} +{$line=$row.device_key_id} + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + + {$row.device_key_line} + + + + {$row.device_key_label} + + + + {$row.device_key_value} + + + + +{/foreach} + + + + + + + + Menu + + + + Yes + + + No + + + No + + + + + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target + + + + BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target + + + + Answer,Reject,Forward,ReConf + + + + BTOnOff,Cancel,EndCall,ReConf,ConfRoom,ConfCall + + + + + BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Custom-Confcall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark + + + + BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add + + + + ReConf,Resume,HoldTrnf,ConfCall,Add + + + + EndCall,ReConf,ConfRoom + + + + BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target + + + + BTOnOff,Cancel,Dial,Backspace,Target + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + + + + + Default + + + + + + + + + + + + + {literal} + + + + + + + + + + + + + {/literal} + +{foreach $keys['memory'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + + + + + + + No + + + + No + + + + + {literal} + + + + + + + + + + + {/literal} + +{foreach $keys['expansion'] as $row} +{$line=$row.device_key_id} + + + + + + {$key_types[$keys.line.$line.device_key_type]} + + + {$row.device_key_line} + + + {$row.device_key_label} + + + {$row.device_key_value} + +{/foreach} + +