I am trying to get a ip phone service identical to the corporate directory, that I could host on a web server, but that I could control the query and response given to the phone user. In this case, I would like to have a response with the department field. I know how to make querys using the Axl soap, but I do not have the programming skills to make the entire app.
Here's our AXL PHP Primer:
Here's our AXL tutorial on how to do FACs and CMC.
If you want a specific example for listUser, I can whip one up, but the above tutorials should make it easy for you to do that on your own.
You could start with the IP Phone Services SDK (it is an old version but still work):
There you could find two samples of XML Phones directories (LocalizedDirectory and Multidirectory) that can be linked to any LDAP (AD or other). Take those script as an exemple then you can customized as needed).