Yealink Forums
Index is off when configuring Line Keys as BLF via provisioning - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Phone specific topic (/forumdisplay.php?fid=12)
+---- Forum: T3xP Series (/forumdisplay.php?fid=22)
+---- Thread: Index is off when configuring Line Keys as BLF via provisioning (/showthread.php?tid=267)



Index is off when configuring Line Keys as BLF via provisioning - PaulC - 03-02-2013 09:09 AM

It seems like the "line" parameter is indexed from 0 not 1 when configuring Line Keys for BLF, via provisioning.

For example:
Code:
# Configure Line Key 3
linekey.3.line = 1
linekey.3.value = 3294
linekey.3.pickup_value = *78
linekey.3.type = 16
linekey.3.xml_phonebook =
linekey.3.label = Fred

Because I set linekey.3.line = 1 I'm expecting it to use Account 1 to do any DSS or pick up. But when you review the configuration in the web config, it's set to Account 2.

So I guess for DSS/Memory keys we're numbering accounts 1 through 6, but in Line Keys we're numbering them 0 through 5?

Can you confirm if I'm correct, and whether we can rely on this functionality as-is, or if it's a bug that will be fixed/changed in the future? I'm ok with it being zero-indexed, I just need to know for a provisioning tool I'm creating.

Thanks
Paul


RE: Index is off when configuring Line Keys as BLF via provisioning - Yealink Support - 04-01-2013 04:26 PM

Hi Paul,
You can see these sentense in our comment.cfg template:

#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.

So you are correct "It seems like the "line" parameter is indexed from 0 not 1 when configuring Line Keys for BLF, via provisioning." Smile