The Cisco 7965 has a Directory button, which can retrieve an XML document from a website and format that as a phone directory. Setting it up is pretty simple.
In the SEPxxxx.cnf.xml for your phone, find the directoryURL tag and set that;
<directoryURL>http://intranet.example.com/directory.xml</directoryURL>
Then, create that file on your web server. An example appears below;
<CiscoIPPhoneMenu> <Title>Home Directory</Title> <Prompt>Select a number</Prompt> <MenuItem> <Name>Extension-511</Name> <URL>Dial:511</URL> </MenuItem> <MenuItem> <Name>Pizza Shop</Name> <URL>Dial:55511123</URL> </MenuItem> </CiscoIPPhoneMenu>
The items appear in the order they are listed. I’m sure there’s more cleverness you can do with the directory, but that should get you started.