machine_detection
parameter when you make an outbound call using the Call API. Plivo runs machine detection in the background. When it finds a machine, Plivo makes an HTTP request, sending a Machine
parameter with the value true
to the machine_detection_url
you specify. Your application can then make a decision based on this parameter. Chances are you’ll use the Transfer API to change the flow of the call. See the Asynchronous machine detection page of our API reference documentation for details on the parameters sent.
<auth_id>
and <auth_token>
with your account’s Auth ID and Auth Token, which you can find on the overview page of the Plivo console.from
(source) phone number, which will show up as your caller ID. All phone numbers should include country code, area code, and phone number without spaces or dashes (e.g., 14153336666).to
(destination) phone number. To place bulk calls to more than one number, separate the destination phone numbers with the <
character (e.g., 14156667777<14157778888<14158889999).answer_url
field and supply a URL for Plivo to request when the call is answered. This URL supplies XML code that Plivo what to do with the call.answer_method
field a value of either GET
or POST
.machine_detection_url
field and supply a URL for Plivo to request if an answering machine or voicemail is detected on the call.machine_detection_method
field a value of either GET
or POST
.