How do I configure a phone number to receive phone calls?

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

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