GoTo command
The GoTo command requests a specified URL and executes the OzML commands received from the URL. This command can be used in IVR systems to step to different menu points.
Parameters
Parameter name | Example value | Description | Mandatory |
Url | http://yourapp.com/ | URL to request for OzML content. | yes |
OzML examples
This script continues the execution of the OzML command from the provided URL address.
1 2 3 4 |
The second example demonstrates that, how you can navigate the user to different pages in case of a button press by using the GoTo command.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<? xml version = "1.0" ?> < Response > < UserInput timeout = "10" repeat = "true" > < InitialCommands > < Speak >Welcome to the Ozeki 10 Phone System IVR.</ Speak > < Speak >To send an SMS, press 1.</ Speak > < Speak >To transfer the call to 101, press 2.</ Speak > </ InitialCommands > < Inputs > < Input key = "1" > </ Input > < Input key = "2" > </ Input > </ Inputs > </ UserInput > </ 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