Add the key assignment to the yealink templates.

This commit is contained in:
Mark Crane
2014-01-01 08:54:03 +00:00
parent b8d5940e8a
commit ac07b4a613
5 changed files with 417 additions and 5 deletions

View File

@@ -1853,7 +1853,7 @@ account.6.codec.12.rtpmap = 97
account.6.codec.13.enable = 0
account.6.codec.13.payload_type = iLBC_15_2
account.6.codec.13.priority = 0
account.6.codec.13.rtpmap = 97
account.6.codec.13.rtpmap = 97
#######################################################################################
## Call Forward ##
@@ -1885,3 +1885,26 @@ forward.no_answer.off_code =
#Enable or disable the phone to forward the call to the international number (the prefix is 00); 0-Disabled (default), 1-Enabled;
forward.international.enable =
#######################################################################################
## Line Key ##
#######################################################################################
#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.
{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_id}
linekey.{$row.device_key_id}.value = {$row.device_key_value}
linekey.{$row.device_key_id}.pickup_value =
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}
{else}
{/if}
{/foreach}

View File

@@ -1853,7 +1853,7 @@ account.6.codec.12.rtpmap = 97
account.6.codec.13.enable = 0
account.6.codec.13.payload_type = iLBC_15_2
account.6.codec.13.priority = 0
account.6.codec.13.rtpmap = 97
account.6.codec.13.rtpmap = 97
#######################################################################################
## Call Forward ##
@@ -1885,3 +1885,26 @@ forward.no_answer.off_code =
#Enable or disable the phone to forward the call to the international number (the prefix is 00); 0-Disabled (default), 1-Enabled;
forward.international.enable =
#######################################################################################
## Line Key ##
#######################################################################################
#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.
{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_id}
linekey.{$row.device_key_id}.value = {$row.device_key_value}
linekey.{$row.device_key_id}.pickup_value =
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}
{else}
{/if}
{/foreach}

View File

