Dial status reporting

    This examples uses an action URL in the Dial XML element. After the call ends, Plivo reports back the status to this URL. You can control the flow of the call by returning valid Plivo XML from the action URL and setting the redirect attribute to true.

    In this example, Plivo POSTs the status of the call to https://foo.com/dial_status/ and expects valid XML since the redirect attribute is set to true.

    Response

    <Response>
        <Dial action="https://foo.com/dial_status/" method="POST" redirect="true">
            <Number>15675234567</Number>
        </Dial>
    </Response>