- Joined
- Nov 9, 2011
- Messages
- 8
- Reaction score
- 0
I'm relatively new to 3CX and have been trying to update our provisioning template for the Cisco phones we have (a mix of SPA504G and SPA509G). We are only using one extension on the phones and, currently, we are using the web-based configuration utility to set Line Keys 2-4 to monitor specific extensions, but showing the person's name rather than the extension number. In the template, I have been able to update the blf section toward the bottom to mimic this (see below), however, I can't figure out if it's possible to pull the First Name field from 'blf2' and above. In the example below, I would like to be able to replace the stock "BLF-%%blf5%%" with something like "%%blf5_user_first_name%%." Is this possible?
Also, is there any documentation that lists what all of the "%%...%%" codes available for use in the templates?
Thanks,
Harry
Also, is there any documentation that lists what all of the "%%...%%" codes available for use in the templates?
Code:
{IF blf5}
<Extension_6_ group="Phone/Line_Key_6">Disabled</Extension_6_>
<Share_Call_Appearance_6_ group="Phone/Line_Key_6">private</Share_Call_Appearance_6_>
<Extended_Function_6_ group="Phone/Line_Key_6">fnc=sd+blf+cp;sub=%%blf5%%@%%pbx_ip%%:%%param::sipport%%;nme=%%blf5%%</Extended_Function_6_>
<Short_Name_6_ group="Phone/Line_Key_6">BLF-%%blf5%%</Short_Name_6_>
{ELSE}
....
{ENDIF}
Thanks,
Harry