cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1140
Views
1
Helpful
2
Replies

Error on (One Button login)

KandyOtero
Level 1
Level 1

Hi

I'm trying a autologin on UCCX by CiscoIPPhoneExecute

On the device I was associate a button and works fine

See details at:

http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-contact-center-express/60134-1-button-login-ip-phone-agnts.html

I send a xml to the device

<CiscoIPPhoneExecute><ExecuteItem Priority="0" URL="http://XXXXXXX:YYYY/ipphone/jsp/sciphonexml/IPAgentLogin.jsp"/></CiscoIPPhoneExecute>

The device response "Sucess", but on the device Screen show "Internal Error" and don't work.

Another CiscoIPPhoneExecute works fine, for example:

<CiscoIPPhoneExecute><ExecuteItem Priority="0" URL="http://XXXXXXXYYYY/ipphone/jsp/sciphonexml/IPAgentChangeState.jsp?State=4"/></CiscoIPPhoneExecute>

¿Any Ideas?

Best Regards Kandy

1 Accepted Solution

Accepted Solutions

KandyOtero
Level 1
Level 1

Hi

I Solved It.

I had two problems.

  1. I not sending the parameters (ID,Ext and Pwd) on the url.
  2. When I try to send de parameter I got another parsing error (number=1) because the & char must be encoded.

Works for me this xml, I tryed with Poster (Mozilla Firefox)

Request:

Url: http://(phoneIP)/CGI/Execute

Content-Type=xml/txt

Parameter

XML=<CiscoIPPhoneExecute><ExecuteItem Priority="0" URL="http://XXXX:YYYY/ipphone/jsp/sciphonexml/IPAgentLogin.jsp?Ext=12345%26amp%3BID=dummy%26amp%3BPwd=dummyPasword"/></CiscoIPPhoneExecute>

Response:

<?xml version="1.0" encoding="utf-8"?>

<CiscoIPPhoneResponse>

<ResponseItem URL="http://UCCXIP:UCCXPPORT/ipphone/jsp/sciphonexml/IPAgentLogin.jsp?Ext=12345&ID=dummy&Pwd=dummyPasword" Data="Success" Status="0" />

</CiscoIPPhoneResponse>

I Attached Screen Shots

Best Regards Kandy


Request Poster

2014-05-05 13_35_06-chrome___poster - Poster.png

Response Poster

2014-05-05 13_36_59-Response.png

View solution in original post

2 Replies 2

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Kandy,

Request you to refer this url  Push-&gt;Execute - what's wrong? for related information.

Also please refer

[cisco-voip] IP Phone Agent - Ed Leatherman - net.nether.puck.cisco-voip - MarkMail

Thanks and Regards,

Geevarghese

KandyOtero
Level 1
Level 1

Hi

I Solved It.

I had two problems.

  1. I not sending the parameters (ID,Ext and Pwd) on the url.
  2. When I try to send de parameter I got another parsing error (number=1) because the & char must be encoded.

Works for me this xml, I tryed with Poster (Mozilla Firefox)

Request:

Url: http://(phoneIP)/CGI/Execute

Content-Type=xml/txt

Parameter

XML=<CiscoIPPhoneExecute><ExecuteItem Priority="0" URL="http://XXXX:YYYY/ipphone/jsp/sciphonexml/IPAgentLogin.jsp?Ext=12345%26amp%3BID=dummy%26amp%3BPwd=dummyPasword"/></CiscoIPPhoneExecute>

Response:

<?xml version="1.0" encoding="utf-8"?>

<CiscoIPPhoneResponse>

<ResponseItem URL="http://UCCXIP:UCCXPPORT/ipphone/jsp/sciphonexml/IPAgentLogin.jsp?Ext=12345&ID=dummy&Pwd=dummyPasword" Data="Success" Status="0" />

</CiscoIPPhoneResponse>

I Attached Screen Shots

Best Regards Kandy


Request Poster

2014-05-05 13_35_06-chrome___poster - Poster.png

Response Poster

2014-05-05 13_36_59-Response.png