Yealink provisioning if using Conference Meet-Me or BLF use the pickup value instead of the key extension.

This commit is contained in:
Mark Crane 2015-05-20 07:31:17 +00:00
parent 314e16f823
commit b37a63ed7e
4 changed files with 16 additions and 4 deletions

View File

@ -2923,14 +2923,18 @@ network.static_dns_enable = 0
#The x of the parameter "linekey.x.line" ranges from 1 to 6. #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. #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} {foreach $keys as $row}
{if $row.device_key_category == "line"} {if $row.device_key_category == "line"}
#Configure Line Key {$row.device_key_id} #Configure Line Key {$row.device_key_id}
linekey.{$row.device_key_id}.line = {$row.device_key_line} linekey.{$row.device_key_id}.line = {$row.device_key_line}
linekey.{$row.device_key_id}.value = {$row.device_key_value} 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} 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}.type = {$row.device_key_type}
linekey.{$row.device_key_id}.xml_phonebook = linekey.{$row.device_key_id}.xml_phonebook =
linekey.{$row.device_key_id}.label = {$row.device_key_label} linekey.{$row.device_key_id}.label = {$row.device_key_label}

View File

@ -2923,14 +2923,18 @@ network.static_dns_enable = 0
#The x of the parameter "linekey.x.line" ranges from 1 to 6. #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. #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} {foreach $keys as $row}
{if $row.device_key_category == "line"} {if $row.device_key_category == "line"}
#Configure Line Key {$row.device_key_id} #Configure Line Key {$row.device_key_id}
linekey.{$row.device_key_id}.line = {$row.device_key_line} linekey.{$row.device_key_id}.line = {$row.device_key_line}
linekey.{$row.device_key_id}.value = {$row.device_key_value} 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} 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}.type = {$row.device_key_type}
linekey.{$row.device_key_id}.xml_phonebook = linekey.{$row.device_key_id}.xml_phonebook =
linekey.{$row.device_key_id}.label = {$row.device_key_label} linekey.{$row.device_key_id}.label = {$row.device_key_label}

View File

@ -1131,7 +1131,7 @@ linekey.27.type =
linekey.27.xml_phonebook = linekey.27.xml_phonebook =
linekey.27.label = linekey.27.label =
####################################################################################### #######################################################################################
## Programablekey ## ## Programmable key ##
####################################################################################### #######################################################################################
#X ranges from 1 to 13. #X ranges from 1 to 13.
#programablekey.x.type--Customize the programmable key type. #programablekey.x.type--Customize the programmable key type.

View File

@ -2923,14 +2923,18 @@ network.static_dns_enable = 0
#The x of the parameter "linekey.x.line" ranges from 1 to 6. #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. #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} {foreach $keys as $row}
{if $row.device_key_category == "line"} {if $row.device_key_category == "line"}
#Configure Line Key {$row.device_key_id} #Configure Line Key {$row.device_key_id}
linekey.{$row.device_key_id}.line = {$row.device_key_line} linekey.{$row.device_key_id}.line = {$row.device_key_line}
linekey.{$row.device_key_id}.value = {$row.device_key_value} 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} 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}.type = {$row.device_key_type}
linekey.{$row.device_key_id}.xml_phonebook = linekey.{$row.device_key_id}.xml_phonebook =
linekey.{$row.device_key_id}.label = {$row.device_key_label} linekey.{$row.device_key_id}.label = {$row.device_key_label}