cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1451
Views
0
Helpful
5
Replies

Post request for spa 525g2

chermetcom
Level 1
Level 1

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
Level 6
Level 6

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?


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 =

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: