Reject command

The Reject command simply reject an incoming call to an extension. This command can be only used as a first command in the OzML script response. 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. If you don't want somebody to call a number, he/she will be automatically rejected.

Parameters

This command does not require any additional parameters.

OzML example

This script will automatically rejects all the incoming calls to the extension.

<?xml version="1.0"?>
<Response>
    <Reject></Reject>
</Response>

More information