Delay command
The Delay command delays the next command in the response OzML with a specified time (in seconds).
Command example usage:
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 | Value | Description | Mandatory |
Time | int value, e.g. 5 |
Time to delay other commands, expressed in seconds. This parameter can be provided between the command nodes. | Yes |
OzML simple example:
5 second will be delayed.
<?xml version="1.0"?> <Response> <Delay>5</Delay> </Response>
Detailed example:
1 second passes then the speak engine says: "Congratulations, this is your first OzML Response command." After this 2 second passes and the speak engine says: "Have a nice day!". In the end it hangs up the phone.
<?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>
Delay command is used in OzML responses to these Api Extension Control notifications:
GoTo, RecordCompleted,
DtmfEntered, SMSDeliveryReport, IncomingSMS,
IncomingCall, CallConnected
More information
- SQL command
- OzML Array command
- OzML BlindTransfer HTTP command to Ozeki Phone System
- OzML Call HTTP command to Ozeki Phone System
- OzML Delay HTTP command to Ozeki Phone System
- OzML DeleteFile Command
- OzML ForEach command
- OzML GoTo HTTP command to Ozeki Phone System
- OzML Hangup HTTP command to Ozeki Phone System
- OzML MoveFile command
- OzML Play HTTP command to Ozeki Phone System
- OzML ReceiveAlarmNotification
- OzML Record HTTP command to Ozeki Phone System
- OzML Reject HTTP command to Ozeki Phone System
- OzML SendAlarmNotification
- OzML SendEmail HTTP command to Ozeki Phone System
- OzML SendSMS HTTP command to Ozeki Phone System
- OzML Speak HTTP command to Ozeki Phone System
- OzML Userinput HTTP command to Ozeki Phone System
- OzML Var command