cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9009
Views
20
Helpful
9
Replies

Callmanager 7.1 Customized Corporate Directory

mamaral
Level 1
Level 1

Hi!

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?

Regard's

Miguel Amaral

9 Replies 9

William Bell
VIP Alumni
VIP Alumni

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 (http://developer.cisco.com/) 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:  http://www.netcraftsmen.net/component/content/article/70-unified-communications/714-how-to-disable-corporate-directory-in-cucm-7x.html

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 http://developer.cisco.com/.  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:

http://www.netcraftsmen.net/component/content/article/70-unified-communications/715-running-sql-queries-on-cucm-6x7x-using-axl-soap-toolkit-part-1.html

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.

HTH.

Regards,
Bill

Please remember to rate helpful posts.

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

Hi

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?

Thanks

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.

HTH.

Regards,

Bill

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

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, o=cisco.com", "8404", "cn=Directory Manager, o=cisco.com", "cisco", ""

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

Regards

Steve

Steve,

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.

HTH.

Regards,

Bill

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

William,

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

Please rate all useful posts

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,

Miguel

shaligowski
Level 1
Level 1

Hey Mamaral,

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

Thanks,

Scott

After looking at this for a while. We found it easier to get something that was prebuilt.

http://www.syn-apps.com/products/software/app-pendix/

App-Pendix from Syn-Apps is quick and very powerful directory system well worth it.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: