Callmanager 7.1 Customized Corporate Directory

Unanswered Question
May 13th, 2010
User Badges:


I have upgraded my callmanager form version 4.1 to 7.1. Everything works fine, but i had on callmanager 4.1 customized .ASP for the corporate director, so i could make the query using first name, last name or Department. After the upgrade, i noticed that it is no longer possible to edit the corporate directory file.
I'm not using an external ldap server, and i do not intend to. I need to query the EndUser on the callmanager database.
Does anyone knows an solution for this?


Miguel Amaral

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (4 ratings)
William Bell Thu, 05/13/2010 - 05:28
User Badges:
  • Purple, 4500 points or more

You will need to host your application on a separate web server.  There is no way to modify the default corporate directory application on the CUCM appliance.  I had to recently do this exact thing for a customer.  What I did was take the the multi-directory application from the IP Phone SDK ( and tweak it heavily to incorporate an AXL/SOAP query function.  I stuck with .ASP because it was easy and about 50-60% of the code I needed was already in the SDK example (and the example is in ASP).  I replaced the LDAP functions with a AXL/SOAP function.  The IIS server hosting the ASP makes the query to CUCM and presents the results.  I haven't had an issue with that process yet.  However, I just finished this app and the customer has not started testing.

You will need to be aware of a noticeable change in how 7.1 handles corporate directory versus all previous versions.  I touch on this in my blog here:

It will matter to you when you want to host your own corp directory application.  You will also need to remember that if your users are using other directories, your script will need to present them all to the phone.  You will see what I mean when you point a phone to your custom directory.  Test first, of course.

As far as doing the AXL/SOAP query.  If you don't know where to start then you need to read up on the AXL/SOAP interface and developers API.  This is located at  If you have a valid CCO account then you should be able to access this portal.  Here's the cliff notes:

1. The table you are interested in is enduser

2. The fields you are interested in are:  firstname, lastname, telephonenumber, department

3. If you want to play with looking at SOAP/XML messages that you need to deal with when playing in the sandbox with AXL, check out the AXL SQL Query toolkit.  I did a little series on it here:

Actually, there is source code provided by Cisco with the toolkit the blog series focuses on.  It is in Java, so not directly portable to ASP.  Even if you are using MS javascript.

So, bottom line is that you have to build an ASP for yourself and add in the AXL/SOAP query capabilities.  How difficult this is depends on how comfy you are with the whole prospect.



Please remember to rate helpful posts.

vinhnguyen Mon, 04/18/2011 - 14:53
User Badges:


Do you know if the corporate directory could be modified to display the result as First Name then Last Name rather than the other way round?


William Bell Mon, 04/18/2011 - 23:00
User Badges:
  • Purple, 4500 points or more

I do not believe this is possible using the default Corporate Directory application. However, you can display names in any order if you are building a custom application.




Hi Bill,

I would be very interested to hear if your customised directory was successful?

We are looking to use the multidirectory.asp sample app to query the corporate directory on three clusters (CallManager 7.1.5) but not sure how to complete the following fields in the asp file:

"Edwardsville Directory", "eville-cm", "ou=users,", "8404", "cn=Directory Manager,", "cisco", ""

As the Directory Manager user no longer exists in CUCM 7, is there an equivalent user I can use for the LDapUserId?



William Bell Fri, 02/03/2012 - 16:06
User Badges:
  • Purple, 4500 points or more


Yes, I have developed and deployed a solution whereby  the ASP app could query CUCM directly via AXL/SOAP. I have done this  more than once and it has been working well for my customers.

You  can create an app user in CUCM but the mechanism wouldn't be the same  as previous CallManager versions. You can't poll the X.500 directory.  You use AXL/SOAP to query the enduser table in the db.

For  LDAP (or mixing CUCM + LDAP, all possible) you just need a user that  can bind (read-only) to your corporate LDAP. Different mechanism  altogether.




Ayodeji Okanlawon Thu, 09/13/2012 - 05:52
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony


Long time....

I am in a position where I need to consolidate my CUCM directories. As the origial post stated, I am struglling to find a way to use the multiple directory asp to query cucm directory since there is no directory manager in versions 8.x.

Could you help with this? Can I take a peep into your asp scrip that uses AXL/SOAP to query cucm?

I am not a developer, so my skills are fairly  limited here....

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

mamaral Mon, 06/12/2017 - 07:43
User Badges:

Hi Bill!

I know it is asking too much, but could you give me an working asp to make query's for directory numbers?

Best regards,


shaligowski Mon, 01/17/2011 - 09:03
User Badges:

Hey Mamaral,

Did you get this working? If you have a sample code that would be most helpful.




This Discussion

Related Content