How do I change the call flow once a call is answered by a machine?

The machine_detection parameter in the outbound call API can tell you when a call is answered by a machine or human.

To change the call flow when a machine is detected

Make sure the “Machine_detection” parameter is set to “true”. If a machine is detected during the call. and machine_detection is set to true, the machine parameter will be sent to the answer_url, hangup_url, or any other URL that is invoked by the call.

To hang up the call when a machine is detected

Set the “Machine_detection” parameter is set as “hangup”. If a machine is detected during the call and machine_detection is set to hang up, the call hangs up immediately and a request is made to the hangup_url with the machine parameter set to true.

Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket