Voice calls
When your application is initiated to make a call, Plivo makes an HTTP request to theanswer_url, which is one of the mandatory parameters when making an outbound call.
SMS
When your application is initiated to send a message, Plivo makes an HTTP request to themessage_url, which is one of the mandatory parameters when sending a message.
Requirements
- The
answer_urlor themessage_urlshould respond with an XML document that provides instructions to control the call. - The
Content Typeof the response header, returned by themessage_url, must be set totext/xmlorapplication/xml. - The XML document returned should contain valid Plivo XML elements.