Signals Docs
OneML reference

Hangup

The <Hangup> verb ends the call immediately.

Attributes

<Hangup> accepts no attributes.

Nesting

<Hangup> is a self-closing element with no text content and no nested verbs.

Examples

Ending the call after a closing message:

XMLCode
<?xml version="1.0" encoding="UTF-8"?> <Response> <Say>Thank you for calling. Goodbye.</Say> <Hangup/> </Response>

Ending the call after a message and a pause:

XMLCode
<?xml version="1.0" encoding="UTF-8"?> <Response> <Say>This call will now end.</Say> <Pause length="2"/> <Hangup/> </Response>

See also

Last modified on