Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

<CiscoIPPhoneError Number="0"/>?

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

1 REPLY

Re: <CiscoIPPhoneError Number="0"/>?

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.

786
Views
0
Helpful
1
Replies
CreatePlease login to create content