SendAlarmNotification command

The SendAlarmNotification command send a Contact ID alarm message to the specified number through VoIP call.

<SendAlarmNotification> command example usage:

You can send an alarm message and you can define every detail of this message using the following parameters.

Parameters:

Parameter name Value Description Default value Mandatory
PhoneNumber int value,
e.g. 1000
The phone number to which the alarm notification is sent. (None) Yes
ApiExtension int value,
e.g. 9994
The phone number of the API extension which makes the call. (None) No
ResultUrl string value,
e.g. http://yourdomain.com/alarmnotification.php
The PBX will send a request to this URL, when the alarm notification sent successful or failed. (None) No
AccountNumber int value
e.g. 1234
Account number, which contains 4 digits. (None) Yes
EventQualifier string value
e.g. NewEvent, NewRestore, StatusReport
Event qualifier, which gives specific event information. NewEvent No
EventCode int value
e.g. 110
The event code, which contains 3 digits maximum. (None) Yes
PartitionNumber int value
e.g. 10
Group or partition number, which contains 2 digits maximum. (None) Yes
ZoneNumber int value
e.g. 30
Zone number, which contains 3 digits maximum. (None) Yes

OzML example:

In this example below, send a fire alarm to the phonenumber 1000.
<OzML>
	<SendAlarmNotification PhoneNumber="1000" AccountNumber="1234" EventCode="110" PartitionNumber="1" ZoneNumber="10" 
	ResultUrl="http://yourapp.com/alarmnotification.php">
	</SendAlarmNotification>
</OzML>

More information