7921 & CiscoIPPhoneExecute

Unanswered Question
Nov 15th, 2007

Hi,

Has anyone been able to use CiscoIPPhoneExecute with 7921? I can't get it to work, although it works fine with other models of phone. The XML object reference lists the 7921 as supporting the CiscoIPPhoneExecute, so I don't understand what's wrong.

Any ideas?


PS: Usernames & passwords have been checked:


Sending to 7941 Username = TUser3 Password = [email protected]


POST /CGI/Execute HTTP/1.1 Authorization: Basic: VFVzZXIzOlBANTV3MHJk Cache-Control: no-cache Pragma: no-cache User-Agent: Java/1.5.0_06 Host: 10.48.20.104 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-type: application/x-www-form-urlencoded Content-Length: 311


XML=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3CCiscoIPPhoneExecute%3E%3CExecuteItem+URL%3D%22http%3A%2F%2F10.48.40.3%2FPhoneMessengerForEM%2Fservlet%2FPhoneMessenger%22+Priority%3D%220%22%2F%3E%3CExecuteItem+URL%3D%22Play%3AClockShop.raw%22+Priority%3D%220%22%2F%3E%3C%2FCiscoIPPhoneExecute%3EHTTP/1.1 200 OK Content-Type: text/xml; charset="utf-8" Date: Fri, 16 Nov 2007 03:09:12 GMT Cache-Control: no-cache Expires: Thu, 26 Oct 1995 00:00:00 GMT Content-Length: 274 Server: Allegro-Software-RomPager/4.34 <?xml version="1.0" encoding="iso-8859-1"?> <CiscoIPPhoneResponse> <ResponseItem URL="http://10.48.40.3/PhoneMessengerForEM/servlet/PhoneMessenger" Data="Success" Status="0" /> <ResponseItem URL="Play:ClockShop.raw" Data="Success" Status="0" /> </CiscoIPPhoneResponse>


Sending to 7921 Username = TUser5 Password = [email protected]


POST /CGI/Execute HTTP/1.1 Authorization: Basic: VFVzZXI1OlBANTV3MHJk Cache-Control: no-cache Pragma: no-cache User-Agent: Java/1.5.0_06 Host: 10.48.30.102 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-type: application/x-www-form-urlencoded Content-Length: 311


XML=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3CCiscoIPPhoneExecute%3E%3CExecuteItem+URL%3D%22http%3A%2F%2F10.48.40.3%2FPhoneMessengerForEM%2Fservlet%2FPhoneMessenger%22+Priority%3D%220%22%2F%3E%3CExecuteItem+URL%3D%22Play%3AClockShop.raw%22+Priority%3D%220%22%2F%3E%3C%2FCiscoIPPhoneExecute%3EHTTP/1.1 401 Unauthorized WWW-Authenticate: Basic realm="User" Content-Type: text/html Transfer-Encoding: chunked Server: Allegro-Software-RomPager/4.34 Connection: close 0c2 <html>

<head>

<title>Protected Object</title>

</head>

<body>

<h1>Protected Object</h1>

This object on the RomPager server is protected.<p>

Return to <A HREF="">last page</A><p>


</body>

</html>

0


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Mike-1985 Thu, 11/22/2007 - 03:21

Have you tried to send an other XML object, like CiscoIPPhoneText?

ckatene Mon, 11/26/2007 - 02:07

yes, other XML is fine. we have a case open with cisco who keeps saying it's an authentication problem, but all the other phones with exactly the same setup are fine.

stumped ...


Mike-1985 Mon, 11/26/2007 - 23:42

Regarding the error message you receive I would also think it could be an authentication problem...


But when you use the same credentials but an other XML object to send to the same phone and this one does work... then I realy don't know.


PS. just be be sure.... other xml object do work on the same 7921 phone? Using the same credentials?

ckatene Wed, 11/28/2007 - 05:54

of course, its only ciscoipphoneexecute that requires credentials - all the rest are responses to phone requests, so dont need a username and password.

actually, figured it out today. the problem is right there, in the traces provided (although all phones *except* the 7921 tolerate it). anyone want 5 vote points for working out what it is?

Mike-1985 Wed, 11/28/2007 - 06:03

"of course, its only ciscoipphoneexecute that requires credentials"...


That is not correct. EVERY PUSH to a Cisco IP Phone needs credentials. Doesn't matter if it's a CiscoIPPhoneExecute or any other XML object like CiscoIPPhoneText.


When the phone itself requested the XML (like when choosing a service from the service menu), then you don't need to send any credentials.


So what I ment was this:

Did you tried to push an other XML object like CiscoIPPhoneText to the same phone using the same credentials?

ckatene Wed, 11/28/2007 - 06:22

You know, I never knew you could push anything other than a ciscoipphoneexecute. thanks for that ...

chicheng Mon, 12/03/2007 - 04:38

We have encountered a similar problem over the new 7921 firmware 1.0.3 and 1.0.4, the XML service URL command http://x.x.x.x/CGI/Execute is no longer working. Is there a new command format?

markoller Thu, 01/10/2008 - 04:05

I would guess either the content type not being set to text/xml or the content length is wrong length even though the specs say that the 7921 supports the http 1.1 spec...

Actions

This Discussion