Yealink Forums
Public phonebook - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: General topics (/forumdisplay.php?fid=15)
+--- Thread: Public phonebook (/showthread.php?tid=2848)

Pages: 1 2


Public phonebook - RealWorldNerd - 11-25-2014 12:18 AM

Hello all you lovely people,

We as a company have started to use Yealink T38G phones along with an Asterisk phone system.

I was wondering if there was a way to set up a public phone book and then autoprovision it to all the phones?

I am aware that there is such a thing as a remote phone book. But is this the best way to go? If so what is the best way to set this up?

Also how would I apply this to all the phones (20+) without having to go into each phone or phone configuration file separately?


RE: Public phonebook - ModCraig - 11-25-2014 02:50 AM

Config File setup:
remote_phonebook.data.1.url = http://ip/yealink_phonebook.xml
remote_phonebook.data.1.name = Company Phonebook

xml file format:
Code:
<?xml version="1.0" encoding="utf-8"?>
<XXXIPPhoneDirectory clearlight="true">
  <Title>Phonelist</Title>
  <Prompt>Prompt</Prompt>
  <DirectoryEntry>
    <Name>Contact Name</Name>
    <Telephone>4150</Telephone>
  </DirectoryEntry>
</XXXIPPhoneDirectory>



RE: Public phonebook - RealWorldNerd - 11-26-2014 01:37 AM

Thank you Craig for the reply,

But I have to say it does not really fully answer my questions.


RE: Public phonebook - ModCraig - 11-26-2014 02:03 AM

The top part shows how to provision the phones - I am assuming you use a provision file of somesort. If you do not, then you have to touch each phone to set the file.
The second part is the phonebook file structure. This can be created using NotePad and saved as yealink_phonebook.xml or whatever you choose.
I use VB.NET to take our Active Directory users and add their office and mobile numbers to the phonebook and save it as yealink_phonebook.xml

Please tell me what additional information you might need so I can understand better how to help.


RE: Public phonebook - Yealink_Peter - 11-26-2014 04:57 PM

Thanks for craigreilly’s good reply.

Hello RealWorldNerd,

As there’re 20+phones need to be updated, recommend you to configure by auto-provision, so that you needn’t touch each phone one by one.
Create phonebook file structure first and named as xxx.xml.
After editing the phonebook file, you need to store the file to the directory of the provisioning server, and then specify the access URL of the phonebook file in the configuration file, as the format of craig’s part one shows.
Choose one way to let these 20+phone trigger auto-provision automatically and complete done.
For more information about auto-provision please refer to http://www.yealink.com/Upload/Features/Yealink%20T3XG%20Auto%20Provisioning_70.0.zip

Thanks.
Peter


RE: Public phonebook - RealWorldNerd - 11-26-2014 06:07 PM

Thank you Peter Smile

I am starting to get a better understanding now.

One question though, what configuration file does the URL address need to be added to? I do have a configuration file for each phone, so do I need to go into each of these files separately and add the URL or is there a global configuration file I can change?

By the way can I think you all for your very quick responses.

Andy


RE: Public phonebook - RealWorldNerd - 11-26-2014 11:37 PM

Hi all,

Just a quick update. I am getting a good handle on all this now. So xml setup and configuration files are all sorted.

The question I have now is can you assigned more than one number per contact? could I have an office number, home number and mobile number all set up on one contact ?


RE: Public phonebook - ModCraig - 11-27-2014 01:06 AM

as far as config files go, it should mention about a common template (Common.cfg) that applies to all devices based on the phone model and has Shared Parks, Phonebooks, common settings; and then device specific template (Mac-Oriented.cfg) that has BLF's and account info. Again, check out the link from Peter to help you with this.

phonebook: check this out:
http://labs.octivi.com/yealink-phone-book-manager-released/

[Image: yealink-edit.png]

https://github.com/octivi/yealink-phonebook/archive/master.zip


RE: Public phonebook - brettser - 06-12-2015 02:06 AM

(11-26-2014 02:03 AM)craigreilly Wrote:  The top part shows how to provision the phones - I am assuming you use a provision file of somesort. If you do not, then you have to touch each phone to set the file.
The second part is the phonebook file structure. This can be created using NotePad and saved as yealink_phonebook.xml or whatever you choose.
I use VB.NET to take our Active Directory users and add their office and mobile numbers to the phonebook and save it as yealink_phonebook.xml

Please tell me what additional information you might need so I can understand better how to help.

Hi

I am trying to save my contacts that are in SQL database using VB.net. I am having issues with the XML formatting.
Do you have any code for this that you are willing to share?

Tks

Gavin


RE: Public phonebook - brettser - 04-14-2016 02:21 AM

(06-12-2015 02:06 AM)brettser Wrote:  
(11-26-2014 02:03 AM)craigreilly Wrote:  The top part shows how to provision the phones - I am assuming you use a provision file of somesort. If you do not, then you have to touch each phone to set the file.
The second part is the phonebook file structure. This can be created using NotePad and saved as yealink_phonebook.xml or whatever you choose.
I use VB.NET to take our Active Directory users and add their office and mobile numbers to the phonebook and save it as yealink_phonebook.xml

Please tell me what additional information you might need so I can understand better how to help.

Hi

I am trying to save my contacts that are in SQL database using VB.net. I am having issues with the XML formatting.
Do you have any code for this that you are willing to share?

Tks

Gavin
Hi anyone able to help with this?
Thanks

Gavin