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 72.17, “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 to 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 IP-6 to establish a connection to the 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 to the 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) -------------------------------------
----------------------------------+------------------------------------------------
ID: [DESCR:]
    S: R:                 MC: P:  |P1       P2       P3       P4       P5       ...
                                  |...      P62      P63      P64
    [Px:         CDO:  CGO:  SDO:  SGO:  RGO:  SP:  CODERS:  DJ:  MJ:  T301:      ]
----------------------------------+------------------------------------------------
0   [Iax/Sip/Disa/Vo group (Read Only)]
    R  ST                 MAX NO  |Iax      Sip      Disa     Vo       .        
----------------------------------+------------------------------------------------
1   [to_PBX]
    R  ST                 MAX NO  |31       32       .        .        .        
----------------------------------+------------------------------------------------

Configure routing toward DISA:

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

COMMAND EXECUTED

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

Last change: 17/06/2015 10:01:34 CET

-------------------------------------------------------------------------------
PR:1   DESCR:
   ACT:YES  EDT:NO   BCI:VOICE                     BCO:*        EEC:NO
   NEXT:NO           POI:G1    SR:#        GI:#    OUT:Disa
   LAST:ANY          CDI:09999901                  CDO:10
   T301:Dft          CGI:*                         CGO:*
   UDT:NO            SDI:*                         SDO:*
   LCS:NO            SGI:*                         SGO:*
   LCST:Sys          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
   SPOUT:*      SCOUT:*     DJOUT:*     MJOUT:*     
   CODERSOUT:*
   TI1:ALL,00:00-23:59                TI2:#  TI3:#  TI4:#  TI5:#