Transfer a call

In this example, we have a Redirect element after a Speak element. When the Speak element finishes, the Redirect element executes, and Vobiz processes the call based on the XML returned from the Redirect element.

Example Request

XML Response
<Response>
    <Speak>Please wait while you call is being transferred.</Speak>
    <Redirect>https://<yourdomain>.com/redirect/</Redirect>
</Response>

Response

To connect the incoming call to a different number, you should return the section example's XML from the Redirect URL.

XML Response
<Response>
    <Dial dialMusic="real">
        <Number>12025551111</Number>
    </Dial>
</Response>