The additional <CiscoIPPhoneDirectory> objects have to come on subsequent HTTP requests. Take a look at http://www.jaredsmith.net/misc/cisco7960/Directory-0.1.tgz which helped me a lot with this, although I'm using LDAP information and not database records. It gives you a pretty good base to start from. (I found it on the WIKI, btw... http://www.voip-info.org/wiki-Asterisk+Cisco+79XX+XML+Services , under "Working Examples")
Brent -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marshall, Ed Sent: Monday, April 18, 2005 7:02 AM To: '[email protected]' Subject: [Asterisk-Users] Cisco External Directory 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 _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
