diff --git a/resources/templates/provision/yealink/t48g/y000000000035.cfg b/resources/templates/provision/yealink/t48g/y000000000035.cfg index 5854bfce1d..268aacde40 100644 --- a/resources/templates/provision/yealink/t48g/y000000000035.cfg +++ b/resources/templates/provision/yealink/t48g/y000000000035.cfg @@ -26,8 +26,45 @@ network.pc_port.speed_duplex = network.pc_port.dhcp_server = 1 network.static_dns_enable = 1 +{if isset($vlan_port_id) } ####################################################################################### -## VLAN ## +## VLAN ENABLED ## +####################################################################################### +network.vlan.internet_port_enable = 1 + +#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. +#Require reboot; +network.vlan.internet_port_vid = {$vlan_port_id} + +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = + +#Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; +#Require reboot; +network.vlan.pc_port_enable = 1 + +#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. +#Require reboot; +network.vlan.pc_port_vid = {$vlan_pc_port_id} + +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.pc_port_priority = + +#Enable or disable the DHCP to obtain the information of the VLAN; 0-Disabled; 1-Enabled (default); +#Require reboot; +network.vlan.dhcp_enable = + +#Configure the DHCP option to obtain the information of the VLAN. It ranges from 0 to 255. +#Multiple options separated by a comma. It supports up to 5 options in all. +#Require reboot; +network.vlan.dhcp_option = + +{else} + +####################################################################################### +## VLAN DISABLED ## ####################################################################################### network.vlan.internet_port_enable = 0 @@ -60,6 +97,9 @@ network.vlan.dhcp_enable = #Require reboot; network.vlan.dhcp_option = +{/if} + + ####################################################################################### ## WEB Port ## ####################################################################################### @@ -715,11 +755,11 @@ features.remote_phonebook.flash_time = ####################################################################################### ## Features Action ## ####################################################################################### -#Specifie the address(es) or enters ¡°any¡± from which Action URI will be accepted. +#Specifie the address(es) or enters ¡°any¡± from which Action URI will be accepted. #For discontinuous IP addresses, each IP address is separated by comma, for example: 192.168.1.20,10.2.1.30 -#For continuous IP addresses, the format likes *.*.*.* and the ¡°*¡± stands for the values 0~255. For example: 10.10.*.* stands for the IP addresses that range from 10.10.0.0~10.10.255.255. +#For continuous IP addresses, the format likes *.*.*.* and the ¡°*¡± stands for the values 0~255. For example: 10.10.*.* stands for the IP addresses that range from 10.10.0.0~10.10.255.255. #If left blank, the IP phone cannot receive or handle any HTTP GET request. -#If set to ¡°any¡±, the IP phone accepts and handles HTTP GET requests from any IP address. +#If set to ¡°any¡±, the IP phone accepts and handles HTTP GET requests from any IP address. features.action_uri_limit_ip = features.action_uri_reboot_now = 0 @@ -815,7 +855,7 @@ phone_setting.inactive_backlight_level = 1 phone_setting.blf_list_enable = 1 phone_setting.auto_blf_list_enable = 1 -#Specify the prior of the line keys and EXP keys when automatically configure the blf list£»0-Configure the line keys first, 1-Configure the EXP keys first; +#Specify the prior of the line keys and EXP keys when automatically configure the blf list£»0-Configure the line keys first, 1-Configure the EXP keys first; phone_setting.blf_list_sequence_type = #######################################################################################