mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Yealink provisioning if using Conference Meet-Me or BLF use the pickup value instead of the key extension.
This commit is contained in:
@@ -2923,14 +2923,18 @@ network.static_dns_enable = 0
|
||||
|
||||
#The x of the parameter "linekey.x.line" ranges from 1 to 6.
|
||||
#The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1.
|
||||
#linekey.x.lable--Define the label for each line key.
|
||||
#linekey.x.lable--Define the label for each line key. Meet-Me Conference "1" or BLF "16" require pick_value.
|
||||
|
||||
{foreach $keys as $row}
|
||||
{if $row.device_key_category == "line"}
|
||||
#Configure Line Key {$row.device_key_id}
|
||||
linekey.{$row.device_key_id}.line = {$row.device_key_line}
|
||||
linekey.{$row.device_key_id}.value = {$row.device_key_value}
|
||||
{if $row.device_key_type == "1" || $row.device_key_type == "16"}
|
||||
linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
|
||||
{else}
|
||||
linekey.{$row.device_key_id}.extension = {$row.device_key_extension}
|
||||
{/if}
|
||||
linekey.{$row.device_key_id}.type = {$row.device_key_type}
|
||||
linekey.{$row.device_key_id}.xml_phonebook =
|
||||
linekey.{$row.device_key_id}.label = {$row.device_key_label}
|
||||
|
||||
@@ -2923,14 +2923,18 @@ network.static_dns_enable = 0
|
||||
|
||||
#The x of the parameter "linekey.x.line" ranges from 1 to 6.
|
||||
#The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1.
|
||||
#linekey.x.lable--Define the label for each line key.
|
||||
#linekey.x.lable--Define the label for each line key. Meet-Me Conference "1" or BLF "16" require pick_value.
|
||||
|
||||
{foreach $keys as $row}
|
||||
{if $row.device_key_category == "line"}
|
||||
#Configure Line Key {$row.device_key_id}
|
||||
linekey.{$row.device_key_id}.line = {$row.device_key_line}
|
||||
linekey.{$row.device_key_id}.value = {$row.device_key_value}
|
||||
{if $row.device_key_type == "1" || $row.device_key_type == "16"}
|
||||
linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
|
||||
{else}
|
||||
linekey.{$row.device_key_id}.extension = {$row.device_key_extension}
|
||||
{/if}
|
||||
linekey.{$row.device_key_id}.type = {$row.device_key_type}
|
||||
linekey.{$row.device_key_id}.xml_phonebook =
|
||||
linekey.{$row.device_key_id}.label = {$row.device_key_label}
|
||||
|
||||
@@ -1131,7 +1131,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.
|
||||
|
||||
@@ -2923,14 +2923,18 @@ network.static_dns_enable = 0
|
||||
|
||||
#The x of the parameter "linekey.x.line" ranges from 1 to 6.
|
||||
#The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1.
|
||||
#linekey.x.lable--Define the label for each line key.
|
||||
#linekey.x.lable--Define the label for each line key. Meet-Me Conference "1" or BLF "16" require pick_value.
|
||||
|
||||
{foreach $keys as $row}
|
||||
{if $row.device_key_category == "line"}
|
||||
#Configure Line Key {$row.device_key_id}
|
||||
linekey.{$row.device_key_id}.line = {$row.device_key_line}
|
||||
linekey.{$row.device_key_id}.value = {$row.device_key_value}
|
||||
{if $row.device_key_type == "1" || $row.device_key_type == "16"}
|
||||
linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
|
||||
{else}
|
||||
linekey.{$row.device_key_id}.extension = {$row.device_key_extension}
|
||||
{/if}
|
||||
linekey.{$row.device_key_id}.type = {$row.device_key_type}
|
||||
linekey.{$row.device_key_id}.xml_phonebook =
|
||||
linekey.{$row.device_key_id}.label = {$row.device_key_label}
|
||||
|
||||
Reference in New Issue
Block a user