The <Hangup> element ends a call. If used as the first verb in a XML response, it simply hangs up the call and prevents further processing

Element Attributes

Attribute Name Description Allowed Values Default Value
reason Reason to be sent rejected, busy none

Examples

Example 1

The following code tells Plivo just hangup the call (no answer).

<Response>
        <Hangup/>
</Response>

Example 2: Reject a call with a busy signal

<Response>
        <Hangup reason="busy" />
</Response>