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