The element directs the call to another InboundXML document. The URL of the InboundXML document is nested within the element, and the method attribute sets if the request will be a GET or a POST. In addition to the default voice request parameters, the parameter urlBase will also be forwarded when the redirect request is made. urlBase points to the base InboundXML document where the occurred.
Method used to request the InboundXML document when the call is being redirected.
The element cannot be nested within any other elements besides the default element.
<Response> <Say>You will now be redirected</Say> <Redirect method="POST">http://example.com/rest.xml</Redirect> <Say>You will never hear this.</Say> </Response>
Updated over 2 years ago