09-05-2008 02:16 PM - edited 03-13-2019 05:37 PM
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?
01-05-2009 12:31 PM
ok, does the virtual directory have permissions to execute scripts?
01-05-2009 12:56 PM
Execute Permissions are set to: Scripts Only
01-05-2009 01:02 PM
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
01-05-2009 01:08 PM
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"
01-05-2009 01:10 PM
I assume you use IIS 5, right click the VD and enable Browse
01-05-2009 01:17 PM
All I see when Right-Clicking the VD is "Browse". Clicked that and got the HTTP Error 403
01-05-2009 01:19 PM
sorry, meant properties, then enable Directory Browsing, same screen where you verified the execute permissions...
01-05-2009 01:24 PM
Got it. I can drill all the way down to the .asp files, then HTTP Error 404
01-05-2009 01:34 PM
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 )
01-05-2009 01:46 PM
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?
01-05-2009 03:05 PM
could well be, try to get those files from a cucm4 install and copy them to that path on your webserver
01-05-2009 04:07 PM
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...
01-06-2009 06:53 AM
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"
10-15-2012 02:11 AM
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.
01-07-2009 08:35 AM
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
And we have
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)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide