ReceiveAlarmNotification
You can receive a Contact ID alarm with the ReceiveAlarmNotification command. If the receiving was successful, then commands will be executed between the <Received></Received> tags. There are several commands you can use here, for example, Call, SendSms, SendEmail. In these commands, you can use the received contact id message using the following parameters.
Parameters
- $account = Account number
- $eventqualifier = Event qualifier
- $eventcode = Event code
- $eventname = Event name
- $partition = Partition number
- $zone = Zone number
OzML example
This simple example below shows how you can send the received alarm with all its details to the address of admin@localhost by using the SendMsg command within the Received nodes.
<Response> <ReceiveAlarmNotification> <Received> <SendMsg ToConnection='admin @localhost'> Account number: $account, Event qualifier: $eventqualifier, Event code: $eventcode, Event name: $eventname, Partition number: $partition, Zone numer: $zone </SendMsg> </Received> </ReceiveAlarmNotification> </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