[cisco-voip] FW: "Authorization Required!" Error when accessi ng Directory on CCM 4.1(3)

Joseph CTR Alan N JosephAN.CTR at mcbbutler.usmc.mil
Mon Jul 3 21:03:53 EDT 2006


Discovered what the problem with the "Host Not Found" error ... I had
changed the Ent params, but hadn't reset the phone. It still had the
http://hostname/CCMCIP/xmldirectory.asp

Now, if I check the directories URL in "Network settings" on the phone
itself, I see 

http://10.10.10.1/CCMCIP/xmldirectory.asp (This is correct)

Though now I'm getting "Authorization Required" and it is asking for a
Username and Password when I hit the "Directories" button on the 7960.

Any ideas here?

Thanks again,

Joe



-----Original Message-----
From: Ted Nugent
To: Joseph CTR Alan N; cisco-voip at puck.nether.net
Sent: 7/3/06 11:33 AM
Subject: Re: [cisco-voip] FW: "Host Not Found" Error when accessing
Directory on CCM 4.1(3)

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