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