Set autoanswer in cisco cp 8941 phone

Hello everyone,

I’m working with a Cisco CP-8941 phone and developing an ARI Python script. In this script, I added a CGI execute command for authentication and configured the following XML sections:

However, when I place a call to the extension, the Cisco phone doesn’t execute these commands.
Can anyone suggest how to make this work?

They are separate systems with that phone. The CGI authentication is required when developing menu driven applications for the phone. See the following link:

CGI Execute

“…CGI Execute

The phone can be commanded to execute an internal URI handler or fetch an external URL by sending aPOSTrequest to the phone’s web-server using the URLhttp://x.x.x.x/CGI/Executewith a parameter namedXML…”

The RTPR command you are using was replaced by the SIPCiscoPage command documented here:

RTP Streaming

In short, you can turn on and off autoanswer using the CGI/Execute commands and if you make a call to the phone with autoanswer turned on, the phone will answer the call and go off hook, but this is a 2 way call that has nothing to do with the RTPR command. The RTPr command merely puts the phone into “listen” mode listening for an RTP stream - see the following discussion:

RTPRx doesnot work as said - Cisco Community

Links in this post:

Solved: Cisco IP Phone CGI/Execute - Cisco Community

point to where all the programmers back end documentation is located on Cisco’s website.

Another useful link is here:

Building Cisco IP Phone Services (Part 3) : Coding with Python & XML – Learn UC Collaboration

parts 1 and 2 are of use as well

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.