Hangup command

The Hangup command is used to disconnect a call.

Command example usage:

It can be used by phone companies to hang up calls if the client has no more money in his phone account.

Parameters:

Parameter name Value Description Mandatory
CallId string value,
e.g. 23Xdz7
The call ID of the call you want to hangup. By default it is known from the CallChanged notification. No

OzML simple example:

Hangs up the call.

<?xml version="1.0"?>
<Response>
  <Hangup></Hangup>
</Response>

Detailed example:

1st the speak engine says to all participants of the call: "Call ID 23Xdz7 and your call will be hanged up." Then it says to all participants of call ID 23Xdz7: "This call will be hanged up." Then call ID 23Xdz7 and the actual call (the call ID which was in the CallChanged notification) is hanged up.

<?xml version="1.0"?>
<Response>
  <Speak Party="all">Call ID 23Xdz7 and your call will be hanged up.</Speak>
  <Speak Party="all" CallId=23Xdz7>This call will be hanged up.</Speak>
  <Hangup CallId="23Xdz7"></Hangup>
  <Hangup></Hangup>
</Response>

Hangup command is used in OzML responses to this notification:

CallChanged, RecordCompleted

More information