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-08-2009 12:39 PM
Wee keep getting an XML Error[4] Parse Error
Any thoughts??
01-08-2009 01:05 PM
Can you open a browser to the xml page and to the .asp page(make sure that ?action=search is in the URL)? If not, Check IIS and make sure that Active Server Pages are not set to prohibited.
01-08-2009 01:28 PM
yes we can browse
01-08-2009 01:42 PM
Sounds like the phone is passing paramters that don't match what is in the asp page. Are you doing a search by name or extension, if so, try a blank search and see if it will pull back something...When you browse to the .asp page with ?action search, do you see the Input items for First Name, Last Name and Number?
01-08-2009 01:48 PM
Any search off the phone generates the xml error. Yes when we browsethe the.asp page we see the input items.
We are doing this as a service and not to replace the corp directory.just an FYI if that makes a a difference
01-08-2009 02:21 PM
can you post the output of the search from a web browser, also maybe include the page info like headers/meta
01-08-2009 03:45 PM
When i run an action search i get an http 500
I verired active server pages is installed and allowed in IIS.
hummm.
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A string literal was expected, but no opening quote character was found. Error processing resource 'http://192.168.9.85/Cis...
// ''
-------------------------^
01-08-2009 03:59 PM
Also to add, if I search somthing that has no results most to the time it displays.
"No mathching search entries"
I didnt do anythign to the script but add the ldap info. I check to see if i can browse ldap using an ldap broswer, and it works. I also caputred the packets and determined the ldap is responding. its failing in the after that i think
01-08-2009 06:44 PM
you could try to view the source of the page in your browser
(right-click -> view source in IE)
01-08-2009 07:29 PM
< font face=âArialâ size=2>
It didn't post for some reason.
When viewing source it says unavailable
01-09-2009 05:53 AM
I got this same message when my authentication failed with AD. Since my Web Server was not on the Domain I had to change the UserID to: (this is an example) access @domain.com
01-09-2009 09:25 AM
I tried it on the windows box on the domain and still get the same error i ran the action
when i search for a user that doesn't exist it returns the no results and gives not error. But when i search for a user that exists i get an http 500 or XML Phase error.
From firefox the url i entered was: http://10.1.2.58/CiscoIPServices/multidirectory/multidirectory.asp?action=list&id=1&f=sean
when i did a view source i get the following below. I have also attached the multidirectory script.
Thank for the help
Microsoft JScript runtime error '800a01b6'
Object doesn't support this property or method
/CiscoIPServices/multidirectory/dantheman.asp, line 182
09-25-2008 01:23 PM
Hi,
Great to hear!
would you mind rating the post, this way others can see the post was helpful!
regards
Sascha
10-22-2008 07:52 AM
Is there any way I can modify the xmldirectory.asp page like I can in CCM 4.X?
10-22-2008 01:20 PM
no, you need to override the directories url, and host your own page on one of your webservers, or a dedicated one
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: