08-29-2013 03:12 PM - edited 03-21-2019 07:43 AM
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 ?
09-05-2013 09:31 AM
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.
09-06-2013 09:19 AM
sw release 7.5.5.
Where to find your email?
How to create a log file?
09-06-2013 09:25 AM
09-06-2013 09:47 AM
sent by email
09-19-2013 11:54 AM
The problem is solved! The error was in the post request. At the end of the query parameter was
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 =
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide