[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,243
Joined: Jan 2014
Reputation: 36
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,243
Joined: Jan 2014
Reputation: 36
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
Video Provisioning Remote Phone Book sfrazier 3 5,502 05-26-2020 02:43 PM
Last Post: Lewis-H
  .cfg file needed for Zultys provisioning server jerryp 0 2,666 01-30-2020 09:26 PM
Last Post: jerryp
  Cannot post to Auto Provisioning DanH 1 3,001 10-12-2019 05:51 PM
Last Post: Babylonia
  Set PC port link to 1Gb from provisioning file avayax 1 3,993 09-10-2019 03:30 PM
Last Post: complex1
  How do I know which entry to use version 81 in provisioning. Zbych 4 7,947 01-12-2017 06:19 AM
Last Post: Lucia_Yealink
  Phones always reboot when applying new config via provisioning avayax 3 10,958 12-15-2016 01:55 PM
Last Post: jolouis
  Phone provisioning: Display message on screen KNERD 2 7,931 12-05-2016 03:54 PM
Last Post: KNERD
  Recommendation provisioning kychifre 2 5,851 06-30-2015 06:38 PM
Last Post: kychifre
  CP860 - Re-provisioning redirects page tsukraw 3 9,358 03-05-2015 10:33 AM
Last Post: James_Yealink
  Redirection and Provisioning Server sunstatetech 10 23,407 11-22-2014 11:34 AM
Last Post: Yealink_Peter

Forum Jump:


User(s) browsing this thread:

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