FreePBX 17 - PhoneBook

Hello all. I’m new to this forum and newbie @FreePBX. I work with 3CX but want to change. I just install a new FreePBX system.

Extensions are OK and Incoming and Outgoing calls works fine.

It’s stil a good start :slight_smile: I’ve some Yealink phones and I wan to create a directory/contacts list with a synchronisation phone ↔ FrePBX. I create in Admin > Contacts manager > External some contacts. I want to see them in the phones.

I read that I need to create an XML File to put in /var/www/html/contacts and after that in the phone is accessible by http://MyFreePBXIP/contacts/yealink.xml or http://MyFreePBXIP:8089/applications/rest/contacts/yealink, can you juste help me for this part please ?

Thanks for your advices.

Have a nice day,

Hello jfinstrom. Thanks for your reply. I read this topic, but it’s not clear for me.

What I have to do so ? the speadking about freepbx.conf. Do you have any tutorial about this ? I don’t see anything in the web about this. I just want to know how can I connect a phone withe my “external contacts” directory. what is the link I have to use in my phone ?

Thanks for your help.

I’ve found the solution. For people with the same problem :

  1. create an XML file like this :
<DirectoryEntry>
    <Name>Tom</Name>
    <Telephone>66000</Telephone>
</DirectoryEntry>
<DirectoryEntry>
    <Name>Jensen</Name>
    <Telephone>29000</Telephone>
</DirectoryEntry>
<DirectoryEntry>
    <Name>Phil</Name>
    <Telephone>49880</Telephone>
</DirectoryEntry>

Put it at (for example) at /var/www/html/contacts/yealink.xml

  1. at your Yealink Phone, go to Directory > Remote PhoneBook > URL : http://FreePbxIPAdress/contacts/yealink.xml

  2. At your phone, the “directory” key won’t work. You have to go to DssKey > Programmable Key and use “XMLDir” type instead of “Directory” key. And it will work.

  3. But I still don’t know where the “External contact groups” create the XML file to use it (like that, it’s more eay for creating contact than use and XML file

Thanks all.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.