<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.
1 2 3 4 |
<?xml version="1.0" encoding="UTF-8"?> <Response> <reject/> </Response> |
1 2 3 4 |
<?xml version="1.0" encoding="UTF-8"?> <Response> <reject reason="busy"></reject/> </Response> |