@@ -1853,7 +1853,7 @@ account.6.codec.12.rtpmap = 97
account.6.codec.13.enable = 0
account.6.codec.13.payload_type = iLBC_15_2
account.6.codec.13.priority = 0
account.6.codec.13.rtpmap = 97
account.6.codec.13.rtpmap = 97
#######################################################################################
## Call Forward ##
@@ -1885,3 +1885,125 @@ forward.no_answer.off_code =
#Enable or disable the phone to forward the call to the international number (the prefix is 00); 0-Disabled (default), 1-Enabled;
forward.international.enable =
#######################################################################################
## Line Key ##
#######################################################################################
#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.
{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_id}
linekey.{$row.device_key_id}.value = {$row.device_key_value}
linekey.{$row.device_key_id}.pickup_value =
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}
{else}
{/if}
{/foreach}
#######################################################################################
## Memory Key (For T38G only) ##
#######################################################################################
#X ranges from 1 to 10;
#memorykey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
#The value 0 of the "memorykey.x.line" stands for Auto, it means the first available line.
#But, when the DSS key is configured as BLF, BLF List, Shared Line, Call Park, Pick Up, ACD or Voice Mail feature, the value 0 stands for line 1.
#memorykey.x.value--Enter the value of some features. E.g. When configuring the DSS key to be BLF, enter the number of the monitored user.
#memorykey.x.pickup_value--Enter the pickup code, this parameter is only appilicable to BLF.
#memorykey.x.type--Assign the desired feature to the memory key.
#Valid types are: 0-N/A(default for memory key) 1-Conference 2-Forward 3-Transfer 4-Hold 5-DND 6-Redial 7-Call Return 8-SMS
# 9-Call Pickup 10-Call Park 11-DTMF 12-Voicemail 13-SpeedDial 14-Intercom 15-Line(default for line key) 16-BLF 17-URL
# 18-Group Listening 19-Public Hold 20-Private 21-Shared Line 22-XML Group 23-Group Pickup 24-Paging 25-Record 27-XML Browser
# 34-Hot Desking 35-URL Record 38-LDAP 39-BLF List 40-Prefix 41-Zero-Sp-Touch 42-ACD 45-Local Group 46-Broadsoft Group
#memorykey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the DSS key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
#memorykey.x.sub_type =
{foreach $keys as $row}
{if $row.device_key_category == "memory"}
#Expansion Memory Key {$row.device_key_id}
memorykey.{$row.device_key_id}.type = {$row.device_key_type}
memorykey.{$row.device_key_id}.line = {$row.device_key_id}
memorykey.{$row.device_key_id}.value = {$row.device_key_value}
memorykey.{$row.device_key_id}.pickup_value =
memorykey.{$row.device_key_id}.label = {$row.device_key_label}
memorykey.{$row.device_key_id}.xml_phonebook =
memorykey.{$row.device_key_id}.sub_type =
{else}
memorykey.1.type = NA
{/if}
{/foreach}
##########################################################################################
## Programmable Key (For T38G only) ##
##########################################################################################
#X ranges from 1 to 15.
#programablekey.x.type--Customize the programmable key type.
#The valid types are:
#0-N/A 2-Forward 5-DND 6-Redial 7-Call Return 8-SMS 9-Call Pickup 13-Spead Dial 14-Intercom
#22-XML Group 23-Group Pickup 27-XML Browser 28-History 29-Directory 30-Menu 32-New SMS 33-Status 43-Local Phonebook
#44-Broadsoft Phonebook 45-Local Group 46-Broadsoft Group 47-XML Phonebook 48-Switch Account Up 49-Switch Account Down 50-Keypad Lock
#programablekey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
#The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line.
#But, when the programmable key is configured as Pick Up, the value 0 stands for line 1.
#programablekey.x.value =
#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
#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 =
##########################################################################################
## Expansion Module 1 ##
##########################################################################################
#X ranges from 1 to 16, Y ranges from 1 to 40.
#expansion_module.x.key.y.type = 37 (Switch by default)
#expansion_module.x.key.y.line = 0
#expansion_module.x.key.y.value =
#expansion_module.x.key.y.pickup_value =
#expansion_module.x.key.y.label =
#expansion_module.X.key.Y.xml_phonebook =
{foreach $keys as $row}
{if $row.device_key_category == "expansion"}
#Expansion module 1 key {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type}
expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value}
expansion_module.1.key.{$row.device_key_id}.pickup_value =
expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label}
expansion_module.1.key.{$row.device_key_id}.xml_phonebook =
{/if}
{/foreach}
##########################################################################################
## Expansion Module 2 ##
##########################################################################################
#Expansion module 2 key 1
#expansion_module.2.key.1.type = {$key_type_1}
#expansion_module.2.key.1.line = {$key_id_1}
#expansion_module.2.key.1.value = {$key_value_1}
#expansion_module.2.key.1.pickup_value =
#expansion_module.2.key.1.label = {$key_label_1}
#expansion_module.2.key.1.xml_phonebook =
#expansion_module.2.key.1.type = 37
#expansion_module.2.key.1.label = {$key_label_1}

View File

