[Asterisk-Users] Cisco External Directory

Marshall, Ed ed.marshall at cetelem.co.uk
Mon Apr 18 05:01:35 MST 2005


Hi There

Having difficulty displaying more than 32 directory entries on my Cisco 7960
handset.  I have a Php script which returns all of the directory entries (
50 for this example tested by putting the URL into a Web browser eg.
http://mywebserver/directory.php ) found in the database, however when I
select the more and next soft keys on the phone it doesn't display the next
set of directory entries.  I have read on the Cisco website that " A single
CiscoIPPhoneDirectory object can contain a maximum of 32 DirectoryEntry
objects. If more than 32 entries must be returned, use multiple
CiscoIPPhoneDirectory objects in subsequent HTTP requests. " So to test this
I created a flat XML file (rather than using my Php script) with the
<CiscoIPPhoneDirectory> followed by my 32 entries and then
</CiscoIPPhoneDirectory>.  Then declared another <CiscoIPPhoneDirectory>
object followed by my next lot of entries finally closing it off with
</CiscoIPPhoneDirectory>.  This results again  with the phone displaying the
first 32 entries but not the last 18 (making my 50 entries).  
Any comments or suggestions would be greatly appreciated.  Also if anyone
knows how to insert a <CiscoIPPhoneDirectory> object after every 32 entries
using Php then please let me know.
Regards
Ed




More information about the asterisk-users mailing list