With the help of machine_detection parameter in the outbound call API, you can get to know whether a call was answered by a machine or human,


To change the call flow when a machine is detected:


When “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 set to true and 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:


When “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.