Yealink Forums

Full Version: Public phonebook
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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?
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>
Thank you Craig for the reply,

But I have to say it does not really fully answer my questions.
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.
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/Y...g_70.0.zip

Thanks.
Peter
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
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 ?
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-boo...-released/

[Image: yealink-edit.png]

https://github.com/octivi/yealink-phoneb...master.zip
(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
(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
Pages: 1 2
Reference URL's