Delay command
The Delay command delays the next command in the response OzML with a specified time (in seconds). It is a perfect command to insert pauses between Speak commands to make the spoken text easier to understand for the client.
Parameters
Parameter name | Example value | Description | Mandatory |
Time | 5 | Time to delay other commands, expressed in seconds. | yes |
OzML example
In the OzML script below, you can see how the Delay command splits the Speak commands for a better understanding of the text that the speak engine read out yor you.
<?xml version="1.0"?> <Response> <Delay>1</Delay> <Speak>Congratulations, this is your first OzML Response command.</Speak> <Delay>2</Delay> <Speak>Have a nice day!</Speak> <Hangup></Hangup> </Response>
More information
- AttendedTransfer command
- BlindTransfer command
- Call command
- ForwardCall command
- ListCallHistory command
- Hangup command
- Hold command
- ListActiveCalls command
- ListExtensions command
- ListExtensionTypes command
- Play command
- Record command
- Request command
- SendDTMF command
- Speak
- Unhold command
- ReceiveMessage command
- SendEmail command
- SendMessage command
- SendSMS command
- Array command
- Beep command
- Delay command
- DeleteFile command
- ForEach command
- GoTo command
- MoveFile command
- Reject command
- Route command
- SendAlarmNotification command
- SendMsg command
- UserInput command
- Var command
- WaitForMsg command
- CallSetup command
- Exit command
- ListAddressbokkContacts
- ListAddressbookNames command
- ReceiveAlarmNotification