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