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 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