73.24. Sending Alarm through a call

Suppose you have an IOBOX connected to the Abilis and you want to receive a call with a announcement when the gate will open. A digital sensor from the gate is connected at the Abilis in the Digital Input Line number 2. The alarm must be sent if the Digital Input 2 becomes ON.

The first step to follow is to prepare the sound files to be played by DISA. More information are in the section Section 51.8, “Message files”.

Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.

a res:ctidisa

or

s act res:ctidisa

Add the CTIDISA resource.

or

If the resource already exists, set it active.

s p ctidisa act:yesEnable the CTIDISA runtime functionalities.

a res:alarm

or

s act res:alarm

Add the ALARM resource.

or

If the resource already exists, set it active.

s p alarm act:yesEnable the ALARM runtime functionalities.
save confSave the configuration.
warm startRestart Abilis.
s p ctidisa restricted-calling:yesReject calls also from calling numbers that aren't present in CTIDISA USERs CGI.
a ctidisa service:callbackCreate a CTIDISA service named “callback”.
s ctidisa service:callback cb:yesEnable Call Back for the service “callback”.
s ctidisa service:callback initdial:callback_soundSet the name of the message group from which the message INITDIAL must be taken.
a ctidisa user:callback_user Create a CTIDISA user named “callback_user”.
s ctidisa user:callback_user cb:yesEnable Call Back for the user “callback_user”.
s ctidisa user:callback_user pin:4321Set the Personal Identification Number for the user “callback_user”.
a alarm id:0 enabled:yes res:mfio io:d-in-2 trigger:on action:disa-cb

or

a alarm id:0 enabled:yes res:gpio-1 io:d-in-2 trigger:on action:disa-cb

Add a alarm what will make a call (CTIDISA Call Back) when the Digital Input 2 becomes ON (Command for the MFIO resource).

or

Add a alarm what will make a call (CTIDISA Call Back) when the Digital Input 2 becomes ON (Command for the GPIO-1 device).

s alarm id:0 disa-user:callback_user disa-pin:4321 disa-service:callbackSet the alarm parameters corresponding with the CTIDISA user and the CTIDISA service.
s alarm id:0 disa-cdo:555 disa-cgo:222Set calling and called numbers for the call.
save confSave the configuration.
init res:ctidisaInitialize the CTIDISA resource.
init alarmInitialize the Alarm rules.

CTI routing configuration:

a ctir pr:0 poi:disa out:101 cdi:555Add a CTI rule to route a call from DISA to a POTS phone which is connected to CTIP:101.
save confSave the configuration.
init ctirInitialize the CTIR resource.
[Note]Note

The CTIDISA requires a separate licence in CPX

[Tip]Tip

Interesting chapters:

Chapter 33, ALARM resource;

Section 14.1.4, “Activation of the alarms for the MFIO/GPIO”.