[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prevent prefetching of remote phonebook
Author Message
dmark Offline
Junior Member
**

Posts: 7
Joined: Sep 2015
Reputation: 0
Post: #1
Prevent prefetching of remote phonebook
Hello!

I try to implement a remote phonebook with server-side search function.

The initial remote phonebook XML looks like this:

Code:
<?xml version="1.0" encoding="utf-8"?>
<YealinkIPPhoneDirectory>
<Title>Firma</Title>
<DirectoryEntry><Name>Albertine</Name><Telephone>(714) 208-2992</Telephone></DirectoryEntry>
<DirectoryEntry><Name>Barrett</Name><Telephone>(670) 217-0290</Telephone></DirectoryEntry>
<DirectoryEntry><Name>Christine</Name><Telephone>(680) 360-3348</Telephone></DirectoryEntry>
<DirectoryEntry><Name>Jeramy</Name><Telephone>(302) 102-6431</Telephone></DirectoryEntry>
<DirectoryEntry><Name>Kristen</Name><Telephone>(719) 481-2889</Telephone></DirectoryEntry>
<DirectoryEntry><Name>Mohamed</Name><Telephone>(942) 849-9823</Telephone></DirectoryEntry>
<DirectoryEntry><Name>Nana</Name><Telephone>(423) 475-8404</Telephone></DirectoryEntry>
<SoftKeyItem><Name>0</Name><URL>http://pbx/phonebook.php?t=company&k=0</URL></SoftKeyItem>
<SoftKeyItem><Name>1</Name><URL>http://pbx/phonebook.php?t=company&k=1</URL></SoftKeyItem>
<SoftKeyItem><Name>2</Name><URL>http://pbx/phonebook.php?t=company&k=2</URL></SoftKeyItem>
<SoftKeyItem><Name>3</Name><URL>http://pbx/phonebook.php?t=company&k=3</URL></SoftKeyItem>
<SoftKeyItem><Name>4</Name><URL>http://pbx/phonebook.php?t=company&k=4</URL></SoftKeyItem>
<SoftKeyItem><Name>5</Name><URL>http://pbx/phonebook.php?t=company&k=5</URL></SoftKeyItem>
<SoftKeyItem><Name>6</Name><URL>http://pbx/phonebook.php?t=company&k=6</URL></SoftKeyItem>
<SoftKeyItem><Name>7</Name><URL>http://pbx/phonebook.php?t=company&k=7</URL></SoftKeyItem>
<SoftKeyItem><Name>8</Name><URL>http://pbx/phonebook.php?t=company&k=8</URL></SoftKeyItem>
<SoftKeyItem><Name>9</Name><URL>http://pbx/phonebook.php?t=company&k=9</URL></SoftKeyItem>
<SoftKeyItem><Name>*</Name><URL>http://pbx/phonebook.php?t=company&k=A</URL></SoftKeyItem>
<SoftKeyItem><Name>#</Name><URL>http://pbx/phonebook.php?t=company&k=</URL></SoftKeyItem>
</YealinkIPPhoneDirectory>
If the "k" parameter is empty, the phonebook.php makes a search like "select * from phonebook order by name". If it is not empty, for example k=6 the select is "select * from phonebook where name like (mno)* order by name" ("6" means the letters on key 6).

In the example above, after pressing key 6 the phonebook.php would only deliver Mohamed and Nana. And additionally a new list of SoftKey Items:
Code:
<SoftKeyItem><Name>0</Name><URL>http://pbx/phonebook.php?t=company&k=60</URL></SoftKeyItem>
<SoftKeyItem><Name>1</Name><URL>http://pbx/phonebook.php?t=company&k=61</URL></SoftKeyItem>
[...]
so further key presses would refine the search.

This schema works fine on Snom phones for years. The problem with Yealink T42G-T48G (and probably others) is: They make a prefetch of all found URLs within the XML phonebook. Which make the search function pretty useless...

Is there a way to disable this prefetching completely. The http request should only be sent when the user presses a key.

I already enabled "features.remote_phonebook.enter_update_enable" but this does not disable prefetching.
01-13-2017 03:29 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Prevent prefetching of remote phonebook - dmark - 01-13-2017 03:29 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  W73H Remote Phone Directory smithgt 1 3,452 04-26-2023 01:37 AM
Last Post: complex1
  T29G Remote Phonebook no lookup for incoming call Chris708 1 8,822 07-16-2018 03:15 PM
Last Post: Chris708
Lightbulb T20P remote phone book feature? Wilfried 3 13,720 06-21-2017 09:28 AM
Last Post: Lucia_Yealink
  VP530 for remote use cody@advnetsol.com 4 11,978 07-22-2016 11:44 PM
Last Post: complex1
Question T28 / Tiptel IP 286 phonebook search VisionRoij 1 7,890 02-19-2016 05:38 PM
Last Post: Karl_Yealink
  Local Phonebook Error james@intouchcomms.co.uk 1 7,437 05-06-2015 12:38 AM
Last Post: James_Yealink
  T46G DSS Key Remote Phone Book Customization steve.ot 2 11,018 11-20-2014 10:40 PM
Last Post: steve.ot
  ldap search and 3CX Phonebook mismatch logiccenter 1 9,656 10-09-2014 03:23 PM
Last Post: Coco_Yealink
  Remote Phonebook Inbound Call Lookup moretalk-matthew 3 14,157 08-25-2014 04:07 PM
Last Post: Yealink Support
  T46G (Remote) Phonebook firmtel 11 51,665 08-19-2014 02:57 PM
Last Post: Yealink Support

Forum Jump:


User(s) browsing this thread:

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