The GoTo command requests a specified URL (or an SQL query in case of using SQL OzML) and executes the OzML commands received from the URL (or database).
Parameters:
Parameter name
Value
Description
Mandatory
Url / SQL query
string value, e.g. - http://yourapp.com/ - select text from table where id = '1'
URL or SQL query to request for OzML content. This parameter can be provided between the command nodes.
Continues OzML commands from the table database table.
<?xml version="1.0"?>
<Response>
<GoTo>SELECT text FROM table WHERE id = '1'</GoTo>
</Response>
Detailed example:
You can put GoTo commands in an IVR to step to different menupoints.
<?xml version="1.0"?>
<Response>
<UserInput timeout="10" repeat="true"><InitialCommands>
<Speak>Welcome to the Ozeki Phone System XE 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>