New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


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: 687
Joined: Jan 2014
Reputation: 21
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.

Best regards,
Frank.

I'm Dutch, not English. Sorry for my imperfect grammar.
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: 687
Joined: Jan 2014
Reputation: 21
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.

Best regards,
Frank.

I'm Dutch, not English. Sorry for my imperfect grammar.
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
  How do I know which entry to use version 81 in provisioning. Zbych 4 3,162 01-12-2017 06:19 AM
Last Post: Lucia_Yealink
  Phones always reboot when applying new config via provisioning avayax 3 4,717 12-15-2016 01:55 PM
Last Post: jolouis
  Phone provisioning: Display message on screen KNERD 2 3,175 12-05-2016 03:54 PM
Last Post: KNERD
  Recommendation provisioning kychifre 2 2,700 06-30-2015 06:38 PM
Last Post: kychifre
  CP860 - Re-provisioning redirects page tsukraw 3 4,916 03-05-2015 10:33 AM
Last Post: James_Yealink
  Redirection and Provisioning Server sunstatetech 10 11,700 11-22-2014 11:34 AM
Last Post: Yealink_Peter

Forum Jump:


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

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