When you receive a call on a Plivo number, Plivo makes an HTTP REQUEST to theanswer_url of the application attached to the number.

Plivo expects a valid XML to be returned in the response from the answer_url to control the call flow. Check the diagrammatic representation of the call flow here.