The Cisco CiscoIPPhoneDirectory service only supports 32 entries. Below is a simple example of implementing a "Next" softkey to access a second list without requiring a "Refresh" header. The second list of numbers would be served by http://yourwebserver/SecondCiscoIPPhoneDirectoryPage.xml in this example.
*** XML sample starts here ***
<CiscoIPPhoneDirectory>
<Title>Special Directory</Title>
<Prompt>Special Directory</Prompt>
<DirectoryEntry>
<Name>A Sample Phone Number</Name>
<Telephone>918005551212</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Another Sample Phone Number</Name>
<Telephone>918885551212</Telephone>
</DirectoryEntry>
<SoftKeyItem>
<Name>Dial</Name>
<URL>SoftKey:Dial</URL>
<Position>1</Position>
</SoftKeyItem>
<SoftKeyItem>
<Name>EditDial</Name>
<URL>SoftKey:EditDial</URL>
<Position>2</Position>
</SoftKeyItem>
<SoftKeyItem>
<Name>Next Page</Name>
<URL>http://yourwebserver/SecondCiscoIPPhoneDirectoryPage.xml</URL>
<Position>3</Position>
</SoftKeyItem>
<SoftKeyItem>
<Name>Exit</Name>
<URL>SoftKey:Exit</URL>
<Position>4</Position>
</SoftKeyItem>
</CiscoIPPhoneDirectory>
*** XML sample ends here ***
Thank you!!! This is just what I needed! Using a Cisco SPA525G
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteBrilliant!!
ReplyDeleteIf you are implementing multiple directory pages, you may find an Exit key handy as well.
DeleteSee http://webmaxtor.blogspot.com/2009/04/cisco-ipphonedirectory-exit-softkey.html