From b37a6554dc8f9173b916678bdc435996bb49fbbb Mon Sep 17 00:00:00 2001 From: markjcrane Date: Tue, 20 Sep 2016 13:53:53 -0600 Subject: [PATCH] Update Yealink templates add new variables yealink_vlan_enable, yealink_emergency_number, yealink_lock_enable, yealink_lock_pin, yealink_lock_timeout, yealink_lock_key_type, yealink_backlight_time and correct the wallpaper and firmware variables for some of the phones. --- .../provision/yealink/t23g/y000000000044.cfg | 67 +++--- .../provision/yealink/t23g/{$mac}.cfg | 22 +- .../provision/yealink/t27p/y000000000045.cfg | 69 +++--- .../provision/yealink/t27p/{$mac}.cfg | 22 +- .../provision/yealink/t29g/y000000000046.cfg | 59 +++--- .../provision/yealink/t29g/{$mac}.cfg | 22 +- .../provision/yealink/t41p/y000000000036.cfg | 109 ++++------ .../provision/yealink/t41p/{$mac}.cfg | 22 +- .../provision/yealink/t42g/y000000000029.cfg | 103 +++------ .../provision/yealink/t42g/{$mac}.cfg | 22 +- .../provision/yealink/t46g/y000000000028.cfg | 171 +++++---------- .../provision/yealink/t46g/{$mac}.cfg | 22 +- .../provision/yealink/t48g/y000000000035.cfg | 199 ++++++++---------- .../provision/yealink/t48g/{$mac}.cfg | 22 +- .../provision/yealink/t49g/y000000000051.cfg | 119 ++++------- .../provision/yealink/t49g/{$mac}.cfg | 22 +- 16 files changed, 445 insertions(+), 627 deletions(-) diff --git a/resources/templates/provision/yealink/t23g/y000000000044.cfg b/resources/templates/provision/yealink/t23g/y000000000044.cfg index 24db2b1cc5..0920303b5c 100644 --- a/resources/templates/provision/yealink/t23g/y000000000044.cfg +++ b/resources/templates/provision/yealink/t23g/y000000000044.cfg @@ -41,15 +41,15 @@ network.pc_port.dhcp_server = 1 ####################################################################################### ## VLAN ## ####################################################################################### -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 = +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = {$yealink_vlan_cos} #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; @@ -402,7 +402,7 @@ lang.wui = lang.gui = English ####################################################################################### -## Time ## +## Time Settings ## ####################################################################################### #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. @@ -417,13 +417,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 = +local_time.summer_time = {$yealink_dst_enable} #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. @@ -447,7 +447,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 ## @@ -830,6 +830,15 @@ features.pickup.blf_audio_enable = ####################################################################################### ## Phone Setting ## ####################################################################################### +#Enable or disable the photo display on handset 0 = disable, 1= enable +phone_setting.contact_photo_display.enable = 0 + +#Enable or disable the called party information display 0 = disable 1 = enable +phone_setting.called_party_info_display.enable = 1 + +#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info +phone_setting.call_info_display_method = 2 + #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = @@ -848,7 +857,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 = @@ -888,27 +897,27 @@ 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 = +phone_setting.backlight_time = {$yealink_backlight_time} ####################################################################################### ## Wallpaper ## ####################################################################################### -wallpaper_upload.url = {$yealink_t46g_wallpaper} -phone_setting.backgrounds = Config:yealink_t46g_wallpaper.png +wallpaper_upload.url = {$yealink_t23g_wallpaper} +phone_setting.backgrounds = Config:yealink_t23g_wallpaper.png ####################################################################################### ## Multicast ## @@ -1147,7 +1156,6 @@ linekey.20.type = linekey.20.xml_phonebook = linekey.20.label = - linekey.21.line = linekey.21.value = linekey.21.extension = @@ -1155,7 +1163,6 @@ linekey.21.type = linekey.21.xml_phonebook = linekey.21.label = - linekey.22.line = linekey.22.value = linekey.22.extension = @@ -1198,7 +1205,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. @@ -1216,13 +1223,13 @@ linekey.27.label = #programablekey.x.history_type = #programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = -programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +#programablekey.1.type = +#programablekey.1.line = +#programablekey.1.value = +#programablekey.1.xml_phonebook = +#programablekey.1.history_type = +#programablekey.1.label = +#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## @@ -1550,4 +1557,4 @@ directory_setting.url = http://{if isset($http_auth_username)}{$http_auth_userna ## Configure the access URL of firmware ## ####################################################################################### #Before using this parameter, you should store the desired firmware (x.71.x.x.rom) to the provisioning server. -firmware.url = {$yealink_t46g_firmware_url} +firmware.url = {$yealink_t23g_firmware_url} diff --git a/resources/templates/provision/yealink/t23g/{$mac}.cfg b/resources/templates/provision/yealink/t23g/{$mac}.cfg index c01a727063..785b99d481 100644 --- a/resources/templates/provision/yealink/t23g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23g/{$mac}.cfg @@ -20,8 +20,8 @@ account.1.user_name = {$user_id_1} account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} account.1.outbound_host = {$outbound_proxy_1} -account.1.outbound_port = 5060 -account.1.sip_listen_port = 5060 +account.1.outbound_port = {$sip_port_1} +{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -224,12 +224,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 1 +account.1.codec.1.priority = 2 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 2 +account.1.codec.2.priority = 3 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -249,7 +249,7 @@ account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 4 +account.1.codec.6.priority = 1 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -683,12 +683,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 1 +account.2.codec.1.priority = 2 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 2 +account.2.codec.2.priority = 3 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -708,7 +708,7 @@ account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 4 +account.2.codec.6.priority = 1 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -1179,12 +1179,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 1 +account.3.codec.1.priority = 2 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 2 +account.3.codec.2.priority = 3 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1204,7 +1204,7 @@ account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 4 +account.3.codec.6.priority = 1 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0 diff --git a/resources/templates/provision/yealink/t27p/y000000000045.cfg b/resources/templates/provision/yealink/t27p/y000000000045.cfg index e18f2d4f26..82b48aa443 100644 --- a/resources/templates/provision/yealink/t27p/y000000000045.cfg +++ b/resources/templates/provision/yealink/t27p/y000000000045.cfg @@ -41,15 +41,15 @@ network.pc_port.dhcp_server = 1 ####################################################################################### ## VLAN ## ####################################################################################### -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 = +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = {$yealink_vlan_cos} #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; @@ -402,7 +402,7 @@ lang.wui = lang.gui = English ####################################################################################### -## Time ## +## Time Settings ## ####################################################################################### #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. @@ -417,13 +417,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 = +local_time.summer_time = {$yealink_dst_enable} #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. @@ -447,7 +447,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 ## @@ -638,7 +638,7 @@ features.group_listen_in_talking_enable = features.call_completion_enable = #Enable or disable the phone to dial the IP address directly; 0-Disabled, 1-Enabled (default); -features.direct_ip_call_enable = +features.direct_ip_call_enable = 0 #Configure the power Indicator LED to turn on or turn off; 0-On (default), 1-Off; features.power_led_on = 1 @@ -830,6 +830,15 @@ features.pickup.blf_audio_enable = ####################################################################################### ## Phone Setting ## ####################################################################################### +#Enable or disable the photo display on handset 0 = disable, 1= enable +phone_setting.contact_photo_display.enable = 0 + +#Enable or disable the called party information display 0 = disable 1 = enable +phone_setting.called_party_info_display.enable = 1 + +#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info +phone_setting.call_info_display_method = 2 + #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = @@ -848,7 +857,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 = @@ -888,27 +897,27 @@ 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 = +phone_setting.backlight_time = {$yealink_backlight_time} ####################################################################################### ## Wallpaper ## ####################################################################################### -wallpaper_upload.url = {$yealink_t46g_wallpaper} -phone_setting.backgrounds = Config:yealink_t46g_wallpaper.png +wallpaper_upload.url = {$yealink_t27p_wallpaper} +phone_setting.backgrounds = Config:yealink_t27p_wallpaper.png ####################################################################################### ## Multicast ## @@ -1147,7 +1156,6 @@ linekey.20.type = linekey.20.xml_phonebook = linekey.20.label = - linekey.21.line = linekey.21.value = linekey.21.extension = @@ -1155,7 +1163,6 @@ linekey.21.type = linekey.21.xml_phonebook = linekey.21.label = - linekey.22.line = linekey.22.value = linekey.22.extension = @@ -1198,7 +1205,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. @@ -1216,13 +1223,13 @@ linekey.27.label = #programablekey.x.history_type = #programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = -programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +#programablekey.1.type = +#programablekey.1.line = +#programablekey.1.value = +#programablekey.1.xml_phonebook = +#programablekey.1.history_type = +#programablekey.1.label = +#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## @@ -1550,4 +1557,4 @@ directory_setting.url = http://{if isset($http_auth_username)}{$http_auth_userna ## Configure the access URL of firmware ## ####################################################################################### #Before using this parameter, you should store the desired firmware (x.71.x.x.rom) to the provisioning server. -firmware.url = {$yealink_t46g_firmware_url} +firmware.url = {$yealink_t27p_firmware_url} diff --git a/resources/templates/provision/yealink/t27p/{$mac}.cfg b/resources/templates/provision/yealink/t27p/{$mac}.cfg index c01a727063..785b99d481 100644 --- a/resources/templates/provision/yealink/t27p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t27p/{$mac}.cfg @@ -20,8 +20,8 @@ account.1.user_name = {$user_id_1} account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} account.1.outbound_host = {$outbound_proxy_1} -account.1.outbound_port = 5060 -account.1.sip_listen_port = 5060 +account.1.outbound_port = {$sip_port_1} +{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -224,12 +224,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 1 +account.1.codec.1.priority = 2 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 2 +account.1.codec.2.priority = 3 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -249,7 +249,7 @@ account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 4 +account.1.codec.6.priority = 1 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -683,12 +683,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 1 +account.2.codec.1.priority = 2 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 2 +account.2.codec.2.priority = 3 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -708,7 +708,7 @@ account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 4 +account.2.codec.6.priority = 1 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -1179,12 +1179,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 1 +account.3.codec.1.priority = 2 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 2 +account.3.codec.2.priority = 3 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1204,7 +1204,7 @@ account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 4 +account.3.codec.6.priority = 1 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0 diff --git a/resources/templates/provision/yealink/t29g/y000000000046.cfg b/resources/templates/provision/yealink/t29g/y000000000046.cfg index 07c58a1844..8342d76548 100644 --- a/resources/templates/provision/yealink/t29g/y000000000046.cfg +++ b/resources/templates/provision/yealink/t29g/y000000000046.cfg @@ -41,15 +41,15 @@ network.pc_port.dhcp_server = 1 ####################################################################################### ## VLAN ## ####################################################################################### -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 = +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = {$yealink_vlan_cos} #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; @@ -402,7 +402,7 @@ lang.wui = lang.gui = English ####################################################################################### -## Time ## +## Time Settings ## ####################################################################################### #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. @@ -417,13 +417,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 = +#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default); +local_time.summer_time = {$yealink_dst_enable} #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. @@ -830,6 +830,15 @@ features.pickup.blf_audio_enable = ####################################################################################### ## Phone Setting ## ####################################################################################### +#Enable or disable the photo display on handset 0 = disable, 1= enable +phone_setting.contact_photo_display.enable = 0 + +#Enable or disable the called party information display 0 = disable 1 = enable +phone_setting.called_party_info_display.enable = 1 + +#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info +phone_setting.call_info_display_method = 2 + #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = @@ -848,7 +857,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 = @@ -888,21 +897,21 @@ 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 = +phone_setting.backlight_time = {$yealink_backlight_time} ####################################################################################### ## Wallpaper ## @@ -1147,7 +1156,6 @@ linekey.20.type = linekey.20.xml_phonebook = linekey.20.label = - linekey.21.line = linekey.21.value = linekey.21.extension = @@ -1155,7 +1163,6 @@ linekey.21.type = linekey.21.xml_phonebook = linekey.21.label = - linekey.22.line = linekey.22.value = linekey.22.extension = @@ -1216,13 +1223,13 @@ linekey.27.label = #programablekey.x.history_type = #programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = -programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +#programablekey.1.type = +#programablekey.1.line = +#programablekey.1.value = +#programablekey.1.xml_phonebook = +#programablekey.1.history_type = +#programablekey.1.label = +#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## diff --git a/resources/templates/provision/yealink/t29g/{$mac}.cfg b/resources/templates/provision/yealink/t29g/{$mac}.cfg index c01a727063..785b99d481 100644 --- a/resources/templates/provision/yealink/t29g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t29g/{$mac}.cfg @@ -20,8 +20,8 @@ account.1.user_name = {$user_id_1} account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} account.1.outbound_host = {$outbound_proxy_1} -account.1.outbound_port = 5060 -account.1.sip_listen_port = 5060 +account.1.outbound_port = {$sip_port_1} +{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -224,12 +224,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 1 +account.1.codec.1.priority = 2 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 2 +account.1.codec.2.priority = 3 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -249,7 +249,7 @@ account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 4 +account.1.codec.6.priority = 1 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -683,12 +683,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 1 +account.2.codec.1.priority = 2 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 2 +account.2.codec.2.priority = 3 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -708,7 +708,7 @@ account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 4 +account.2.codec.6.priority = 1 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -1179,12 +1179,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 1 +account.3.codec.1.priority = 2 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 2 +account.3.codec.2.priority = 3 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1204,7 +1204,7 @@ account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 4 +account.3.codec.6.priority = 1 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0 diff --git a/resources/templates/provision/yealink/t41p/y000000000036.cfg b/resources/templates/provision/yealink/t41p/y000000000036.cfg index 425652cfe3..9969b571e7 100644 --- a/resources/templates/provision/yealink/t41p/y000000000036.cfg +++ b/resources/templates/provision/yealink/t41p/y000000000036.cfg @@ -38,55 +38,18 @@ network.pc_port.speed_duplex = network.pc_port.dhcp_server = 1 {if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if} -{if isset($vlan_port_id) } ####################################################################################### -## VLAN ENABLED ## +## VLAN ## ####################################################################################### -network.vlan.internet_port_enable = 1 +{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 = {$vlan_port_id} +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 = - -#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 - -#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. -#Require reboot; -network.vlan.internet_port_vid = - -#Configure the VLAN priority, it ranges from 0 (default) to 7. -#Require reboot; -network.vlan.internet_port_priority = +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = {$yealink_vlan_cos} #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; @@ -109,9 +72,6 @@ network.vlan.dhcp_enable = #Require reboot; network.vlan.dhcp_option = -{/if} - - ####################################################################################### ## WEB Port ## ####################################################################################### @@ -442,7 +402,7 @@ lang.wui = lang.gui = English ####################################################################################### -## Time ## +## Time Settings ## ####################################################################################### #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. @@ -457,13 +417,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 = +#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default); +local_time.summer_time = {$yealink_dst_enable} #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. @@ -487,7 +447,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 ## @@ -870,6 +830,15 @@ features.pickup.blf_audio_enable = ####################################################################################### ## Phone Setting ## ####################################################################################### +#Enable or disable the photo display on handset 0 = disable, 1= enable +phone_setting.contact_photo_display.enable = 0 + +#Enable or disable the called party information display 0 = disable 1 = enable +phone_setting.called_party_info_display.enable = 1 + +#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info +phone_setting.call_info_display_method = 2 + #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = @@ -888,7 +857,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 = @@ -928,27 +897,27 @@ 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 = +phone_setting.backlight_time = {$yealink_backlight_time} ####################################################################################### ## Wallpaper ## ####################################################################################### -wallpaper_upload.url = {$yealink_t46g_wallpaper} -phone_setting.backgrounds = Config:yealink_t46g_wallpaper.png +wallpaper_upload.url = {$yealink_t41p_wallpaper} +phone_setting.backgrounds = Config:yealink_t41p_wallpaper.png ####################################################################################### ## Multicast ## @@ -1187,7 +1156,6 @@ linekey.20.type = linekey.20.xml_phonebook = linekey.20.label = - linekey.21.line = linekey.21.value = linekey.21.extension = @@ -1195,7 +1163,6 @@ linekey.21.type = linekey.21.xml_phonebook = linekey.21.label = - linekey.22.line = linekey.22.value = linekey.22.extension = @@ -1256,13 +1223,13 @@ linekey.27.label = #programablekey.x.history_type = #programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = -programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +#programablekey.1.type = +#programablekey.1.line = +#programablekey.1.value = +#programablekey.1.xml_phonebook = +#programablekey.1.history_type = +#programablekey.1.label = +#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## @@ -1590,4 +1557,4 @@ directory_setting.url = http://{if isset($http_auth_username)}{$http_auth_userna ## Configure the access URL of firmware ## ####################################################################################### #Before using this parameter, you should store the desired firmware (x.71.x.x.rom) to the provisioning server. -firmware.url = {$yealink_t46g_firmware_url} +firmware.url = {$yealink_t41p_firmware_url} diff --git a/resources/templates/provision/yealink/t41p/{$mac}.cfg b/resources/templates/provision/yealink/t41p/{$mac}.cfg index c01a727063..785b99d481 100644 --- a/resources/templates/provision/yealink/t41p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41p/{$mac}.cfg @@ -20,8 +20,8 @@ account.1.user_name = {$user_id_1} account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} account.1.outbound_host = {$outbound_proxy_1} -account.1.outbound_port = 5060 -account.1.sip_listen_port = 5060 +account.1.outbound_port = {$sip_port_1} +{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -224,12 +224,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 1 +account.1.codec.1.priority = 2 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 2 +account.1.codec.2.priority = 3 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -249,7 +249,7 @@ account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 4 +account.1.codec.6.priority = 1 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -683,12 +683,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 1 +account.2.codec.1.priority = 2 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 2 +account.2.codec.2.priority = 3 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -708,7 +708,7 @@ account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 4 +account.2.codec.6.priority = 1 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -1179,12 +1179,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 1 +account.3.codec.1.priority = 2 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 2 +account.3.codec.2.priority = 3 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1204,7 +1204,7 @@ account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 4 +account.3.codec.6.priority = 1 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0 diff --git a/resources/templates/provision/yealink/t42g/y000000000029.cfg b/resources/templates/provision/yealink/t42g/y000000000029.cfg index 785fcf444b..57dc61823e 100644 --- a/resources/templates/provision/yealink/t42g/y000000000029.cfg +++ b/resources/templates/provision/yealink/t42g/y000000000029.cfg @@ -38,55 +38,18 @@ network.pc_port.speed_duplex = network.pc_port.dhcp_server = 1 {if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if} -{if isset($vlan_port_id) } ####################################################################################### -## VLAN ENABLED ## +## VLAN ## ####################################################################################### -network.vlan.internet_port_enable = 1 +{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 = {$vlan_port_id} +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 = - -#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 - -#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. -#Require reboot; -network.vlan.internet_port_vid = - -#Configure the VLAN priority, it ranges from 0 (default) to 7. -#Require reboot; -network.vlan.internet_port_priority = +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = {$yealink_vlan_cos} #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; @@ -109,9 +72,6 @@ network.vlan.dhcp_enable = #Require reboot; network.vlan.dhcp_option = -{/if} - - ####################################################################################### ## WEB Port ## ####################################################################################### @@ -442,7 +402,7 @@ lang.wui = lang.gui = English ####################################################################################### -## Time ## +## Time Settings ## ####################################################################################### #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. @@ -457,13 +417,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 = +local_time.summer_time = {$yealink_dst_enable} #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. @@ -487,7 +447,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 ## @@ -870,6 +830,15 @@ features.pickup.blf_audio_enable = ####################################################################################### ## Phone Setting ## ####################################################################################### +#Enable or disable the photo display on handset 0 = disable, 1= enable +phone_setting.contact_photo_display.enable = 0 + +#Enable or disable the called party information display 0 = disable 1 = enable +phone_setting.called_party_info_display.enable = 1 + +#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info +phone_setting.call_info_display_method = 2 + #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = @@ -888,7 +857,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 = @@ -928,21 +897,21 @@ 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 = +phone_setting.backlight_time = {$yealink_backlight_time} ####################################################################################### ## Wallpaper ## @@ -1187,7 +1156,6 @@ linekey.20.type = linekey.20.xml_phonebook = linekey.20.label = - linekey.21.line = linekey.21.value = linekey.21.extension = @@ -1195,7 +1163,6 @@ linekey.21.type = linekey.21.xml_phonebook = linekey.21.label = - linekey.22.line = linekey.22.value = linekey.22.extension = @@ -1238,7 +1205,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. @@ -1256,13 +1223,13 @@ linekey.27.label = #programablekey.x.history_type = #programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = -programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +#programablekey.1.type = +#programablekey.1.line = +#programablekey.1.value = +#programablekey.1.xml_phonebook = +#programablekey.1.history_type = +#programablekey.1.label = +#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## diff --git a/resources/templates/provision/yealink/t42g/{$mac}.cfg b/resources/templates/provision/yealink/t42g/{$mac}.cfg index c01a727063..785b99d481 100644 --- a/resources/templates/provision/yealink/t42g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42g/{$mac}.cfg @@ -20,8 +20,8 @@ account.1.user_name = {$user_id_1} account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} account.1.outbound_host = {$outbound_proxy_1} -account.1.outbound_port = 5060 -account.1.sip_listen_port = 5060 +account.1.outbound_port = {$sip_port_1} +{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -224,12 +224,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 1 +account.1.codec.1.priority = 2 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 2 +account.1.codec.2.priority = 3 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -249,7 +249,7 @@ account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 4 +account.1.codec.6.priority = 1 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -683,12 +683,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 1 +account.2.codec.1.priority = 2 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 2 +account.2.codec.2.priority = 3 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -708,7 +708,7 @@ account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 4 +account.2.codec.6.priority = 1 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -1179,12 +1179,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 1 +account.3.codec.1.priority = 2 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 2 +account.3.codec.2.priority = 3 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1204,7 +1204,7 @@ account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 4 +account.3.codec.6.priority = 1 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0 diff --git a/resources/templates/provision/yealink/t46g/y000000000028.cfg b/resources/templates/provision/yealink/t46g/y000000000028.cfg index b301c76774..63a58850e3 100644 --- a/resources/templates/provision/yealink/t46g/y000000000028.cfg +++ b/resources/templates/provision/yealink/t46g/y000000000028.cfg @@ -38,55 +38,18 @@ network.pc_port.speed_duplex = network.pc_port.dhcp_server = 1 {if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if} -{if isset($vlan_port_id) } ####################################################################################### -## VLAN ENABLED ## +## VLAN ## ####################################################################################### -network.vlan.internet_port_enable = 1 +{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 = {$vlan_port_id} +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 = - -#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 ENABLED ## -####################################################################################### -network.vlan.internet_port_enable = 0 - -#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. -#Require reboot; -network.vlan.internet_port_vid = - -#Configure the VLAN priority, it ranges from 0 (default) to 7. -#Require reboot; -network.vlan.internet_port_priority = +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = {$yealink_vlan_cos} #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; @@ -109,8 +72,6 @@ network.vlan.dhcp_enable = #Require reboot; network.vlan.dhcp_option = -{/if} - ####################################################################################### ## WEB Port ## ####################################################################################### @@ -441,42 +402,51 @@ lang.wui = lang.gui = English ####################################################################################### -## Time ## +## Time Settings ## ####################################################################################### + +#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. +#The default time zone name is China(Beijing). +#local_time.time_zone = +8 +#local_time.time_zone_name = China(Beijing) +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} + #Configure the domain name or the IP address of the NTP server. The default value is cn.pool.ntp.org. 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 = +#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default); +local_time.summer_time = {$yealink_dst_enable} #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. #If the DST type is configured as By Week, the value format is Month/Day of Week/Day of Week Last in Month/Hour of Day. #For example, the value 1/4/2/5 means the start time is at 5 o'clock on Tuesday of the 4th week in January. -local_time.start_time = +local_time.start_time = {$yealink_time_zone_start_time} #Configure the end time of DST. The default value is 12/31/23. The value format is the same to the start time. -local_time.end_time = +local_time.end_time = {$yealink_time_zone_end_time} -#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is 60. -local_time.offset_time = +#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is blank. +local_time.offset_time = {$yealink_offset_time} #Configure the time format; 0-12 Hour, 1-24 Hour (default); -local_time.time_format = +local_time.time_format = {$yealink_time_format} #Configure the date format; 0-WWW MMM DD (default), 1-DD-MMM-YY, 2-YYYY-MM-DD, 3-DD/MM/YYYY, 4-MM/DD/YY, 5-DD MMM YYYY, 6-WWW DD MMM; -local_time.date_format = +local_time.date_format = {$yealink_date_format} #Enable or disable the DHCP Time; 0-Disabled (default), 1-Enabled; -local_time.dhcp_time = +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 = 0 ####################################################################################### @@ -860,6 +830,15 @@ features.pickup.blf_audio_enable = ####################################################################################### ## Phone Setting ## ####################################################################################### +#Enable or disable the photo display on handset 0 = disable, 1= enable +phone_setting.contact_photo_display.enable = 0 + +#Enable or disable the called party information display 0 = disable 1 = enable +phone_setting.called_party_info_display.enable = 1 + +#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info +phone_setting.call_info_display_method = 2 + #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = @@ -878,7 +857,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 = @@ -918,21 +897,21 @@ 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 = +phone_setting.backlight_time = {$yealink_backlight_time} ####################################################################################### ## Wallpaper ## @@ -1177,7 +1156,6 @@ linekey.20.type = linekey.20.xml_phonebook = linekey.20.label = - linekey.21.line = linekey.21.value = linekey.21.extension = @@ -1185,7 +1163,6 @@ linekey.21.type = linekey.21.xml_phonebook = linekey.21.label = - linekey.22.line = linekey.22.value = linekey.22.extension = @@ -1246,13 +1223,13 @@ linekey.27.label = #programablekey.x.history_type = #programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = -programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +#programablekey.1.type = +#programablekey.1.line = +#programablekey.1.value = +#programablekey.1.xml_phonebook = +#programablekey.1.history_type = +#programablekey.1.label = +#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## @@ -1471,54 +1448,6 @@ gui_lang.url = #gui_lang.delete = http://localhost/all, delete all the customized languages. gui_lang.delete = -####################################################################################### -## Time Settings ## -####################################################################################### - -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#The default time zone name is China(Beijing). -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$yealink_time_zone} -local_time.time_zone_name = {$yealink_time_zone_name} - -#Configure the domain name or the IP address of the NTP server. The default value is cn.pool.ntp.org. -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 = - -#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default); -local_time.summer_time = - -#Configure the DST type when the DST feature is enabled; 0-By Date (default), 1-By Week; -local_time.dst_time_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. -#If the DST type is configured as By Week, the value format is Month/Day of Week/Day of Week Last in Month/Hour of Day. -#For example, the value 1/4/2/5 means the start time is at 5 o'clock on Tuesday of the 4th week in January. -local_time.start_time = {$yealink_time_zone_start_time} - -#Configure the end time of DST. The default value is 12/31/23. The value format is the same to the start time. -local_time.end_time = {$yealink_time_zone_end_time} - -#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is blank. -local_time.offset_time = {$yealink_offset_time} - -#Configure the time format; 0-12 Hour, 1-24 Hour (default); -local_time.time_format = {$yealink_time_format} - -#Configure the date format; 0-WWW MMM DD (default), 1-DD-MMM-YY, 2-YYYY-MM-DD, 3-DD/MM/YYYY, 4-MM/DD/YY, 5-DD MMM YYYY, 6-WWW DD MMM; -local_time.date_format = {$yealink_date_format} - -#Enable or disable the DHCP Time; 0-Disabled (default), 1-Enabled; -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 = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t46g/{$mac}.cfg b/resources/templates/provision/yealink/t46g/{$mac}.cfg index c01a727063..785b99d481 100644 --- a/resources/templates/provision/yealink/t46g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46g/{$mac}.cfg @@ -20,8 +20,8 @@ account.1.user_name = {$user_id_1} account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} account.1.outbound_host = {$outbound_proxy_1} -account.1.outbound_port = 5060 -account.1.sip_listen_port = 5060 +account.1.outbound_port = {$sip_port_1} +{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -224,12 +224,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 1 +account.1.codec.1.priority = 2 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 2 +account.1.codec.2.priority = 3 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -249,7 +249,7 @@ account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 4 +account.1.codec.6.priority = 1 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -683,12 +683,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 1 +account.2.codec.1.priority = 2 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 2 +account.2.codec.2.priority = 3 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -708,7 +708,7 @@ account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 4 +account.2.codec.6.priority = 1 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -1179,12 +1179,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 1 +account.3.codec.1.priority = 2 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 2 +account.3.codec.2.priority = 3 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1204,7 +1204,7 @@ account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 4 +account.3.codec.6.priority = 1 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0 diff --git a/resources/templates/provision/yealink/t48g/y000000000035.cfg b/resources/templates/provision/yealink/t48g/y000000000035.cfg index aa9ad6cf43..02dbd954f9 100644 --- a/resources/templates/provision/yealink/t48g/y000000000035.cfg +++ b/resources/templates/provision/yealink/t48g/y000000000035.cfg @@ -38,55 +38,18 @@ network.pc_port.speed_duplex = network.pc_port.dhcp_server = 1 {if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if} -{if isset($vlan_port_id) } ####################################################################################### -## VLAN ENABLED ## +## VLAN ## ####################################################################################### -network.vlan.internet_port_enable = 1 +{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 = {$vlan_port_id} +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 = - -#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 - -#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. -#Require reboot; -network.vlan.internet_port_vid = - -#Configure the VLAN priority, it ranges from 0 (default) to 7. -#Require reboot; -network.vlan.internet_port_priority = +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = {$yealink_vlan_cos} #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; @@ -109,9 +72,6 @@ network.vlan.dhcp_enable = #Require reboot; network.vlan.dhcp_option = -{/if} - - ####################################################################################### ## WEB Port ## ####################################################################################### @@ -441,6 +401,54 @@ lang.wui = #Specify the LCD language, the valid values are: English (default), Chinese_S, Chinese_T, German, French, Turkish, Italian, Polish, Spanish and Portuguese. lang.gui = English +####################################################################################### +## Time Settings ## +####################################################################################### + +#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. +#The default time zone name is China(Beijing). +#local_time.time_zone = +8 +#local_time.time_zone_name = China(Beijing) +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} + +#Configure the domain name or the IP address of the NTP server. The default value is cn.pool.ntp.org. +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 = {$yealink_time_update} + +#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default); +local_time.summer_time = {$yealink_dst_enable} + +#Configure the DST type when the DST feature is enabled; 0-By Date (default), 1-By Week; +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. +#If the DST type is configured as By Week, the value format is Month/Day of Week/Day of Week Last in Month/Hour of Day. +#For example, the value 1/4/2/5 means the start time is at 5 o'clock on Tuesday of the 4th week in January. +local_time.start_time = {$yealink_time_zone_start_time} + +#Configure the end time of DST. The default value is 12/31/23. The value format is the same to the start time. +local_time.end_time = {$yealink_time_zone_end_time} + +#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is blank. +local_time.offset_time = {$yealink_offset_time} + +#Configure the time format; 0-12 Hour, 1-24 Hour (default); +local_time.time_format = {$yealink_time_format} + +#Configure the date format; 0-WWW MMM DD (default), 1-DD-MMM-YY, 2-YYYY-MM-DD, 3-DD/MM/YYYY, 4-MM/DD/YY, 5-DD MMM YYYY, 6-WWW DD MMM; +local_time.date_format = {$yealink_date_format} + +#Enable or disable the DHCP Time; 0-Disabled (default), 1-Enabled; +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 = 0 + ####################################################################################### ## Auto Redial ## ####################################################################################### @@ -774,11 +782,11 @@ features.remote_phonebook.flash_time = ####################################################################################### ## Features Action ## ####################################################################################### -#Specifie the address(es) or enters ¡°any¡± from which Action URI will be accepted. +#Specific 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 @@ -822,6 +830,15 @@ features.pickup.blf_audio_enable = ####################################################################################### ## Phone Setting ## ####################################################################################### +#Enable or disable the photo display on handset 0 = disable, 1= enable +phone_setting.contact_photo_display.enable = 0 + +#Enable or disable the called party information display 0 = disable 1 = enable +phone_setting.called_party_info_display.enable = 1 + +#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info +phone_setting.call_info_display_method = 2 + #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = @@ -840,7 +857,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 = @@ -874,27 +891,27 @@ 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 = ####################################################################################### ## 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 = +phone_setting.backlight_time = {$yealink_backlight_time} ####################################################################################### ## Wallpaper ## @@ -1139,7 +1156,6 @@ linekey.20.type = linekey.20.xml_phonebook = linekey.20.label = - linekey.21.line = linekey.21.value = linekey.21.extension = @@ -1147,7 +1163,6 @@ linekey.21.type = linekey.21.xml_phonebook = linekey.21.label = - linekey.22.line = linekey.22.value = linekey.22.extension = @@ -1190,7 +1205,7 @@ linekey.27.type = linekey.27.xml_phonebook = linekey.27.label = ####################################################################################### -## Programmable key ## +## Programmable key ## ####################################################################################### #X ranges from 1 to 13. #programablekey.x.type--Customize the programmable key type. @@ -1208,13 +1223,13 @@ linekey.27.label = #programablekey.x.history_type = #programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = -programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +#programablekey.1.type = +#programablekey.1.line = +#programablekey.1.value = +#programablekey.1.xml_phonebook = +#programablekey.1.history_type = +#programablekey.1.label = +#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## @@ -1433,54 +1448,6 @@ gui_lang.url = #gui_lang.delete = http://localhost/all, delete all the customized languages. gui_lang.delete = -####################################################################################### -## Time Settings ## -####################################################################################### - -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#The default time zone name is China(Beijing). -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$yealink_time_zone} -local_time.time_zone_name = {$yealink_time_zone_name} - -#Configure the domain name or the IP address of the NTP server. The default value is cn.pool.ntp.org. -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 = - -#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default); -local_time.summer_time = - -#Configure the DST type when the DST feature is enabled; 0-By Date (default), 1-By Week; -local_time.dst_time_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. -#If the DST type is configured as By Week, the value format is Month/Day of Week/Day of Week Last in Month/Hour of Day. -#For example, the value 1/4/2/5 means the start time is at 5 o'clock on Tuesday of the 4th week in January. -local_time.start_time = {$yealink_time_zone_start_time} - -#Configure the end time of DST. The default value is 12/31/23. The value format is the same to the start time. -local_time.end_time = {$yealink_time_zone_end_time} - -#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is blank. -local_time.offset_time = {$yealink_offset_time} - -#Configure the time format; 0-12 Hour, 1-24 Hour (default); -local_time.time_format = {$yealink_time_format} - -#Configure the date format; 0-WWW MMM DD (default), 1-DD-MMM-YY, 2-YYYY-MM-DD, 3-DD/MM/YYYY, 4-MM/DD/YY, 5-DD MMM YYYY, 6-WWW DD MMM; -local_time.date_format = {$yealink_date_format} - -#Enable or disable the DHCP Time; 0-Disabled (default), 1-Enabled; -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 = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### @@ -1581,7 +1548,7 @@ web_item_level.url = super_search.url = ####################################################################################### -## Sirectory Setting ## +## Directory Setting ## ####################################################################################### #Configure the access URL of the directory setting file. directory_setting.url = http://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=favorite_setting.xml diff --git a/resources/templates/provision/yealink/t48g/{$mac}.cfg b/resources/templates/provision/yealink/t48g/{$mac}.cfg index c01a727063..785b99d481 100644 --- a/resources/templates/provision/yealink/t48g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48g/{$mac}.cfg @@ -20,8 +20,8 @@ account.1.user_name = {$user_id_1} account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} account.1.outbound_host = {$outbound_proxy_1} -account.1.outbound_port = 5060 -account.1.sip_listen_port = 5060 +account.1.outbound_port = {$sip_port_1} +{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -224,12 +224,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 1 +account.1.codec.1.priority = 2 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 2 +account.1.codec.2.priority = 3 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -249,7 +249,7 @@ account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 4 +account.1.codec.6.priority = 1 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -683,12 +683,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 1 +account.2.codec.1.priority = 2 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 2 +account.2.codec.2.priority = 3 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -708,7 +708,7 @@ account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 4 +account.2.codec.6.priority = 1 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -1179,12 +1179,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 1 +account.3.codec.1.priority = 2 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 2 +account.3.codec.2.priority = 3 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1204,7 +1204,7 @@ account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 4 +account.3.codec.6.priority = 1 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0 diff --git a/resources/templates/provision/yealink/t49g/y000000000051.cfg b/resources/templates/provision/yealink/t49g/y000000000051.cfg index c05ded2748..d5042ffc21 100644 --- a/resources/templates/provision/yealink/t49g/y000000000051.cfg +++ b/resources/templates/provision/yealink/t49g/y000000000051.cfg @@ -38,55 +38,18 @@ network.pc_port.speed_duplex = network.pc_port.dhcp_server = 1 {if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if} -{if isset($vlan_port_id) } ####################################################################################### -## VLAN ENABLED ## +## VLAN ## ####################################################################################### -network.vlan.internet_port_enable = 1 +{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 = {$vlan_port_id} +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 = - -#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 - -#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. -#Require reboot; -network.vlan.internet_port_vid = - -#Configure the VLAN priority, it ranges from 0 (default) to 7. -#Require reboot; -network.vlan.internet_port_priority = +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = {$yealink_vlan_cos} #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; @@ -109,9 +72,6 @@ network.vlan.dhcp_enable = #Require reboot; network.vlan.dhcp_option = -{/if} - - ####################################################################################### ## WEB Port ## ####################################################################################### @@ -442,7 +402,7 @@ lang.wui = lang.gui = English ####################################################################################### -## Time ## +## Time Settings ## ####################################################################################### #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. @@ -457,13 +417,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 = +local_time.summer_time = {$yealink_dst_enable} #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. @@ -487,7 +447,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 ## @@ -822,11 +782,11 @@ features.remote_phonebook.flash_time = ####################################################################################### ## Features Action ## ####################################################################################### -#Specifie the address(es) or enters ¡°any¡± from which Action URI will be accepted. +#Specific 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 @@ -870,6 +830,15 @@ features.pickup.blf_audio_enable = ####################################################################################### ## Phone Setting ## ####################################################################################### +#Enable or disable the photo display on handset 0 = disable, 1= enable +phone_setting.contact_photo_display.enable = 0 + +#Enable or disable the called party information display 0 = disable 1 = enable +phone_setting.called_party_info_display.enable = 1 + +#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info +phone_setting.call_info_display_method = 2 + #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. phone_setting.inter_digit_time = @@ -888,7 +857,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 = @@ -922,33 +891,33 @@ 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 = ####################################################################################### ## 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 = +phone_setting.backlight_time = {$yealink_backlight_time} ####################################################################################### ## Wallpaper ## ####################################################################################### -wallpaper_upload.url = {$yealink_t48g_wallpaper} -phone_setting.backgrounds = Config:yealink_t48g_wallpaper.png +wallpaper_upload.url = {$yealink_t49g_wallpaper} +phone_setting.backgrounds = Config:yealink_t49g_wallpaper.png ####################################################################################### ## Multicast ## @@ -1187,7 +1156,6 @@ linekey.20.type = linekey.20.xml_phonebook = linekey.20.label = - linekey.21.line = linekey.21.value = linekey.21.extension = @@ -1195,7 +1163,6 @@ linekey.21.type = linekey.21.xml_phonebook = linekey.21.label = - linekey.22.line = linekey.22.value = linekey.22.extension = @@ -1238,7 +1205,7 @@ linekey.27.type = linekey.27.xml_phonebook = linekey.27.label = ####################################################################################### -## Programmable key ## +## Programmable key ## ####################################################################################### #X ranges from 1 to 13. #programablekey.x.type--Customize the programmable key type. @@ -1256,13 +1223,13 @@ linekey.27.label = #programablekey.x.history_type = #programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = -programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +#programablekey.1.type = +#programablekey.1.line = +#programablekey.1.value = +#programablekey.1.xml_phonebook = +#programablekey.1.history_type = +#programablekey.1.label = +#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## @@ -1581,7 +1548,7 @@ web_item_level.url = super_search.url = ####################################################################################### -## Sirectory Setting ## +## Directory Setting ## ####################################################################################### #Configure the access URL of the directory setting file. directory_setting.url = http://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=favorite_setting.xml @@ -1590,4 +1557,4 @@ directory_setting.url = http://{if isset($http_auth_username)}{$http_auth_userna ## Configure the access URL of firmware ## ####################################################################################### #Before using this parameter, you should store the desired firmware (x.71.x.x.rom) to the provisioning server. -firmware.url = {$yealink_t48g_firmware_url} +firmware.url = {$yealink_t49g_firmware_url} diff --git a/resources/templates/provision/yealink/t49g/{$mac}.cfg b/resources/templates/provision/yealink/t49g/{$mac}.cfg index c01a727063..785b99d481 100644 --- a/resources/templates/provision/yealink/t49g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t49g/{$mac}.cfg @@ -20,8 +20,8 @@ account.1.user_name = {$user_id_1} account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} account.1.outbound_host = {$outbound_proxy_1} -account.1.outbound_port = 5060 -account.1.sip_listen_port = 5060 +account.1.outbound_port = {$sip_port_1} +{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $sip_transport_1 == 'udp'}account.1.transport = 0{/if} {if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if} @@ -224,12 +224,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 1 +account.1.codec.1.priority = 2 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 2 +account.1.codec.2.priority = 3 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -249,7 +249,7 @@ account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 4 +account.1.codec.6.priority = 1 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -683,12 +683,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 1 +account.2.codec.1.priority = 2 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 2 +account.2.codec.2.priority = 3 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -708,7 +708,7 @@ account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 4 +account.2.codec.6.priority = 1 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -1179,12 +1179,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 1 +account.3.codec.1.priority = 2 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 2 +account.3.codec.2.priority = 3 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1204,7 +1204,7 @@ account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 4 +account.3.codec.6.priority = 1 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0