@@ -1853,7 +1853,7 @@ account.6.codec.12.rtpmap = 97
account.6.codec.13.enable = 0
account.6.codec.13.payload_type = iLBC_15_2
account.6.codec.13.priority = 0
account.6.codec.13.rtpmap = 97
account.6.codec.13.rtpmap = 97
#######################################################################################
## Call Forward ##
@@ -1885,3 +1885,125 @@ forward.no_answer.off_code =
#Enable or disable the phone to forward the call to the international number (the prefix is 00); 0-Disabled (default), 1-Enabled;
forward.international.enable =
#######################################################################################
## Line Key ##
#######################################################################################
#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.
{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_id}
linekey.{$row.device_key_id}.value = {$row.device_key_value}
linekey.{$row.device_key_id}.pickup_value =
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}
{else}
{/if}
{/foreach}
#######################################################################################
## Memory Key (For T38G only) ##
#######################################################################################
#X ranges from 1 to 10;
#memorykey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
#The value 0 of the "memorykey.x.line" stands for Auto, it means the first available line.
#But, when the DSS key is configured as BLF, BLF List, Shared Line, Call Park, Pick Up, ACD or Voice Mail feature, the value 0 stands for line 1.
#memorykey.x.value--Enter the value of some features. E.g. When configuring the DSS key to be BLF, enter the number of the monitored user.
#memorykey.x.pickup_value--Enter the pickup code, this parameter is only appilicable to BLF.
#memorykey.x.type--Assign the desired feature to the memory key.
#Valid types are: 0-N/A(default for memory key) 1-Conference 2-Forward 3-Transfer 4-Hold 5-DND 6-Redial 7-Call Return 8-SMS
# 9-Call Pickup 10-Call Park 11-DTMF 12-Voicemail 13-SpeedDial 14-Intercom 15-Line(default for line key) 16-BLF 17-URL
# 18-Group Listening 19-Public Hold 20-Private 21-Shared Line 22-XML Group 23-Group Pickup 24-Paging 25-Record 27-XML Browser
# 34-Hot Desking 35-URL Record 38-LDAP 39-BLF List 40-Prefix 41-Zero-Sp-Touch 42-ACD 45-Local Group 46-Broadsoft Group
#memorykey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the DSS key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
#memorykey.x.sub_type =
{foreach $keys as $row}
{if $row.device_key_category == "memory"}
#Expansion Memory Key {$row.device_key_id}
memorykey.{$row.device_key_id}.type = {$row.device_key_type}
memorykey.{$row.device_key_id}.line = {$row.device_key_id}
memorykey.{$row.device_key_id}.value = {$row.device_key_value}
memorykey.{$row.device_key_id}.pickup_value =
memorykey.{$row.device_key_id}.label = {$row.device_key_label}
memorykey.{$row.device_key_id}.xml_phonebook =
memorykey.{$row.device_key_id}.sub_type =
{else}
memorykey.1.type = NA
{/if}
{/foreach}
##########################################################################################
## Programmable Key (For T38G only) ##
##########################################################################################
#X ranges from 1 to 15.
#programablekey.x.type--Customize the programmable key type.
#The valid types are:
#0-N/A 2-Forward 5-DND 6-Redial 7-Call Return 8-SMS 9-Call Pickup 13-Spead Dial 14-Intercom
#22-XML Group 23-Group Pickup 27-XML Browser 28-History 29-Directory 30-Menu 32-New SMS 33-Status 43-Local Phonebook
#44-Broadsoft Phonebook 45-Local Group 46-Broadsoft Group 47-XML Phonebook 48-Switch Account Up 49-Switch Account Down 50-Keypad Lock
#programablekey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
#The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line.
#But, when the programmable key is configured as Pick Up, the value 0 stands for line 1.
#programablekey.x.value =
#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
#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 =
##########################################################################################
## Expansion Module 1 ##
##########################################################################################
#X ranges from 1 to 16, Y ranges from 1 to 40.
#expansion_module.x.key.y.type = 37 (Switch by default)
#expansion_module.x.key.y.line = 0
#expansion_module.x.key.y.value =
#expansion_module.x.key.y.pickup_value =
#expansion_module.x.key.y.label =
#expansion_module.X.key.Y.xml_phonebook =
{foreach $keys as $row}
{if $row.device_key_category == "expansion"}
#Expansion module 1 key {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type}
expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value}
expansion_module.1.key.{$row.device_key_id}.pickup_value =
expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label}
expansion_module.1.key.{$row.device_key_id}.xml_phonebook =
{/if}
{/foreach}
##########################################################################################
## Expansion Module 2 ##
##########################################################################################
#Expansion module 2 key 1
#expansion_module.2.key.1.type = {$key_type_1}
#expansion_module.2.key.1.line = {$key_id_1}
#expansion_module.2.key.1.value = {$key_value_1}
#expansion_module.2.key.1.pickup_value =
#expansion_module.2.key.1.label = {$key_label_1}
#expansion_module.2.key.1.xml_phonebook =
#expansion_module.2.key.1.type = 37
#expansion_module.2.key.1.label = {$key_label_1}

View File

