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
Local Phonebook autoprovision
Author Message
Aber Offline
Junior Member
**

Posts: 4
Joined: Dec 2017
Reputation: 0
Post: #1
Local Phonebook autoprovision
Hello,

I am having trouble getting the phone to accept local phonebook xml file. Is there any way to provision with .cfg? or is it possible that because my provisioin file is .cfg, but the Directory provision is xml which is why the phone will not accept it?

Phone- T41S

<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>
<root_contact>
<contact display_name="Test1" office_number="2510" mobile_number="2511" other_number="3610" line="1" ring="" group_id_name="All Contacts" default_photo="" auto_divert="" />
<contact display_name="Test2" office_number="3510" mobile_number="3511" other_number="3620" line="2" ring="" group_id_name="Blacklist" default_photo="" auto_divert="" />
<!--
default_photo="" Only T46G、T48G、T29G、T46S、T48S、T54S、T52S supports!
-->
</root_contact>
02-10-2019 01:01 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
complex1 Offline
3CX Adv. Cert. Engineer
*****

Posts: 659
Joined: Jan 2014
Reputation: 20
Post: #2
RE: Local Phonebook autoprovision
(02-10-2019 01:01 AM)Aber Wrote:  Hello,

I am having trouble getting the phone to accept local phonebook xml file. Is there any way to provision with .cfg? or is it possible that because my provisioin file is .cfg, but the Directory provision is xml which is why the phone will not accept it?

Phone- T41S

<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>
<root_contact>
<contact display_name="Test1" office_number="2510" mobile_number="2511" other_number="3610" line="1" ring="" group_id_name="All Contacts" default_photo="" auto_divert="" />
<contact display_name="Test2" office_number="3510" mobile_number="3511" other_number="3620" line="2" ring="" group_id_name="Blacklist" default_photo="" auto_divert="" />
<!--
default_photo="" Only T46G、T48G、T29G、T46S、T48S、T54S、T52S supports!
-->
</root_contact>

Hi,

I think the best way to create a local phonebook is:

1. Login the phone, go to Directory>Local Directory and add only 1 contact to the phonebook
2. Export phonebook as XML-file
3. Edit XML-file with Notepad(++) and add the other contacts exactly like the first contact you add
4. Save file
5. Import XML-file as local phonebook.

Do not add any comment lines like <!-- blah, blah -->

Best regards,
Frank.

I'm Dutch, not English. Sorry for my imperfect grammar.
02-10-2019 09:10 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Aber Offline
Junior Member
**

Posts: 4
Joined: Dec 2017
Reputation: 0
Post: #3
RE: Local Phonebook autoprovision
hello,

I did exactly that, but with no luck. I am also not seeing and directory provision requests from the phone. Is there something I need to enable to provision directory?
02-10-2019 11:57 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
complex1 Offline
3CX Adv. Cert. Engineer
*****

Posts: 659
Joined: Jan 2014
Reputation: 20
Post: #4
RE: Local Phonebook autoprovision
(02-10-2019 11:57 AM)Aber Wrote:  hello,

I did exactly that, but with no luck. I am also not seeing and directory provision requests from the phone. Is there something I need to enable to provision directory?

Hi,

It is intended that the XML file locally get imported into the phone, not by auto-provisioning.
Please go to Directory>Local Directory, select (Browse...) filename and click Import XML button.

Please let me know if this will work.

Best regards,
Frank.

I'm Dutch, not English. Sorry for my imperfect grammar.
02-10-2019 06:04 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Aber Offline
Junior Member
**

Posts: 4
Joined: Dec 2017
Reputation: 0
Post: #5
RE: Local Phonebook autoprovision
[/quote]

Hi,

It is intended that the XML file locally get imported into the phone, not by auto-provisioning.
Please go to Directory>Local Directory, select (Browse...) filename and click Import XML button.

Please let me know if this will work.
[/quote]

That I know works. is there any way to do this through auto provision? Or my only option is to use remote phonebook.

Thank you
02-10-2019 06:08 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
complex1 Offline
3CX Adv. Cert. Engineer
*****

Posts: 659
Joined: Jan 2014
Reputation: 20
Post: #6
RE: Local Phonebook autoprovision
(02-10-2019 06:08 PM)Aber Wrote:  
Quote:Hi,

It is intended that the XML file locally get imported into the phone, not by auto-provisioning.
Please go to Directory>Local Directory, select (Browse...) filename and click Import XML button.

Please let me know if this will work.

That I know works. is there any way to do this through auto provision? Or my only option is to use remote phonebook.

Thank you

Hi,

To Import Local Directory File please use this provisioning parameter:

local_contact.data.url = http://<provisioning_server>/contact.xml

Note: Please make sure “static.auto_provision.local_contact.backup.enable" is set to 0 (Disabled)

Hope this will help.

Best regards,
Frank.

I'm Dutch, not English. Sorry for my imperfect grammar.
02-10-2019 06:53 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Aber Offline
Junior Member
**

Posts: 4
Joined: Dec 2017
Reputation: 0
Post: #7
RE: Local Phonebook autoprovision
(02-10-2019 06:53 PM)complex1 Wrote:  
(02-10-2019 06:08 PM)Aber Wrote:  
Quote:Hi,

It is intended that the XML file locally get imported into the phone, not by auto-provisioning.
Please go to Directory>Local Directory, select (Browse...) filename and click Import XML button.

Please let me know if this will work.

That I know works. is there any way to do this through auto provision? Or my only option is to use remote phonebook.

Thank you

Hi,

To Import Local Directory File please use this provisioning parameter:

local_contact.data.url = http://<provisioning_server>/contact.xml

Note: Please make sure “static.auto_provision.local_contact.backup.enable" is set to 0 (Disabled)

Hope this will help.

Thank you!!
06-11-2019 01:55 AM
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 to erase a parameter using autoprovision file Santi 1 50 06-21-2019 10:25 AM
Last Post: complex1
  Ni file name in POST URLs [Was: How exactly are -local.cfg files POSTed to server ?] oliv 8 2,714 11-09-2018 01:58 PM
Last Post: jolouis
  REmote Phonebook configuration Ben23 1 1,104 05-15-2018 05:49 PM
Last Post: Ben23
  Autoprovision - config file encryption problem oea 7 10,397 04-11-2018 11:03 AM
Last Post: Rus
  How exactly are -local.cfg files POSTed to server ? oliv 1 1,149 03-20-2018 08:02 AM
Last Post: oliv
  Autoprovision Softkey XML Group Lansalot 0 1,097 02-15-2018 04:15 PM
Last Post: Lansalot
  Yealink T42S Dsskey autoprovision Mark21 2 2,053 10-13-2017 12:08 AM
Last Post: Mark21
  Autoprovision Multicast GIWM 2 2,580 05-02-2017 12:20 PM
Last Post: Klaus_Yealink
  Autoprovision to include OpenVPN Configuration MattToner 4 4,062 03-24-2017 04:18 PM
Last Post: syadnom
  configuration parameter for "Enable Local Log" = disabled avayax 4 3,524 03-21-2017 06:34 AM
Last Post: Lucia_Yealink

Forum Jump:


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

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