cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Welcome to the Cisco Small Business Community

Have a question? Click on a topic board below to get started in the community.

1115
Views
0
Helpful
5
Replies
chermetcom
Beginner

Post request for spa 525g2

How to create a post request for a spa 525g2. For spa 504g such a request is valid:

http://192.168.2.113/CGI/Execute

POST /CGI/Execute HTTP/1.1

Host: 192.168.2.113

Accept: */*

Content-Type: text/xml; charset="UTF-8"

Content-Length: 92

XML=<CiscoIPPhoneExecute><ExecuteItem Priority="0" URL="Dial:22"/>

</CiscoIPPhoneExecute>

<Enter>

The log:

<?xml version="1.0" encoding="iso-8859-1"?>

<CiscoIPPhoneResponse> <ResponseItem Status="0" Data="" URL="Dial:22"/>

<ResponseItem Status="0" Data="" URL=""/> <ResponseItem Status="0" Data=""

URL=""/> </CiscoIPPhoneResponse> :::

The same goes for the spa 525g2 does not work:

http://192.168.2.114/CGI/Execute

POST /CGI/Execute HTTP/1.1

Host: 192.168.2.114

Accept: */*

Content-Type: text/xml; charset="UTF-8"

Content-Length: 92

XML=<CiscoIPPhoneExecute><ExecuteItem Priority="0" URL="Dial:22"/>

</CiscoIPPhoneExecute>

<Enter>

The error log:

<?xml version="1.0" encoding="iso-8859-1"?>

<CiscoIPPhoneError Number="1"/>Error parsing CiscoIPPhoneExecute object

<CiscoIPPhoneError>

Where the error ?


5 REPLIES 5
nseto
Frequent Contributor

Is this with the latest sw release?  If so, please email me the config file (can be the web html file, logged in as admin/advanced) and the log file.  I'll enter a bug report for this.  Thanks.

sw release 7.5.5.

Where to find your email?

How to create a log file?


nseto
Frequent Contributor

sent by email

The problem is solved! The error was in the post request. At the end of the query parameter was . For spa504,

spa303,spa508 it was not important, but for spa525 important. Once I removed this parameter from the request, the phone immediately began to dial.

Thanks for the help!

That's a valid request for spa525G2:

http://192.168.2.113/CGI/Execute

POST / CGI / Execute HTTP/1.1

Host: 192.168.2.113

Accept: * / *

Content-Type: text / xml; charset = "UTF-8"

Content-Length: 92

XML =

This widget could not be displayed.