08-25-2004 06:36 PM - edited 03-13-2019 06:07 AM
Hi,
Cluster A has CCMs3.3(3), using LDAP A of callmanager
Cluster B has CCMs 4.0(1), using LDAP B of callmanager
The customer requirement is on both clusters' IP Phones, can search other cluster's directory information. Could someone provide me some suggestion?
Regards,
Joe
09-01-2004 06:49 AM
I have done this in our environment. It is fairly easy. Just find the xmldirectory.asp file on your Call Manager and add a Menuitem to it. Here is what mine looks like. You won't need any type of authentication, just the URL. In this example I change the name "Corporate Directory" to "Balt Corporate Directory" and added "NY Corporate Directory"
%>
<%
function getBaseURL()
{
var scriptName = Request.ServerVariables("SCRIPT_NAME") ;
var endloc = String(scriptName).lastIndexOf("/") ;
var baseURL = "http://" +
String(Request.ServerVariables("SERVER_NAME")) +
String(scriptName).substr(0, endloc + 1) ;
return baseURL ;
}
try
{
var name = String(Request.QueryString("Name").Item);
Response.ContentType = "text/xml";
Response.Buffer = true;
//Response.Write("
%>
<%
}
catch (err)
{
Response.Clear();
Response.Write(dictionary.msgGeneralError + " ( "+ name + " )");
Response.AppendToLog(name + ":" + err.number + ":" + err.description);
}
Response.Flush();
%>
09-11-2004 12:56 PM
Or.... the multidirectory.asp script from the new SDK 334.
MultiDirectory uses the LDAPSearch COM server to query against multiple LDAP
directories and consolidate the response. The primary use of this app would be for LDAP
searches across multiple CallManager clusters or any installation where a single,
consolidated LDAP directory does not exist.
06-24-2008 06:50 AM
Where do you specifically download the multidirectory.asp script from? I have a CCO account and support contract. Once downloaded, how do you insert it into the CCM cisco webs IPphoneservices file structure. I guess it would replace the xmldirectory.asp file. Is that all you have to repalce is the xmldirectory.asp file with the multidirectory.asp file?
06-15-2006 10:18 AM
I just used this script last week and all of the 7940/60/70 phones can search the multiple directories fine. Only the model 7935 returns a server not found when trying to perform a name search under the directory service button. Did this happen to you? Any ideas?
06-16-2008 09:00 AM
Hi, I just placed these edits into my xmldirectory.asp file. I pressed the directories button on my phone and instead of seeing missed calls received calls and corp direct; it prompts for a user id and password. What did I do wrong?
07-03-2008 07:29 AM
Ok, I solved my own problem here. The script provided above in earlier email works perfectly. What happend was that the file attribute somehow got chnaged to read only which messed upo the file formatting. Once I discovered this and unchecked the read only attribute everything worked perfectly. Problem solved.
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