HTTP response commands in OzML to Third Party Call Control notifications
These commands are used in responses to the Third Party Call Control notifications coming from the phone system. You can use these responses to act
as a third party and manipulate the calls. These command are written in OzML.
To write an OzML command this is the standard form:
<command parameter="..."> 'parameter between the command nodes' </command>
An OzML response is always between <response> nodes:
<response> 'commands and parameter between the nodes' </response>
Example:
<Response> <Speak Party="caller">Hello!</Speak> <Hangup CallId="23Xdz7"></Hangup> </Response>
Command | Description |
AttendedTransfer | If getting a call, you can put it on hold and call a 2nd number, then connect the call with the 2nd number using AttendedTransfer. |
BlindTransfer | Transfer the call during the conversation, and leave the conversation. |
Forward | Forward a call by ID to another number if it can't be answered. |
Hangup | Terminates a call in progress by ID. |
Hold | Puts both legs of the call from InCall state to Hold state by ID. |
Play | Plays an audio file (local or downloaded from URL) in an existing call for the parties respectively. |
Record | Records a chosen call. |
Route | Routes the phone call to another number. |
SendDTMF | Send a DTMF message to a participant |
Speak | Reads a text using the text to speech engine into a call in progress. |
Unhold | Puts both legs of the call to InCall state by ID. |
More information
- HTTP response commands in OzML to Third Party Call Control notifications
- HTTP response commands in OzML to API Extension Control notifications