TB30s SIP Administrator Guide v1.3 Page 188 of 259
Mixed paging Remote Phonebook
In the implementation prior to this sw version, TB30 could accept 2 kinds of
syntax in the XML reply from the server:
1- Less than 32 results to the query with directory entries:
<ThomsonPhoneBook>
<DirectoryEntry>
<Name>Dupad André</Name>
<Telephone>0175008348</Telephone>
</DirectoryEntry>
...
<DirectoryEntry>
<Name>Dupont Antoine</Name>
<Telephone>0175008338</Telephone>
</DirectoryEntry>
</ThomsonPhoneBook>
2- Or more than 32 results to the query with menu items:
<ThomsonPhoneMenu>
<MenuItem>
<Name>Arrh to Foulard</Name>
<URL>http://www.server.com/get32results_1.php</URL>
</MenuItem>
...
<MenuItem>
<Name>Roger to Ziad </Name>
<URL>http://www.server.com/get32results_7.php</URL>
</MenuItem>
</ThomsonPhoneMenu>
If the phone could support a mix of these 2 syntaxes, the server could send
a list of phone numbers followed by a link to the next part of the reply.
This could make the research more intuitive for the user.
So we have included the following feature: The phone can support a mixed
syntax in the XML reply like:
<PhoneBook>
<MenuItem>
<Name>Previous-Page...</Name>
<URL>http://www.server.com/Paging.php?NAME=M&PAGE=0</URL>
</MenuItem>
<DirectoryEntry>
<Name>Maldonado, Juan</Name>
<Telephone>10022382</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Manilla, Antonio</Name>
<Telephone>10022383</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Marco, Tomás</Name>
<Telephone>10022384</Telephone>
</DirectoryEntry>
<MenuItem>
<Name>Next-Page...</Name>
<URL>http://www.server.com/Paging.php?NAME=M&PAGE=2</URL>
</MenuItem>
</PhoneBook>