10-23-2006 09:31 PM - edited 03-13-2019 03:30 PM
in<<Cisco IP Phone Service Application Development Notes for CallManager 5.0.pdf>>
Definition
<CiscoIPPhoneError Number=?x?/>
The following list gives possible CiscoIPPhoneError codes:
? Error 1 = Error parsing CiscoIPPhoneExecute object
? Error 2 = Error framing CiscoIPPhoneResponse object
? Error 3 = Internal file error
? Error 4 = Authentication error
-----------------------------------
where is Error 0?what's wrong with my code?
------------------------------------
my C# code
XMLHTTP50 xmlhttp = new XMLHTTP50();
string userName = "myuser";
string password = "mypass";
string authstring = Convert.ToBase64String(Encoding.ASCII.GetBytes(userName + ":" + password));
xmlhttp.open("GET", "http://" + calledIP + "/CGI/Execute/", null, userName, password);
xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
xmlhttp.setRequestHeader("Connection", "close");
xmlhttp.setRequestHeader("Content-type", "text/xml");
//my web Application
string URL = "http://(myIP)/Cisco/index.aspx";
string pushxml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
"<CiscoIPPhoneExecute>\r\n" +
"<ExecuteItem URL=\"" + URL + "\"/>\r\n" +
"</CiscoIPPhoneExecute>\r\n";
pushxml = "XML=" + pushxml;
xmlhttp.send(pushxml);
//Response
string xml = xmlhttp.responseText;
return xml;
//The Response is <CiscoIPPhoneError Number="0"/>
CallManager5.0.2+Cisco 7941
Vs2005,C#
Thanks in advance if somebody can help me
10-26-2006 08:11 AM
Error 0 is "shouldn't happen", just as there are other codes you should never encounter, but will encounter every now and then. Try upgrading to the latest phone load, and if you're already there, reset your phone. Sometimes, booting the cluster also does the trick.
And if you're like "but that can't be".. welcome to the club.
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