[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Provisioning
Author Message
Chadsuperb Offline
Junior Member
**

Posts: 8
Joined: Jun 2017
Reputation: 0
Post: #1
Provisioning
When you provision a phone does it delete out all the user settings? Is there a way to update a template without deleting user settings?

Nevermind. I figured it out. I have to comment out lines I don't want provisioned. So my next question is what does the following do in the template because it is obviously always going to the Else statement and clearing out the settings.
{IF blf3}
linekey.5.line = %%Line%%
linekey.5.value = %%blf3%%
linekey.5.pickup_value = %%PickupValue%%
linekey.5.type = %%DKtype%%
linekey.5.label = %%blffirstname3%% %%blflastname3%%
linekey.5.extension = %%PickupValue%%
{ELSE}
linekey.5.type = 0
{ENDIF}
(This post was last modified: 06-30-2017 08:50 PM by Chadsuperb.)
06-30-2017 08:24 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Phonism Offline
Junior Member
**

Posts: 10
Joined: Jun 2017
Reputation: 0
Post: #2
RE: Provisioning
(06-30-2017 08:24 PM)Chadsuperb Wrote:  When you provision a phone does it delete out all the user settings? Is there a way to update a template without deleting user settings?

Nevermind. I figured it out. I have to comment out lines I don't want provisioned. So my next question is what does the following do in the template because it is obviously always going to the Else statement and clearing out the settings.
{IF blf3}
linekey.5.line = %%Line%%
linekey.5.value = %%blf3%%
linekey.5.pickup_value = %%PickupValue%%
linekey.5.type = %%DKtype%%
linekey.5.label = %%blffirstname3%% %%blflastname3%%
linekey.5.extension = %%PickupValue%%
{ELSE}
linekey.5.type = 0
{ENDIF}

Interesting, I've never seen IF statements in a config file before.

It looks like IF THEN and ELSE statements are not valid. Take a look at this thread from 2014, someone else had the same issue with the template provided by 3CX. They resolved it by removing all IF THEN and ELSE statements.

http://forum.yealink.com/forum/showthrea...3&pid=#pid

Hope this helps.

- Daniel @ Phonism

Engineering Team @ Phonism
https://phonism.com/
07-05-2017 05:32 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
complex1 Offline
3CX Adv. Cert. Engineer
*****

Posts: 1,517
Joined: Jan 2014
Reputation: 44
Post: #3
RE: Provisioning
(07-05-2017 05:32 PM)Phonism Wrote:  
(06-30-2017 08:24 PM)Chadsuperb Wrote:  When you provision a phone does it delete out all the user settings? Is there a way to update a template without deleting user settings?

Nevermind. I figured it out. I have to comment out lines I don't want provisioned. So my next question is what does the following do in the template because it is obviously always going to the Else statement and clearing out the settings.
{IF blf3}
linekey.5.line = %%Line%%
linekey.5.value = %%blf3%%
linekey.5.pickup_value = %%PickupValue%%
linekey.5.type = %%DKtype%%
linekey.5.label = %%blffirstname3%% %%blflastname3%%
linekey.5.extension = %%PickupValue%%
{ELSE}
linekey.5.type = 0
{ENDIF}

Interesting, I've never seen IF statements in a config file before.

It looks like IF THEN and ELSE statements are not valid. Take a look at this thread from 2014, someone else had the same issue with the template provided by 3CX. They resolved it by removing all IF THEN and ELSE statements.

http://forum.yealink.com/forum/showthrea...3&pid=#pid

Hope this helps.

- Daniel @ Phonism

@Phonism,

I don’t know why you referring to a 3 years old thread, but the templates 3CX use today the command sequence IF, ELSE and ENDIF are still valid.
Please familiar yourself with these templates. Never too old to learn something. Wink
3CX templates... I use them daily.

Kind regards,
Frank.

I am not an employee of Yealink.
Dutch is my native language, not English. Apologies for my imperfect grammar.
Please do not send unsolicited PM messages. I will not answer them.
07-05-2017 08:55 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Chadsuperb Offline
Junior Member
**

Posts: 8
Joined: Jun 2017
Reputation: 0
Post: #4
RE: Provisioning
(07-05-2017 08:55 PM)complex1 Wrote:  
(07-05-2017 05:32 PM)Phonism Wrote:  
(06-30-2017 08:24 PM)Chadsuperb Wrote:  When you provision a phone does it delete out all the user settings? Is there a way to update a template without deleting user settings?

Nevermind. I figured it out. I have to comment out lines I don't want provisioned. So my next question is what does the following do in the template because it is obviously always going to the Else statement and clearing out the settings.
{IF blf3}
linekey.5.line = %%Line%%
linekey.5.value = %%blf3%%
linekey.5.pickup_value = %%PickupValue%%
linekey.5.type = %%DKtype%%
linekey.5.label = %%blffirstname3%% %%blflastname3%%
linekey.5.extension = %%PickupValue%%
{ELSE}
linekey.5.type = 0
{ENDIF}

Interesting, I've never seen IF statements in a config file before.

It looks like IF THEN and ELSE statements are not valid. Take a look at this thread from 2014, someone else had the same issue with the template provided by 3CX. They resolved it by removing all IF THEN and ELSE statements.

http://forum.yealink.com/forum/showthrea...3&pid=#pid

Hope this helps.

- Daniel @ Phonism

@Phonism,

I don’t know why you referring to a 3 years old thread, but the templates 3CX use today the command sequence IF, ELSE and ENDIF are still valid.
Please familiar yourself with these templates. Never too old to learn something. Wink
3CX templates... I use them daily.

Thanks for pointing out that it's an old thread and If statements are relevant. However, you did nothing to answer the question. What is if BLF? I thought it meant if a BLF was assigned use the programmed info if nothing then turn it off/NA. So what does blf check for and what does %% do?
07-06-2017 01:42 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
complex1 Offline
3CX Adv. Cert. Engineer
*****

Posts: 1,517
Joined: Jan 2014
Reputation: 44
Post: #5
RE: Provisioning
Please do not edit or modify the 3CX templates, except if you exactly know that you are doing. If not, leave them as default.

Here are some links to 3CX website where you can read about BLF key and how you can program them from 3CX PBX.
https://www.3cx.com/pbx/blf-function-keys/
https://www.3cx.com/docs/manual/extensio...mfwhvfhdo0

Keep in mind the 3CX templates are created and supported by 3CX and not by Yealink.
If you want to know how the template work, put your question at 3CX forums.

Hope this will help.

Kind regards,
Frank.

I am not an employee of Yealink.
Dutch is my native language, not English. Apologies for my imperfect grammar.
Please do not send unsolicited PM messages. I will not answer them.
07-06-2017 03:37 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Import xml contacts to Yealink Phone upon provisioning via TFTP vusald 1 2,469 02-18-2023 06:30 PM
Last Post: complex1
  Provisioning lines in positions on 2nd page of display bruceg 0 1,331 10-01-2022 04:24 PM
Last Post: bruceg
Video Provisioning Remote Phone Book sfrazier 3 8,552 05-26-2020 02:43 PM
Last Post: Lewis-H
  .cfg file needed for Zultys provisioning server jerryp 0 4,306 01-30-2020 09:26 PM
Last Post: jerryp
  Cannot post to Auto Provisioning DanH 1 4,907 10-12-2019 05:51 PM
Last Post: Babylonia
  Set PC port link to 1Gb from provisioning file avayax 1 6,315 09-10-2019 03:30 PM
Last Post: complex1
  How do I know which entry to use version 81 in provisioning. Serwis Kontel 4 10,870 01-12-2017 06:19 AM
Last Post: Lucia_Yealink
  Phones always reboot when applying new config via provisioning avayax 3 14,485 12-15-2016 01:55 PM
Last Post: jolouis
  Phone provisioning: Display message on screen KNERD 2 10,318 12-05-2016 03:54 PM
Last Post: KNERD
  Recommendation provisioning kychifre 2 7,776 06-30-2015 06:38 PM
Last Post: kychifre

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication