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
- AttendedTransfer command
- BlindTransfer command
- Call command
- ForwardCall command
- ListCallHistory command
- Hangup command
- Hold command
- ListActiveCalls command
- ListExtensions command
- ListExtensionTypes command
- Play command
- Record command
- Request command
- SendDTMF command
- Speak
- Unhold command
- ReceiveMessage command
- SendEmail command
- SendMessage command
- SendSMS command
- Array command
- Beep command
- Delay command
- DeleteFile command
- ForEach command
- GoTo command
- MoveFile command
- Reject command
- Route command
- SendAlarmNotification command
- SendMsg command
- UserInput command
- Var command
- WaitForMsg command
- CallSetup command
- Exit command
- ListAddressbokkContacts
- ListAddressbookNames command
- ReceiveAlarmNotification