mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Merge pull request #5767 from chansizzle/patch-394
Added many fusion variables to the Yealink CP920 template.
This commit is contained in:
@@ -78,15 +78,15 @@ network.vlan.dhcp_option =
|
||||
#######################################################################################
|
||||
## VLAN DISABLED ##
|
||||
#######################################################################################
|
||||
network.vlan.internet_port_enable = 0
|
||||
{if isset($yealink_vlan_enable)}network.vlan.internet_port_enable = {$yealink_vlan_enable}{else}network.vlan.internet_port_enable = 0{/if}
|
||||
|
||||
#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1.
|
||||
#Require reboot;
|
||||
network.vlan.internet_port_vid =
|
||||
network.vlan.internet_port_vid = {$yealink_vlan_id}
|
||||
|
||||
#Configure the VLAN priority, it ranges from 0 (default) to 7.
|
||||
#Require reboot;
|
||||
network.vlan.internet_port_priority =
|
||||
network.vlan.internet_port_priority = {$yealink_vlan_cos}
|
||||
|
||||
#Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled;
|
||||
#Require reboot;
|
||||
@@ -94,11 +94,11 @@ network.vlan.pc_port_enable =
|
||||
|
||||
#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1.
|
||||
#Require reboot;
|
||||
network.vlan.pc_port_vid =
|
||||
network.vlan.pc_port_vid = {$yealink_vlan_pc_id}
|
||||
|
||||
#Configure the VLAN priority, it ranges from 0 (default) to 7.
|
||||
#Require reboot;
|
||||
network.vlan.pc_port_priority =
|
||||
network.vlan.pc_port_priority = {$yealink_vlan_pc_cos}
|
||||
|
||||
#Enable or disable the DHCP to obtain the information of the VLAN; 0-Disabled; 1-Enabled (default);
|
||||
#Require reboot;
|
||||
@@ -111,7 +111,6 @@ network.vlan.dhcp_option =
|
||||
|
||||
{/if}
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## WEB Port ##
|
||||
#######################################################################################
|
||||
@@ -337,7 +336,7 @@ watch_dog.enable =
|
||||
sip.use_23_as_pound =
|
||||
|
||||
#Enable or disable the RFC2543 Hold feature; 0-Disabled (default), 1-Enabled;
|
||||
sip.rfc2543_hold =
|
||||
sip.rfc2543_hold = {$yealink_rfc2543_hold}
|
||||
|
||||
#Enable or disable the phone to keep sending the SIP messages to the outbound server; 0-Disabled, 1-Enabled (default);
|
||||
sip.use_out_bound_in_dialog =
|
||||
@@ -480,13 +479,13 @@ local_time.ntp_server1 = {$ntp_server_primary}
|
||||
local_time.ntp_server2 = {$ntp_server_secondary}
|
||||
|
||||
#Configure the update interval (in seconds) when using the NTP server. The default value is 1000.
|
||||
local_time.interval =
|
||||
local_time.interval = {$yealink_time_update}
|
||||
|
||||
#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default);
|
||||
local_time.summer_time = {$yealink_summer_time}
|
||||
|
||||
#Configure the DST type when the DST feature is enabled; 0-By Date (default), 1-By Week;
|
||||
local_time.dst_time_type =
|
||||
local_time.dst_time_type = {$yealink_dst_type}
|
||||
|
||||
#Configure the start time of DST. The default value is 1/1/0.
|
||||
#If the DST type is configured as By Date, the value format is Month/Day/Hour. For example, the value 5/20/10 means the start time is at 10:00 on May 20.
|
||||
@@ -510,7 +509,7 @@ local_time.date_format = {$yealink_date_format}
|
||||
local_time.dhcp_time = {$yealink_dhcp_time}
|
||||
|
||||
#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0.
|
||||
local_time.manual_time_enable =
|
||||
local_time.manual_time_enable = 0
|
||||
|
||||
#######################################################################################
|
||||
## Auto Redial ##
|
||||
@@ -742,8 +741,8 @@ features.fwd_diversion_enable =
|
||||
#######################################################################################
|
||||
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
||||
features.dnd_mode =
|
||||
features.dnd.on_code =
|
||||
features.dnd.off_code =
|
||||
features.dnd.on_code = *78
|
||||
features.dnd.off_code = *79
|
||||
features.dnd.emergency_enable = 1
|
||||
features.dnd.emergency_authorized_number =
|
||||
|
||||
@@ -751,7 +750,7 @@ features.dnd.emergency_authorized_number =
|
||||
## Features BLF ##
|
||||
#######################################################################################
|
||||
#Configure the LED flashing mode of the BLF key (line key). The value is 0(default) or 1.
|
||||
features.blf_led_mode =
|
||||
features.blf_led_mode = {$yealink_blf_led_mode}
|
||||
|
||||
features.blf_list_version = 0
|
||||
features.blf_and_callpark_idle_led_enable = 0
|
||||
@@ -782,7 +781,7 @@ features.hotline_delay =
|
||||
## Features DTMF ##
|
||||
#######################################################################################
|
||||
#Enable or disable the phone to suppress the display of DTMF digits; 0-Disabled (default), 1-Enabled;
|
||||
features.dtmf.hide =
|
||||
features.dtmf.hide = {$yealink_dtmf_hide}
|
||||
|
||||
#Enables or disables the IP phone to display the DTMF digits for a short period before displaying as asterisks; 0-Disabled (default), 1-Enabled;
|
||||
features.dtmf.hide_delay =
|
||||
@@ -919,7 +918,7 @@ phone_setting.show_code403 =
|
||||
phone_setting.dialnow_delay =
|
||||
|
||||
#Configure the emergency number, each separated by a comma. The default value is 112,911,110.
|
||||
phone_setting.emergency.number =
|
||||
phone_setting.emergency.number = {$yealink_emergency_number}
|
||||
|
||||
#Configure the using mode of the headset key. The value is 0 or 1(default).
|
||||
phone_setting.page_tip =
|
||||
@@ -960,20 +959,19 @@ phone_setting.blf_list_sequence_type =
|
||||
## Key Lock ##
|
||||
#######################################################################################
|
||||
#Configure the keypad lock type; 0-Disabled (default), 1-Enable
|
||||
phone_setting.lock =
|
||||
phone_setting.lock = {$yealink_lock_enable}
|
||||
|
||||
#Configure the unlock password for the phone. The default value is 123.
|
||||
phone_setting.phone_lock.unlock_pin =
|
||||
|
||||
phone_setting.phone_lock.unlock_pin = {$yealink_lock_pin}
|
||||
|
||||
#Configures the interval (in seconds) to automatically lock the IP phone. It ranges from 0 to 3600, the default value is 0.
|
||||
phone_setting.phone_lock.lock_time_out =
|
||||
phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout}
|
||||
|
||||
#Configure the keypad lock type;0-All Keys(default), 1-Function Key, 2-Menu Key
|
||||
phone_setting.phone_lock.lock_key_type =
|
||||
phone_setting.phone_lock.lock_key_type = {$yealink_lock_key_type}
|
||||
|
||||
#Configure the backlight time (in seconds). The valid values are: 0-Always on, 1-Always off, 15-15s, 30-30s (default), 60-60s, 120-120s.
|
||||
phone_setting.backlight_time = 0
|
||||
phone_setting.backlight_time = {$yealink_backlight_time}
|
||||
|
||||
#######################################################################################
|
||||
## Wallpaper ##
|
||||
@@ -1057,10 +1055,12 @@ security.trust_certificates = {if $yealink_trust_certificates == "false"}0{elsei
|
||||
security.user_name.user = {$user_name}
|
||||
security.user_password = {$user_name}:{$user_password}
|
||||
{/if}
|
||||
|
||||
{if isset($admin_name) }
|
||||
security.user_name.admin = {$admin_name}
|
||||
security.user_password = {$admin_name}:{$admin_password}
|
||||
{/if}
|
||||
|
||||
{if isset($var_name) }
|
||||
security.user_name.var = {$var_name}
|
||||
security.user_password = {$var_name}:{$var_password}
|
||||
@@ -1223,7 +1223,6 @@ linekey.20.type =
|
||||
linekey.20.xml_phonebook =
|
||||
linekey.20.label =
|
||||
|
||||
|
||||
linekey.21.line =
|
||||
linekey.21.value =
|
||||
linekey.21.extension =
|
||||
@@ -1231,7 +1230,6 @@ linekey.21.type =
|
||||
linekey.21.xml_phonebook =
|
||||
linekey.21.label =
|
||||
|
||||
|
||||
linekey.22.line =
|
||||
linekey.22.value =
|
||||
linekey.22.extension =
|
||||
@@ -1274,7 +1272,7 @@ linekey.27.type =
|
||||
linekey.27.xml_phonebook =
|
||||
linekey.27.label =
|
||||
#######################################################################################
|
||||
## Programablekey ##
|
||||
## Programmable key ##
|
||||
#######################################################################################
|
||||
#X ranges from 1 to 13.
|
||||
#programablekey.x.type--Customize the programmable key type.
|
||||
@@ -1629,4 +1627,3 @@ directory_setting.url = https://{if isset($http_auth_username)}{$http_auth_usern
|
||||
#######################################################################################
|
||||
#Before using this parameter, you should store the desired firmware (x.71.x.x.rom) to the provisioning server.
|
||||
firmware.url = {$yealink_firmware_url}/{$yealink_firmware_cp920}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user