69.15. How to configure CTIDISA to implement a responder

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

69.15.1. Implementing a responder using MODE:INTRO

Assuming:

  • ports 33 and 34 are connected to ISDN lines (099993 - 0999994)

  • ports 33 and 34 belong to group G2

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
save confSave the configuration
warm startRestart Abilis
s p ctidisa restricted-calling:noAccept calls also from calling numbers that are not present in CTIDISA USERs CGI
a ctidisa service:responderCreate a service named “responder
s ctidisa service:responder mode:introSet mode:intro for the service “responder
s ctidisa service:responder cdi:20Set the incoming called number to be used at pre-identification to find the service.
s ctidisa service:responder intro:responder_soundSet the name of the message group from which the message must be taken equal to “responder_sound”.
init res:ctidisaInit ctidisa resource
save confSave the configuration

CTI routing configuration:

a ctir pr:1 type:vtod poi:g2 cdi:09999? cdo:20 ti1:sa+su,00:00-23:59Add a cti rule to route a call incoming from an ISDN line to disa only on Saturday and Sunday
init ctirInitialize ctir resource
save confSave the configuration
[Caution]Caution

Phone calls incoming on ISDN lines don't reach any phone on Saturday and Sunday.

[Warning]Warning

MODE:INTRO may not work! It depends on your operator.

69.15.2. Implementing a responder using MODE:DISA

Assuming:

  • ports 33 and 34 are connected to ISDN lines (099993 - 0999994)

  • ports 33 and 34 belong to group G2

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
save confSave the configuration
warm startRestart Abilis
s p ctidisa restricted-calling:noAccept calls also from calling numbers that are not present in CTIDISA USERs CGI
a ctidisa service:responderCreate a service named “responder
s ctidisa service:responder mode:disaSet mode:disa for the service “responder
s ctidisa service:responder cdi:20Set the incoming called number to be used at pre-identification to find the service.
s ctidisa service:responder initdial:responder_soundSet the name of the message group from which the message INITDIAL must be taken.
s ctidisa service:responder callna:responder_soundSet the name of the message group from which the message CALLNA must be taken.
s ctidisa service:responder permit:#Set the permitted called numbers to none
init res:ctidisaInit ctidisa resource
save confSave the configuration

CTI routing configuration:

a ctir pr:1 type:vtod poi:g2 cdi:09999? cdo:20 ti1:sa+su,00:00-23:59Add a cti rule to route a call incoming from an ISDN line to disa only on Saturday and Sunday
init ctirInitialize ctir resource
save confSave the configuration
[Caution]Caution

Phone calls incoming on ISDN lines don't reach any phone on Saturday and Sunday.

[Note]Note

A possible optimization is to set the service parameter DIAL-TOUT=CONN-DELAY+Duration of sound message.

69.15.3. Getting a call on phones while the responder is active

Assuming:

  • ports 33 and 34 are connected to ISDN lines (099993 - 0999994)

  • ports 33 and 34 belong to group G2

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
save confSave the configuration
warm startRestart Abilis
s p ctidisa restricted-calling:noAccept calls also from calling numbers that are not present in CTIDISA USERs CGI
a ctidisa service:responderCreate a service named “responder
s ctidisa service:responder mode:disaSet mode:disa for the service “responder
s ctidisa service:responder cdi:20Set the incoming called number to be used at pre-identification to find the service.
s ctidisa service:responder initdial:responder_soundSet the name of the message group from which the message INITDIAL must be taken.
s ctidisa service:responder callna:responder_soundSet the name of the message group from which the message CALLNA must be taken.
s ctidisa service:responder alert:responder_soundSet the name of the message group from which the message ALERT must be taken.
s ctidisa service:responder permit:500Set the permitted called numbers to 500
s ctidisa service:responder auto-cdo:500Set the automatically called number to 500
s ctidisa user:anonymous permit:service deny:*Set user's permissions
init res:ctidisaInit ctidisa resource
save confSave the configuration

CTI routing configuration:

a ctir pr:1 type:vtod poi:g2 cdi:09999? cdo:20 ti1:sa+su,00:00-23:59Add a cti rule to route a call incoming from an ISDN line to disa only on Saturday and Sunday
a ctir pr:2 type:dtov poo:pbx cdi:500Add a cti rule to route a call from disa to a pots phone whose number is 500
init ctirInitialize ctir resource
save confSave the configuration
[Caution]Caution

Phone calls incoming on ISDN lines don't reach any phone on Saturday and Sunday.

[Note]Note

A possible optimization is to set the service parameter DIAL-TOUT=CONN-DELAY+Duration of sound message.