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 Basix just hangup the call (no answer).

1
2
3
4
<?xml version="1.0" encoding="UTF-8" ?>
<Response>
	<Hangup/>
</Response>

Example 2: Reject a call with a busy signal

1
2
3
4
<?xml version="1.0" encoding="UTF-8" ?>
<Response>
	<Hangup reason="busy"/>
</Response>