50.7. Example of Data Call Back configuration

Data-cb allows to order a connection toward Internet making a phone call. The call is rejected and so it's free of charge.

[Tip]Tip

More examples are available at Section 69.15, “How to configure CTIDISA to implement a responder”.

50.7.1. Configuring the CTIDISA resource

Activate the resource and set the RESTRICTED-CALLING parameter to YES.

[10:32:38] ABILIS_CPX:s p ctidisa act:yes restricted-calling:yes

COMMAND EXECUTED

[10:32:56] ABILIS_CPX:d p ctidisa

RES:CtiDisa - Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------
       ------------------------------------------------------------------------
Run    DESCR:Direct_Inward_System_Access
       LOG:NO          ACT:YES        sesnum:10       RESTRICTED-CALLING:YES
       PROVIDE-SG:NO   CALL-ABORT:**  CALL-REPEAT:**  PIN-START:*  PIN-END:#
       NPOO-CT:SYS     CTIP-TYPE:NET-PRIVATE          BUSY-NOCHAN:YES
       WDIR:C:\APP\DISA\
[Caution]Caution

To activate the changes made execute the initialization command init res:ctidisa.

50.7.2. Configuring the CTIDISA Service table

Create the “call_back” service with the following characteristics:

  • maximum number of simultaneous calls: 5;

  • calling input number which activates the data call back is 10;

  • the data call back uses res:ip-6 to establish a connection toward internet

Type the following commands.

[05:15:50] ABILIS_CPX:a ctidisa service:data_cb

COMMAND EXECUTED

[05:17:33] ABILIS_CPX:s ctidisa service:data_cb mode:data-cb max-calls:5 cdi:10 cd-res:ip-6

COMMAND EXECUTED

[05:17:38] ABILIS_CPX:d ctidisa service:data_cb

- Not Saved (SAVE CONF) -------------------------------------------------------
Total number of services:4

-------------------------------------------------------------------------------
SERVICE:data_cb           DESCR:
  MODE:        DATA-CB                |CD-RES:        Ip-6
  MAX-CALLS:   5                      |DISC-CAUSE:    81,90
  CDI:         10                     
  CGI:         #
------------------------------------------------------------------------------

50.7.3. Configuring CTI Routings

Ports 31 and 32 are connected to an ISDN line and they belong to the group G1. Assume to order a connection toward Internet calling the ISDN number 09999901. CTIR routes calls to DISA which establish a connection toward Internet using data call back.

[05:51:17] ABILIS_CPX:d ctig

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
--------------------------------------+--------------------+-------------------
 [DESCR:]
 ID: PICKUP: SCAN: RULE:              |P1  P2  P3  P4  P5  |P6  P7  P8  P9  ...
                                      |... P62 P63 P64
--------------------------------------+--------------------+-------------------
 1   NO      R     ST                 |31  32  .   .   .   |.   .   .   .   .
--------------------------------------+--------------------+-------------------

Configure routing toward DISA:

[05:54:26] ABILIS_CPX:a ctir pr:1 type:vtod poi:g1 cdi:09999901 cdo:10

COMMAND EXECUTED

[05:54:58] ABILIS_CPX:d ctire pr:1

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
Last change: 14/05/2015 05:54:58 CET

PR:1   DESCR:data_cb
   ACT:YES            EDT:NO
   TYPE:VtoD          POI:G1                       POO:CtiDisa  EEC:NO
   NEXT:NO            CDI:09999901                 CDO:10
   LAST:ANY           CGI:*                        CGO:*
   T301:Dft           SDI:*                        SDO:*
   UDT:NO             SGI:*                        SGO:*
                      RGI:*                        RGO:*
   IG:Sys       OG:Sys      SG:Sys      DL:Sys       DH:Sys
   FMRLY:Sys    FAXSP:AUTO  MODSP:AUTO  FMLVL:Sys    FMDJ:Sys   FMMJ:Sys
   SP:6400      SC:Sys      DJ:Sys      MJ:Sys                  ECM:Sys
   CODERS:Sys
   TI1:ALL,00:00-23:59                TI2:#  TI3:#  TI4:#  TI5:#