Reject command

The Reject command rejects an incoming call to an API extension. It can be used only as first command in a response. It has no parameters. If a reject command is issued the phone won't be picked up and the OzML code won't run, otherwise the OzML code will run.

<Reject> command example usage:

If you don't want somebody to call a number, he/she will be automatically rejected.

OzML example:

This rejects the incoming call.
<?xml version="1.0"?>
<Response>
  <Reject></Reject>
</Response>
Reject command is used in OzML responses to these Api Extension Control notifications:
GoTo, RecordCompleted, DtmfEntered, SMSDeliveryReport, IncomingSMS, IncomingCall, CallConnected

More information