Making all the magic happen
RESTXML documents comprise of XML Elements. There are 11 core XML Elements:
It is important to know that the Rest XML is used for call processing and routing.
<Speak>: Read some text to the caller.
<Play>: Play an audio file to the caller.
<GetDigits>: Get the digits a caller presses.
<Record>: Record a call or part of a call.
<Dial>: Call another phone number or conference and connect the current caller.
<Redirect>: Redirects the call flow to a new URL to receive RESTXML
<Notify>: Notify an external script over HTTP.
<SIPTransfer>: Reroutes a SIP call to a SIP URI.
<Wait>: Wait for a specified time before executing the next element.
<PreAnswer>: Answers the call in early media mode. Useful for playing custom caller tunes.
<Hangup>: Hang up the call.