[cisco-voip] FW: "Host Not Found" Error when accessing Directory on CCM 4.1(3)
Ted Nugent
tednugent69 at yahoo.com
Sun Jul 2 22:33:55 EDT 2006
Yep it could be a whacked file however I had the same
problem a few months back and it turned out it was my
fault, I had copy/pasted a "space" into my url when I
changed my ent params to IP addresses. If you have not
modified your xml file I'd triple check your ent
params. Otherwise if this is a non-MCS box I'd check
for security errors in the event viewer.
http://X.X.X.X/CCMCIP/xmldirectory.asp
--- Joseph CTR Alan N
<JosephAN.CTR at mcbbutler.usmc.mil> wrote:
> Hello All,
>
>
>
> I have a fresh build of CCM 4.1(3) and
> I'm getting "Host Not
> Found" when I hit the Directories button on my IP
> phones. I know that this
> is typically due to the CCM name being in the "Phone
> URL Parameters" in
> "Enterprise Parameters" though I have already
> changed this from the hostname
> to IP address of my CallManager.
>
>
>
> Could it be a whack xmldirectory.asp file? Here's
> the contents of my
> xmldirectory.asp ... standard stuff ...
>
>
>
> Any ideas?
>
>
>
> Thanks in advance,
>
>
>
> Alan Joseph III
>
> CCNP, CCDP
>
> Network Engineer
>
> Okinawa, Japan
>
>
>
> > <%@ Language=JavaScript %>
> <%
>
> %>
> <!-- #include file="_top.asp" -->
> <%
>
> function getBaseURL()
> {
> var scriptName =
> Request.ServerVariables("SCRIPT_NAME") ;
> var endloc =
> String(scriptName).lastIndexOf("/") ;
> var baseURL = "http://" +
>
> String(Request.ServerVariables("SERVER_NAME")) + ":"
> +
>
> String(Request.ServerVariables("SERVER_PORT")) +
> 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("<CiscoIPPhoneMenu>\r\n<Prompt>Select
> a
> directory</Prompt>\r\n<MenuItem>\r\n<Name>Corporate
> Directory</Name>\r\n<URL>" + getBaseURL() +
>
"xmldirectoryinput.asp</URL>\r\n</MenuItem>\r\n</CiscoIPPhoneMenu>");
> %>
> <CiscoIPPhoneMenu>
> <Prompt><% = outputString(
> dictionary.xmldirectoryMsgPagePrompt,
> "dictionary.xmldirectoryMsgPagePrompt" ) %></Prompt>
> <MenuItem>
> <Name><% = outputString(
> dictionary.lblCorporateDirectory,
> "dictionary.lblCorporateDirectory" ) %></Name>
> <URL><% = getBaseURL()
> %>xmldirectoryinput.asp</URL>
> </MenuItem>
> </CiscoIPPhoneMenu>
> <%
> }
> catch (err)
> {
> Response.Clear();
> Response.Write(dictionary.msgGeneralError + " (
> "+ name + " )");
> Response.AppendToLog(name + ":" + err.number +
> ":" + err.description);
> }
>
> Response.Flush();
>
> %>
> > _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the cisco-voip
mailing list