<reject>
Role: <reject> As the name suggest, this verb can be used to reject the call.
Use:
  • Can be used to you want to temporarily disable the phone phone number and reject all the calls.
  • You want to accept calls only from certain numbers and reject all unknown caller.

Attributes

Attribute
Value
Default
reason
rejected, busy, notfound, notavailable
rejected

Here is an example of how <reject> is used within code.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<reject/>
</Response>
In another example you can give a reason for rejection of the call. The reason will be passed on to the callers carrier.
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<reject reason="busy"></reject/>
</Response>
Last modified 3yr ago
Copy link
Outline
Attributes