VoiceML¶
VoiceML allows you to programmatically control calls by responding to webhooks with an XML formatted document. The XML document consists of zero or more actions which perform various functions such as playing audio, collecting DTMF and controlling the execution flow.
Actions¶
The following actions are available:
- <Call>
- <Input>
- <Label>
- <Play>
- <ReceiveFax>
- <Record>
- <RecordCall>
- <Redirect>
- <Reject>
- <Say>
- <Stream>
- <Wait>
Cookies¶
VoiceML requests maintain cookies on the controlling call. You can use cookies to easily maintain state in a conversation by either setting cookies directly, or using the in-built session state in your programming language or framework of choice.