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
- Polecenie AttendedTransfer
- Polecenie BlindTransfer
- Polecenie Call
- Polecenie ForwardCall
- Polecenie ListCallHistory
- Polecenie Hangup
- Polecenie Hold
- Polecenie ListActiveCalls
- Polecenie ListExtensions
- Polecenie ListExtensionTypes
- Polecenie Play
- Polecenie Record
- Polecenie Request
- Polecenie SendDTMF
- Speak
- Polecenie Unhold
- Polecenie ReceiveMessage
- Polecenie SendEmail
- Polecenie SendMessage
- Polecenie SendSMS
- Polecenie Array
- Polecenie Beep
- Polecenie Delay
- Polecenie DeleteFile
- Polecenie ForEach
- Polecenie GoTo
- Polecenie MoveFile
- Polecenie Reject
- Polecenie Route
- Polecenie SendAlarmNotification
- Polecenie SendMsg
- Polecenie UserInput
- Polecenie Var
- Polecenie WaitForMsg
- Polecenie CallSetup
- Polecenie Exit
- Polecenie ListAddressbookContacts
- Polecenie ListAddressbookNames
- ReceiveAlarmNotification