Yealink Forums
Add the Remote Phone Book via a .cnf file - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: T4x Series (/forumdisplay.php?fid=31)
+--- Thread: Add the Remote Phone Book via a .cnf file (/showthread.php?tid=45632)



Add the Remote Phone Book via a .cnf file - sfrazier - 01-31-2022 05:14 AM

Does anyone know what the entry would be for a .cnf file for a T46G Yealink phone to add the "Remote Phone Book" onto the "Directory Button" on the phone via provisioning?

TIA


RE: Add the Remote Phone Book via a .cnf file - Shortie - 02-02-2022 03:19 AM

(01-31-2022 05:14 AM)sfrazier Wrote:  Does anyone know what the entry would be for a .cnf file for a T46G Yealink phone to add the "Remote Phone Book" onto the "Directory Button" on the phone via provisioning?

TIA

Here are my settings for the T46S and autoprovisioning via TFTP server:

y000000000066.cfg

The following lines are the configuration like under the
Tab Directory - Submenu: Remote Phone Book

Code:
# activate lookup on incoming call
features.remote_phonebook.enable = 1
features.remote_phonebook.flash_time = 10800
# URL and name of phonebook
remote_phonebook.data.1.url = tftp://192.168.1.10/rem_phonebook.xml
remote_phonebook.data.1.name = My customers

The following lines are the configuration like under the
Tab Directory - Submenu: Settings

Code:
# Directory
directory_setting.url = tftp://192.168.1.10/favorite_setting.xml
# Search Source List In Dialing
super_search.url = tftp://192.168.1.10/super_search.xml


favorite_setting.xml - Order: 1. Remote, 2. Local phonebook

Code:
<?xml version="1.0"?>
<root_favorite_set>
    <item id_name="remotedirectory" display_name="Remote Phone Book" priority="1" enable="1" dev="common"/>
    <item id_name="localdirectory" display_name="Local Directory" priority="2" enable="1" dev="common"/>
    <item id_name="history" display_name="History" priority="3" enable="0" dev="common"/>
    <item id_name="blacklist" display_name="Blacklist" priority="4" enable="0" dev="common"/>
</root_favorite_set>


super_search.xml - Order: 1. Remote, 2. Local phonebook

Code:
<?xml version="1.0"?>
<root_super_search>
        <item id_name="remote_directory_search" display_name="Remote Phonebook" priority="1" enable="1" />
        <item id_name="local_directory_search" display_name="Local Directory" priority="2" enable="1" />
        <item id_name="calllog_search" display_name="History" priority="3" enable="1" />
</root_super_search>

Hope this helps :-)

Edit: Added comments


RE: Add the Remote Phone Book via a .cnf file - Shortie - 02-03-2022 10:13 PM

if you want to pass over the selection between Local and Remote Phonebooks you can add in addition to the lines above the following lines:

y000000000066.cfg: (tested with T46S)
Code:
programablekey.2.label = Phonebook
programablekey.2.line = 1
programablekey.2.type = 22



RE: Add the Remote Phone Book via a .cnf file - sfrazier - 02-03-2022 11:34 PM

Thanks for your response Shortie. I gave this a try and I am sure I am not understanding what to do. It did indeed copy my RemotePhonebook.xml as a local phone book to the phone but I only wanted (I wish I could do a screen shot here but I don't think we can in this thread) On the phone itself under the tab "Directory" all I wanted to do is move "Remote Phone Book" from disabled to enabled not actually copy in a file to the local phone book. The way I was doing it was updating a single file "RemotePhonebook.xml" and then the phone would update from time to time and have a current copy of the phone book that would be updated periodically. Does that make sense or have I confused the issue?


RE: Add the Remote Phone Book via a .cnf file - sfrazier - 02-04-2022 12:37 AM

Maybe I can be a little more clear. On the phone itself via the web interface, under the Directory tab of the phone I have set up the Remote Phone book using tftp and it has no problem with that entry. The issue I am having is figuring out what entry do I need to do in the y000000xx.cfg file to simply add the enable the "Remote Phone Book" under the directory, perhaps that is easier to understand what I am asking.


RE: Add the Remote Phone Book via a .cnf file - Shortie - 02-04-2022 12:46 AM

(02-04-2022 12:37 AM)sfrazier Wrote:  Maybe I can be a little more clear. On the phone itself via the web interface, under the Directory tab of the phone I have set up the Remote Phone book using tftp and it has no problem with that entry. The issue I am having is figuring out what entry do I need to do in the y000000xx.cfg file to simply add the enable the "Remote Phone Book" under the directory, perhaps that is easier to understand what I am asking.

Create the files I posted above and copy the lines from my y000000000066.cfg example in your y000000000028.cfg file. You will need the favorite_settings.xml and super_search.xml. These files are required to enable the phonebook on the directory button if you want to configure your phone with a provisioning server configuration.


RE: Add the Remote Phone Book via a .cnf file - sfrazier - 02-04-2022 04:02 AM

Perfect, works as expected, thank you very much, I really appreciate the help, sorry for being dense there for awhile. I got it and it works great!