Answering and dropping a call from code


Staff member
Licensed User
By simulating a press on the green Talk button or the red End button it is possible to answer a call or drop a call from code.

As you can see in the attached code a timer is used to wait for two seconds before pressing the Talk button.
It is important that this press will only happen after the phone software (cprog.exe) starts to handle the call.