diff --git a/resources/templates/provision/grandstream/grp261x/phonebook.xml b/resources/templates/provision/grandstream/grp261x/phonebook.xml
new file mode 100644
index 0000000000..deb211d001
--- /dev/null
+++ b/resources/templates/provision/grandstream/grp261x/phonebook.xml
@@ -0,0 +1,151 @@
+
+
+
+
+
+ 1
+ Users
+ default ringtone
+
+
+ 2
+ Groups
+ default ringtone
+
+
+ 3
+ Extensions
+ system
+
+
+ {$start_id=0}
+ {foreach $contacts as $row}
+ {if $row.category == "users"}
+
+ {$start_id++}
+ {if $row.contact_name_given != ""}
+ {if $row.contact_organization != ""}
+ {$row.contact_name_given} {$row.contact_name_family}
+ {$row.contact_name_given} {$row.contact_name_family}
+ {$row.contact_organization}
+ {else}
+ {$row.contact_name_given}
+ {$row.contact_name_family}
+ {/if}
+ {else}
+ {$row.effective_caller_id_name}
+ {/if}
+
+ 0
+ {foreach $row.numbers as $number}
+ {if $number.phone_number != ""}
+ {if $number.phone_label == "work"}
+
+ {$number.phone_number}
+ 0
+
+ {/if}
+ {if $number.phone_label == "home"}
+
+ {$number.phone_number}
+ 0
+
+ {/if}
+ {if $number.phone_label == "mobile"}
+
+ {$number.phone_number}
+ 0
+
+ {/if}
+ {/if}
+ {/foreach}
+ 1
+ 0
+
+
+
+
+ {elseif $row.category == "groups"}
+
+ {$start_id++}
+ {if $row.contact_name_given != ""}
+ {if $row.contact_organization != ""}
+ {$row.contact_name_given} {$row.contact_name_family}
+ {$row.contact_name_given} {$row.contact_name_family}
+ {$row.contact_organization}
+ {else}
+ {$row.contact_name_given}
+ {$row.contact_name_family}
+ {/if}
+ {else}
+ {$row.effective_caller_id_name}
+ {/if}
+
+
+ 0
+ {foreach $row.numbers as $number}
+ {if $number.phone_number != ""}
+ {if $number.phone_label == "work"}
+
+ {$number.phone_number}
+ 0
+
+ {/if}
+ {if $number.phone_label == "home"}
+
+ {$number.phone_number}
+ 0
+
+ {/if}
+ {if $number.phone_label == "mobile"}
+
+ {$number.phone_number}
+ 0
+
+ {/if}
+ {/if}
+ {/foreach}
+ 2
+ 0
+
+
+
+
+ {elseif $row.category == "extensions"}
+
+ {$start_id++}
+ {if $row.contact_name_given != ""}
+ {if $row.contact_organization != ""}
+ {$row.contact_name_given} {$row.contact_name_family}
+ {$row.contact_name_given} {$row.contact_name_family}
+ {$row.contact_organization}
+ {else}
+ {$row.contact_name_given}
+ {$row.contact_name_family}
+ {/if}
+ {else}
+ {$row.effective_caller_id_name}
+ {/if}
+
+ 0
+ {if $row.phone_number != ""}
+
+ {$row.phone_number}
+ 0
+
+ {else}
+
+ {$row.phone_extension}
+ 0
+
+ {/if}
+ 3
+ 0
+
+
+
+
+ {/if}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/grandstream/grp261x/{$mac}.xml b/resources/templates/provision/grandstream/grp261x/{$mac}.xml
new file mode 100644
index 0000000000..7f5c6c5d1a
--- /dev/null
+++ b/resources/templates/provision/grandstream/grp261x/{$mac}.xml
@@ -0,0 +1,3039 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {for $line=1 to 12}
+ {$row=$lines.$line}
+
+
+ - {if filter_var($row.enabled, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if}
+
+
+ - {$row.display_name}
+
+
+ - {$row.server_address}:{$row.sip_port}
+
+
+ - {$row.secondary_server_address}:{$row.sip_port}
+
+
+ - {if isset($row.outbound_proxy_primary)}{$row.outbound_proxy_primary}:{$row.sip_port}{/if}
+
+
+ - {if isset($row.outbound_proxy_secondary)}{$row.outbound_proxy_secondary}:{$row.sip_port}{/if}
+
+
+
+
+
+ - {$row.user_id}
+
+
+ - {$row.auth_id}
+
+
+ - {$row.password}
+
+
+ - {$row.display_name}
+
+
+ - {$voicemail_number}
+
+
+
+ - {$row.user_id}
+
+
+
+
+ - ARecord
+
+
+
+ - Default
+
+
+
+ - No
+
+
+
+
+
+
+
+
+
+
+
+
+ - Auto
+
+
+
+
+
+
+ - No
+
+
+
+
+
+ - Disabled
+
+
+
+ - Yes
+
+
+
+ - No
+
+
+
+ - {$row.register_expires}
+
+
+
+ - 60
+
+
+
+ - 0
+
+
+
+ - Yes
+
+
+ - 30
+
+
+ - 3
+
+
+ - {$row.sip_port}
+
+
+ - 20
+
+
+ - 1
+
+
+
+ - 0.5sec
+
+
+
+ - 4sec
+
+
+
+ - {if $row.sip_transport=='tcp'}TCP{elseif $row.sip_transport=='tls'}Tls Or Tcp{else}UDP{/if}
+
+
+
+ - TransportOnly
+
+
+
+ - sips
+
+
+
+ - No
+
+
+
+ - InRoute
+
+
+
+ - Yes
+
+
+
+ - {if filter_var($subscribe_mwi_to_vm, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if}
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - Auto
+
+
+
+ - Header
+
+
+
+ - Yes
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+
+
+
+ - Default
+
+
+
+ - Default
+
+
+
+ - Yes
+
+
+
+ - Yes
+
+
+
+ - Yes
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+
+
+ - 15
+
+
+
+
+
+
+
+
+
+ - Disabled
+
+
+ - {if $nway_conference == true}nway{$row.user_id}@{$row.server_address}{/if}
+
+
+
+
+
+
+ - Auto
+
+
+ - **
+
+
+
+
+
+
+ - Yes
+
+
+
+ - No
+
+
+
+ - Disabled
+
+
+
+ - {if filter_var($grandstream_feature_key_sync, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if}
+
+
+
+ - {if isset($row.shared_line)}Broadsoft{else}Standard{/if}
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+
+
+
+
+
+ - 5060
+
+
+
+
+
+ - No
+
+
+
+ - 180
+
+
+ - 90
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - UAC
+
+
+
+ - 1
+
+
+
+ - No
+
+
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - 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
+
+
+
+
+
+ - {$grandstream_dial_plan}
+
+
+
+ - Mpk
+
+
+
+ - All
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+
+
+
+
+ - 30
+
+
+
+ - 4
+
+
+
+ - Pound
+
+
+
+ - Yes
+
+
+
+ - Yes
+
+
+
+
+
+
+ - 0
+
+
+
+ - Default
+
+
+ {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}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_1)}
+ - {$grandstream_distinctive_ringtone_1}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_2)}
+ - {$grandstream_distinctive_ringtone_name_2}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_2)}
+ - {$grandstream_distinctive_ringtone_2}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_3)}
+ - {$grandstream_distinctive_ringtone_name_3}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_3)}
+ - {$grandstream_distinctive_ringtone_3}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_4)}
+ - {$grandstream_distinctive_ringtone_name_4}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_4)}
+ - {$grandstream_distinctive_ringtone_4}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_5)}
+ - {$grandstream_distinctive_ringtone_name_5}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_5)}
+ - {$grandstream_distinctive_ringtone_5}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_6)}
+ - {$grandstream_distinctive_ringtone_name_6}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_6)}
+ - {$grandstream_distinctive_ringtone_6}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_7)}
+ - {$grandstream_distinctive_ringtone_name_7}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_7)}
+ - {$grandstream_distinctive_ringtone_7}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_8)}
+ - {$grandstream_distinctive_ringtone_name_8}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_8)}
+ - {$grandstream_distinctive_ringtone_8}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_9)}
+ - {$grandstream_distinctive_ringtone_name_9}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_9)}
+ - {$grandstream_distinctive_ringtone_9}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_name_10)}
+ - {$grandstream_distinctive_ringtone_name_10}
+ {/if}
+
+
+ {if isset($grandstream_distinctive_ringtone_10)}
+ - {$grandstream_distinctive_ringtone_10}
+ {/if}
+
+
+
+ - 60
+
+
+
+
+
+
+
+ - Yes
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - Yes
+
+
+
+
+
+
+
+
+
+
+
+ - No
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - 12
+ {/for}
+
+
+
+
+
+
+
+ - IPv4Only
+
+
+
+ - DHCP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - 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
+
+
+
+ - Yes
+
+
+
+
+ - 0
+
+
+
+ - 0
+
+
+
+ - Enabled
+
+
+ - 0
+
+
+ - 0
+
+
+
+ - Yes
+
+
+
+ - Yes
+
+
+ - 60
+
+
+
+ - 1500
+
+
+
+
+
+ - Yes
+
+
+ - Yes
+
+
+
+
+
+
+ - No
+
+
+
+
+
+ - No
+
+
+ - 0
+
+
+
+
+
+
+ {if isset($grandstream_bluetooth_power)}
+ - {$grandstream_bluetooth_power}
+ {/if}
+
+
+
+ {if isset($grandstream_bluetooth_handsfree)}
+ - {$grandstream_bluetooth_handsfree}
+ {/if}
+
+
+
+ - 0
+
+
+
+
+
+
+
+
+
+
+
+ - No
+
+
+
+
+
+ - 1194
+
+
+
+ - UDP
+
+
+
+ - Blowfish
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - No
+
+
+ - Version3
+
+
+
+ - 161
+
+
+
+
+
+
+
+ - Version2
+
+
+
+
+
+
+
+ - 162
+
+
+
+ - 5
+
+
+
+
+
+
+
+
+
+
+
+ - 0
+
+
+
+ - None
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - 0
+
+
+
+ - None
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {if isset($grandstream_wifi_enable)}
+
+ - {if filter_var($grandstream_wifi_enable, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if}
+
+ {if isset($grandstream_wifi_essid)}
+ - {$grandstream_wifi_essid}
+
+ - {$grandstream_wifi_password}
+
+
+ - {$grandstream_wifi_hidden_security}
+ {/if}
+
+ {/if}
+
+
+
+
+
+
+
+ - {if isset($device_password)}{$device_password}{else}user{/if}
+
+
+
+ - {if isset($admin_password)}{$admin_password}{else}admin{/if}
+
+
+
+
+
+
+
+ - AlwaysCheck
+
+
+ - No
+
+
+ - No
+
+
+
+
+
+ - No
+
+
+
+
+
+
+ - No
+
+
+ - Yes
+
+
+
+
+ - No
+
+
+
+ - 10080
+
+
+ - No
+
+
+ - 1
+
+
+
+
+
+ - 1
+
+
+
+ - Yes
+
+
+ - Yes
+
+
+
+ - HTTPS
+
+ {if $grandstream_config_server_path=="none"}
+
+ {elseif isset($grandstream_config_server_path)}
+ - {$grandstream_config_server_path}
+ {else}
+ - {$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}
+
+ - {$http_auth_username}
+
+ - {$http_auth_password}
+
+
+
+
+
+
+
+
+
+
+
+ - UDP
+
+
+
+
+ - None
+
+
+
+ - No
+
+
+ - No
+
+
+ - Yes
+
+
+ - No
+
+
+
+
+
+ - https://acs.gdms.cloud
+
+
+
+
+
+
+ - Yes
+
+ - 86400
+
+
+
+
+
+ - 7547
+
+
+
+
+
+ - No
+
+
+
+
+
+
+ - Unrestricted
+
+
+ - Yes
+
+
+ - No
+
+
+
+
+
+
+
+
+
+
+ - HTTP
+
+
+ - Yes
+
+
+ - 80
+
+
+ - 443
+
+
+
+
+ - Yes
+
+
+
+ - 5
+
+
+
+ - 10
+
+
+
+ - 5
+
+
+
+ - UNLIMITED
+
+
+
+ - UNLIMITED
+
+
+
+
+
+ - Default Certificates
+
+
+
+
+
+ - No
+
+
+
+ - 0
+
+
+
+
+
+
+
+
+
+
+
+ - 112,911,110
+
+
+
+
+
+
+ - InternalStorage
+
+
+ - No
+
+
+
+ - 0
+
+
+
+
+
+
+ {if is_numeric($grandstream_phonebook_download)}
+ {$oldToNew=["Disabled", "EnabledUseHTTP", "EnabledUseTFTP", "EnabledUseHTTPS"]}
+ {$grandstream_phonebook_download=$oldToNew[$grandstream_phonebook_download + 0]}
+ {/if}
+ - {$grandstream_phonebook_download}
+
+
+ - {$http_auth_username}
+
+
+ - {$http_auth_password}
+
+
+ {if isset($grandstream_phonebook_download)}
+ - {$grandstream_phonebook_xml_server_path}{$mac}/
+ {elseif isset($grandstream_phonebook_xml_server_path)}
+ - {$grandstream_phonebook_xml_server_path}
+ {else}
+
+ {/if}
+
+
+
+ {if isset($grandstream_phonebook_download_interval)}
+ - {$grandstream_phonebook_download_interval}
+ {else}
+ - 0
+ {/if}
+
+
+ - Yes
+
+
+ - Replace
+
+
+
+
+ - LastName
+
+
+
+ - Default
+
+
+
+ - QuickMatch
+
+
+
+
+
+
+
+ - LDAP
+
+
+
+
+
+
+ - 389
+
+
+
+
+ - {$grandstream_ldap_base_dn}
+
+
+ - {$grandstream_ldap_username}
+
+
+ - {$grandstream_ldap_password}
+
+
+ - {$grandstream_ldap_number_filter}
+
+
+ - {$grandstream_ldap_name_filter}
+
+
+
+ - version3
+
+
+
+
+ - {$grandstream_ldap_name_attr}
+
+
+
+
+ - {$grandstream_ldap_number_attr}
+
+
+
+ - {$grandstream_ldap_display_name}
+
+
+ - 50
+
+
+
+
+ - 30
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+
+
+
+
+ - No
+
+
+
+
+
+
+
+ - 5004
+
+
+
+ - 200
+
+
+
+ - Yes
+
+
+
+ - 20
+
+
+
+
+
+
+
+
+
+
+ - 0
+
+
+
+ - No
+
+
+ - No
+
+
+ - No
+
+
+
+
+
+
+
+
+
+
+ - No
+
+
+ - TFTP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Yes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - 360
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - 5222
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Account1
+
+
+ - Yes
+
+
+
+ - CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode
+
+
+ - Yes
+
+
+
+
+
+
+
+ - 4
+
+
+ - 30
+
+
+ - No
+
+
+
+ - 5
+
+
+
+ - Yes
+
+
+ - No
+
+
+ - 10
+
+
+ - 10
+
+
+
+
+
+
+ - Yes
+
+
+
+ - Yes
+
+
+
+
+
+
+ - Yes
+
+
+
+ - Yes
+
+
+ - No
+
+
+
+ - Yes
+
+
+
+ - Yes
+
+
+ - No
+
+
+ - No
+
+
+ - No
+
+
+ - Yes
+
+
+
+
+
+ - Yes
+
+
+
+
+
+
+ - Yes
+
+
+
+
+
+
+ - Dynamic
+
+
+
+
+
+
+ - Yes
+
+
+ - Yes
+
+
+
+ - Yes
+
+
+ - No
+
+
+ - Default
+
+
+
+ - Busy
+
+
+
+ - TemporarilyUnavailable
+
+
+ - No
+
+
+ - No
+
+
+
+
+
+
+
+
+
+ - No
+
+
+ - Yes
+
+
+
+ - 10
+
+
+
+
+
+ - 0
+
+
+
+
+
+
+
+ - VPK
+
+
+ - {$grandstream_blf_remote_status}
+
+
+ - Yes
+
+
+ - Yes
+
+
+
+
+
+ - Yes
+
+
+ - Yes
+
+
+
+ - 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Yes
+
+
+
+ - G.722
+
+
+
+ - 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {if isset($grandstream_headset_key_mode)}
+ - {if $grandstream_headset_key_mode == "1"}ToggleHeadsetOrSpeaker{else}DefaultMode{/if}
+ {/if}
+
+
+ {if isset($grandstream_headset_type)}
+ - {if $grandstream_headset_key_mode == "1"}PlantronicsEHS{else}Normal{/if}
+
+
+ - {if $grandstream_headset_key_mode == "1"}PlantronicsEHS{else}Normal{/if}
+ {/if}
+
+
+
+ - 0
+
+
+
+ - Yes
+
+
+ - 0
+
+
+ - 0
+
+
+ - 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
+
+
+
+ - No
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {if isset($grandstream_timezone)}
+ - {$grandstream_timezone}
+ {elseif isset($grandstream_gxp_time_zone)}
+ - {$grandstream_gxp_time_zone}
+ {else}
+ - Automatic
+ {/if}
+
+
+ - Yes
+
+
+
+
+ - MTZ+6MDT+5,M4.1.0,M11.1.0
+
+
+
+
+
+
+
+ - yyyy-mm-dd
+
+
+
+ - 12Hour
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Automatic
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - {$grandstream_lcd_brightness}
+
+
+
+ - {$grandstream_lcd_brightness_idle}
+
+
+
+ - {$grandstream_active_backlight_timeout}
+
+
+
+ - 1
+
+
+ {if isset($grandstream_wallpaper_url)}
+
+ - Download
+
+
+
+ - {$grandstream_wallpaper_url}
+ {/if}
+
+
+
+ - #000000
+
+
+
+ {if isset($grandstream_screensaver)}
+ {$screensaver_types=["0"=>"No", "1"=>"Yes", "2"=>"OnIfNoVPKIsActive"]}
+ - {$screensaver_types[$grandstream_screensaver]}
+ {/if}
+
+ {if isset($grandstream_screensaver_source)}
+ {$screensaver_source=["0"=>"Default", "1"=>"USB", "2"=>"Download"]}
+
+ - {$screensaver_source[$grandstream_screensaver_source]}
+ {/if}
+
+
+ - Yes
+
+
+
+ - 3
+
+
+
+
+
+
+
+ - 0
+
+
+
+
+
+ - Sequential
+
+
+ - No
+
+
+ - Default
+
+
+
+
+
+ - 0
+
+
+
+ - Yes
+
+
+
+ - Default
+
+
+
+
+
+
+
+
+ - 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
+
+
+ - 20
+
+
+ - 0
+
+
+ - 0
+
+
+ - 0
+
+
+ - 0
+
+
+ - No
+
+
+ - No
+
+
+
+ - StartTime,StopTime,LocalUser,RemoteUser,LocalIP,RemoteIP,LocalCodec,RemoteCodec,Jitter,JitterBufferMax,PacketLost,PacketLostRate,MosLQ,MosCQ,RoundTripDelay,EndSysDelay,SymmOneWayDelay
+
+
+
+
+
+
+
+
+
+ - Yes
+
+
+
+ - AccountMode
+
+
+
+
+
+ - No
+
+
+ - Show
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {$key_types=[""=>"None", "none"=>"None", "default"=>"Default", "line"=>"Line", "shared line"=>"SharedLine", "speed dial"=>"SpeedDial", "blf"=>"BLF", "presence watcher"=>"PresenceWatcher", "eventlist blf"=>"EventlistBLF","speed dial active"=>"SpeedDialViaActiveAccount","dial dtmf"=>"DialDTMF","voicemail"=>"VoiceMail","call return"=>"CallReturn","transfer"=>"Transfer","call park"=>"CallPark","intercom"=>"Intercom","ldap search"=>"LDAPSearch","conference"=>"Conference","multicast paging"=>"MulticastPaging","record"=>"Record","call log"=>"CallLog","monitored call park"=>"MonitoredCallPark","menu"=>"Menu"]}
+ {for $line=1 to 40}
+ {if !isset($keys.line[$line])}
+
+ {if isset($lines[$line])}
+ {$keys.line[$line] = ["device_key_id" => $line, "device_key_type" => (isset($lines[$line].shared_line))?"shared line":"line", "device_key_line" => $line, "device_key_label" => $lines[$line].display_name, "device_key_value" => (isset($lines[$line].shared_line))?$lines[$line].shared_line:""]}
+ {else}
+ {$keys.line[$line] = ["device_key_id" => $line, "device_key_type" => "", "device_key_line" => "", "device_key_label" => "", "device_key_value" => ""]}
+ {/if}
+ {/if}
+ {$row=$keys.line[$line]}
+ - {$key_types[$row.device_key_type]}
+
+
+ - {if !empty($row.device_key_line)}Account{$row.device_key_line}{/if}
+
+
+
+ - {$row.device_key_label}
+
+
+
+ - {$row.device_key_value}
+
+
+
+ {/for}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {for $line=1 to 24}
+ {if !isset($keys.memory[$line])}
+ {$keys.memory[$line] = ["device_key_id" => $line, "device_key_type" => "", "device_key_line" => "", "device_key_label" => "", "device_key_value" => ""]}
+ {/if}
+ {$row=$keys.memory[$line]}
+ - {$key_types[$row.device_key_type]}
+
+
+ - {if !empty($row.device_key_line)}Account{$row.device_key_line}{/if}
+
+
+ - {$row.device_key_label}
+
+
+
+ - {$row.device_key_value}
+ {/for}
+
+
+
+
+
+
+
+ - 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
+
+
+
+
+ {$programmable_key_types=[""=>"Default","none"=>"Default","speed dial"=>"SpeedDial","speed dial active"=>"SpeedDialViaActiveAccount","voicemail"=>"VoiceMail","call return"=>"CallReturn","intercom"=>"Intercom","ldap search"=>"LDAPSearch","call log"=>"CallLog","menu"=>"Menu"]}
+ {for $line=1 to 3}
+ {if !isset($keys.programmable[$line])}
+ {$keys.programmable[$line] = ["device_key_id" => $line, "device_key_type" => "none", "device_key_line" => "0", "device_key_label" => "", "device_key_value" => ""]}
+ {/if}
+ {$row=$keys.programmable[$line]}
+
+
+
+
+
+
+ - {$programmable_key_types[$row.device_key_type]}
+
+
+ - {if !empty($row.device_key_line)}Account{$row.device_key_line}{/if}
+
+
+
+ - {$row.device_key_label}
+
+
+
+ - {$row.device_key_value}
+
+
+
+
+
+
+
+
+ - {$programmable_key_types[$row.device_key_type]}
+
+
+
+ - {$row.device_key_label}
+
+
+
+ - {$row.device_key_value}
+ {/for}
+
+
+
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {for $line=1 to 160}
+ {if !isset($keys.expansion[$line])}
+ {$keys.expansion[$line] = ["device_key_id" => $line, "device_key_type" => "", "device_key_line" => "", "device_key_label" => "", "device_key_value" => ""]}
+ {/if}
+ {$row=$keys.expansion[$line]}
+ - {$key_types[$row.device_key_type]}
+
+
+ - {if !empty($row.device_key_line)}Account{$row.device_key_line}{/if}
+
+
+ - {$row.device_key_label}
+
+
+ - {$row.device_key_value}
+ {/for}
+
+
\ No newline at end of file