cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7204
Views
21
Helpful
59
Replies

CUCM 6.1 - Adding an additonal directory?

phretbored
Level 1
Level 1

We would like to add and additional directory to our Cisco phones.

I have downloaded the SDK and we are looking at the details but some things are still a little unclear.

From what I understand an additional directory will have to sit on an external server and we can use AD as the data source.

How do I make the additional directory, the query fields, and the returned data display on the Cisco phones?

Would this be done via XML scripts that sit on the external server?

In CUCM Administration-->System-->Enterprise Parameters-->Phone URL Parameters-->URL Directories I can see that CUCM points to "http://ip address:8080/ccmcip/xmldirectory.jsp"

If I change the URL Directories field then it looks like CUCM can be pointed to my external server ...but then I am guessing that CUCM will not be able to see the built in Corp Directory, etc, anymore?

So there would have to be scripting to make the Corp Directory, etc, work as well?

Also will changing the URL Directories field cause anything to happenn with the Missed Call, Recieved Calls, and Placed Calls directories?

I also see how DirSync can be enabled on CUCM so it will get AD data, store it locally, and query against it.

If DirSync is enabled and I point the URL Directories field to my external server does CUCM stop querying the AD data locally?

59 Replies 59

ok, does the virtual directory have permissions to execute scripts?

Execute Permissions are set to: Scripts Only

can you enable Browse for testing and then with a webbrowser just go to http://10.96.0.53/CiscoIPServices and see what happens, then try to follow subdirectories

I'm sorry but were do you "enable Browse for Testing"?

Right now, just hitting that wbe site comes back with HTTP error 403 ("Website Declined to show this webpage"

I assume you use IIS 5, right click the VD and enable Browse

All I see when Right-Clicking the VD is "Browse". Clicked that and got the HTTP Error 403

sorry, meant properties, then enable Directory Browsing, same screen where you verified the execute permissions...

Got it. I can drill all the way down to the .asp files, then HTTP Error 404

on the VD - properties, "remove" the application, then "create" it again and make sure execute permissions is set to scripts only.

then restart iis (commandline: iisreset /timeout:0 )

Done, same result, HTTP Error 404. The .xml files work perfectly, but the .asp pages don't. I see in the .asp file the following reference: var fileName = "c:\\ciscowebs\\ipphoneservices\\ccmcip\\locales\\" + locale + "\\ccmcipdictionary.asp";

which I know does not exist on CUCM Version 6.1 and 7.0, could this be part of the problem?

could well be, try to get those files from a cucm4 install and copy them to that path on your webserver

No joy. I can't "browse" through IIS and open that dictionary.asp file either. I could when it was on the CallManager 4.1 server...

WOW, 1 day of chasing the IIS 6.0 permissions that PROHIBIT Active Server Pages by default...

Anyway, I now can browse to the directory1.asp page (but ONLY after I copied a "ccmipdictionary.asp" page from CCM 4.1 to the LocalizedDirectory folder for IIS.)

The Phones are now getting further, to the point that when I hit the "submit" button on the phone, I see the External Web Server hit my AD box for info on port 389, but the Phone shows: "XML Error[4] Parse Error"

Hi , Can you please provide "ccmipdictionary.asp" locale which is copied from CCM 4.1 I am also looking for this, but i dont have CCM 4.1.

bah.. forum messed up display and didn't show that there was already a solution.

Anyway, now comes the part where you launch the page in the browser and simulate phone input through the browser. Since I'm not using that custom dir I'll refer to the default enterprise directory on CCM6 (http://10.145.206.141:8080/ccmcip/xmldirectoryinput.jsp). If you launch that on the phone you can enter the first name, last name and number.

first name is

First Name

f

A

And we have http://10.145.206.141:8080/ccmcip/xmldirectorylist.jsp

So, to search for first name = ste you'd now call

http://10.145.206.141:8080/ccmcip/xmldirectorylist.jsp?f=ste

(or for last name = ste it would be

http://10.145.206.141:8080/ccmcip/xmldirectorylist.jsp?l=ste

or first and last name

http://10.145.206.141:8080/ccmcip/xmldirectorylist.jsp?l=ste&f=ste

You can see, the query string parameter is named as defined in the QueryStringParam tag for the appropriate InputItem (each Input Item represents one line where you can type something on screen), and to the right of the equal sign you put the value.

So that way you can navigate any app using your browser. If you're using Internet Exploder, you may have to look at the page source since it craps out when using non 7bit ASCII characters (äöü and the likes).

Now basically what is interesting here is the response you get to your query.. is it valid XML (you can save the resulting source code as xml file and then open it.. if it's renderer properly in your browser that's promising) and if so, does it correspond to the schema (e.g. max length of title, prompt and menu item = 32 chars)

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: