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.
<?xml version="1.0"?> <Response> <GoTo>http://yourapp.com/</GoTo> </Response>
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.
<?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"> <GoTo>http://yourapp.com/press1.php</GoTo> </Input> <Input key="2"> <GoTo>http://yourapp.com/press2.php</GoTo> </Input> </Inputs> </UserInput> </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