@@ -1383,4 +1383,126 @@ forward.no_answer.enable =
forward.no_answer.target =
forward.no_answer.timeout =
forward.no_answer.on_code =
forward.no_answer.off_code =
forward.no_answer.off_code =
#######################################################################################
## Line Key ##
#######################################################################################
#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.
{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_id}
linekey.{$row.device_key_id}.value = {$row.device_key_value}
linekey.{$row.device_key_id}.pickup_value =
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}
{else}
{/if}
{/foreach}
#######################################################################################
## Memory Key (For T38G only) ##
#######################################################################################
#X ranges from 1 to 10;
#memorykey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
#The value 0 of the "memorykey.x.line" stands for Auto, it means the first available line.
#But, when the DSS key is configured as BLF, BLF List, Shared Line, Call Park, Pick Up, ACD or Voice Mail feature, the value 0 stands for line 1.
#memorykey.x.value--Enter the value of some features. E.g. When configuring the DSS key to be BLF, enter the number of the monitored user.
#memorykey.x.pickup_value--Enter the pickup code, this parameter is only appilicable to BLF.
#memorykey.x.type--Assign the desired feature to the memory key.
#Valid types are: 0-N/A(default for memory key) 1-Conference 2-Forward 3-Transfer 4-Hold 5-DND 6-Redial 7-Call Return 8-SMS
# 9-Call Pickup 10-Call Park 11-DTMF 12-Voicemail 13-SpeedDial 14-Intercom 15-Line(default for line key) 16-BLF 17-URL
# 18-Group Listening 19-Public Hold 20-Private 21-Shared Line 22-XML Group 23-Group Pickup 24-Paging 25-Record 27-XML Browser
# 34-Hot Desking 35-URL Record 38-LDAP 39-BLF List 40-Prefix 41-Zero-Sp-Touch 42-ACD 45-Local Group 46-Broadsoft Group
#memorykey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the DSS key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
#memorykey.x.sub_type =
{foreach $keys as $row}
{if $row.device_key_category == "memory"}
#Expansion Memory Key {$row.device_key_id}
memorykey.{$row.device_key_id}.type = {$row.device_key_type}
memorykey.{$row.device_key_id}.line = {$row.device_key_id}
memorykey.{$row.device_key_id}.value = {$row.device_key_value}
memorykey.{$row.device_key_id}.pickup_value =
memorykey.{$row.device_key_id}.label = {$row.device_key_label}
memorykey.{$row.device_key_id}.xml_phonebook =
memorykey.{$row.device_key_id}.sub_type =
{else}
memorykey.1.type = NA
{/if}
{/foreach}
##########################################################################################
## Programmable Key (For T38G only) ##
##########################################################################################
#X ranges from 1 to 15.
#programablekey.x.type--Customize the programmable key type.
#The valid types are:
#0-N/A 2-Forward 5-DND 6-Redial 7-Call Return 8-SMS 9-Call Pickup 13-Spead Dial 14-Intercom
#22-XML Group 23-Group Pickup 27-XML Browser 28-History 29-Directory 30-Menu 32-New SMS 33-Status 43-Local Phonebook
#44-Broadsoft Phonebook 45-Local Group 46-Broadsoft Group 47-XML Phonebook 48-Switch Account Up 49-Switch Account Down 50-Keypad Lock
#programablekey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
#The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line.
#But, when the programmable key is configured as Pick Up, the value 0 stands for line 1.
#programablekey.x.value =
#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
#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 =
##########################################################################################
## Expansion Module 1 ##
##########################################################################################
#X ranges from 1 to 16, Y ranges from 1 to 40.
#expansion_module.x.key.y.type = 37 (Switch by default)
#expansion_module.x.key.y.line = 0
#expansion_module.x.key.y.value =
#expansion_module.x.key.y.pickup_value =
#expansion_module.x.key.y.label =
#expansion_module.X.key.Y.xml_phonebook =
{foreach $keys as $row}
{if $row.device_key_category == "expansion"}
#Expansion module 1 key {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type}
expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value}
expansion_module.1.key.{$row.device_key_id}.pickup_value =
expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label}
expansion_module.1.key.{$row.device_key_id}.xml_phonebook =
{/if}
{/foreach}
##########################################################################################
## Expansion Module 2 ##
##########################################################################################
#Expansion module 2 key 1
#expansion_module.2.key.1.type = {$key_type_1}
#expansion_module.2.key.1.line = {$key_id_1}
#expansion_module.2.key.1.value = {$key_value_1}
#expansion_module.2.key.1.pickup_value =
#expansion_module.2.key.1.label = {$key_label_1}
#expansion_module.2.key.1.xml_phonebook =
#expansion_module.2.key.1.type = 37
#expansion_module.2.key.1.label = {$key_label_1}