60.4. Example of Post Selection configuration

Purpose of example: how to configure the DISA resource to activate a “simplepost-selection.

Pre-identification is made through the called number verification.

Identification of the user is made through the PIN and the calling number verification.

[Tip]Tip

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

60.4.1. Configuring the CTIDISA resource

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

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

COMMAND EXECUTED

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

RES:CtiDisa -------------------------------------------------------------------
Run    DESCR:Direct_Inward_System_Access
       LOG:NO          ACT:YES        sesnum:10       RESTRICTED-CALLING:NO
       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.

60.4.2. Configuring the CTIDISA Service table

Create the “testdisa” service with the following characteristics:

  • Maximum number of simultaneous calls: 3;

  • TRANSFER mode active;

  • Duration of ALERTING state for incoming calls: 0 seconds;

  • Automatic Call Distribution disabled;

  • Maximum number of loops: 4;

  • LOOP enabled for “user busy”, “no answer”, “selection not allowed” and “all other reasons”;

  • Tone set: “test”;

  • Pre-identification based on the called number “003”;

  • Call enabled in post-selection toward numbers starting with 5.

Type the following commands.

[17:50:26] ABILIS_CPX:a ctidisa service:testdisa

COMMAND EXECUTED

[17:50:26] ABILIS_CPX:s ctidisa service:testdisa max-calls:3 transfer:yes conn-delay:0

COMMAND EXECUTED

[17:50:26] ABILIS_CPX:s ctidisa service:testdisa MAX-LOOPS:4 LOOP-BUSY:yes LOOP-NOANSWER:yes LOOP-DENIED:yes LOOP-OTHER:yes

COMMAND EXECUTED

[17:50:26] ABILIS_CPX:s ctidisa service:testdisa WELCOME:test INITDIAL:test AFTERPIN:test LOOPDIAL:test IDENFAIL:test CALLNA:test ALERT:test
BUSY:test NOANSWER:test 

[17:50:26] ABILIS_CPX:s ctidisa service:testdisa cdi:003 permit:5*

COMMAND EXECUTED

This is the result:

[17:50:26] ABILIS_CPX:d ctidisa service:testdisa

- Not Saved (SAVE CONF) -------------------------------------------------------

Total number of services:2

-------------------------------------------------------------------------------
SERVICE:testdisa          DESCR:
  MODE:        DISA                   |INTRO-STATE:   CREQ  |INTRO:    
  ROUTING:     PREFIX                 |CONN-DELAY:    0     |WELCOME:  test
  MAX-CALLS:   3                      |PC-OFFER:      *     |INITDIAL: test
  BC:          Speech                 |TRANSFER:      YES   |AFTERPIN: test
  CB:          NO                     |                     |LOOPDIAL: test
  CB-DELAY:    5                      |DIAL-TOUT:     30    |IDENFAIL: test
  CB-NRTY:     1                      |PIN-TOUT:      15    |CALLNA:   test
  CB-UNK-CDO:  'CGI'                  |NUM-TOUT:      15    |ALERT:    test
  CB-NAT-CDO:  0'CGI'                 |BUSYDISC:      4     |BUSY:     test
  CB-INT-CDO:  00'CGI'                |LOOP-BUSY:     YES   |NOANSWER: test
  CB-CGO:      #                      |LOOP-NOANSWER: YES   |DISC:     
  CTIP-TYPE-O: *                      |LOOP-DENIED:   YES   |HOLD:     
  AUTO-CDO:    #                      |LOOP-OTHER:    YES   |BYE:      #
  TOUT-CDO:    #                      |MAX-LOOPS:     4     
  END-CDO:     #  
  PERMIT:      5*                     
  CDI:         003                    
  CGI:         #
  SUB-SERVICE: #
-------------------------------------------------------------------------------

60.4.3. Configuring the CTIDISA User table

Create two users, “user1” and “user2”, with the following characteristics:

User1:

  • Identification through the PIN: 2709;

  • No service re-assignation;

  • 1 simultaneous call;

  • Post-selection enabled toward all numbers allowed to service in which the caller has been identified;

  • None verification of calling number.

User2:

  • Identification through the calling number;

  • No service re-assignation;

  • 1 simultaneous call;

  • Post-selection enabled toward number 515 and not enabled toward number 520;

  • Verification of the calling number (e.g. 12345678).

Configure “user1”:

[10:58:14] ABILIS_CPX:a ctidisa user:user1

COMMAND EXECUTED

[11:11:17] ABILIS_CPX:s ctidisa user:user1 PIN:2709 service:auto max-calls:1 permit:service deny:# cgi:*

COMMAND EXECUTED

Configure “user2”:

[11:11:16] ABILIS_CPX:a ctidisa user:user2

COMMAND EXECUTED

[11:16:53] ABILIS_CPX:s ctidisa user:user2 service:auto max-calls:1 permit:515 deny:520 cgi:12345678

COMMAND EXECUTED

This is the result:

[11:22:40] ABILIS_CPX:d ctidisa user

Total number of users:3

-------------------------------------------------------------------------------
USER:Anonymous
  PIN:     #                |MAX-CALLS: NOMAX |PERMIT: SERVICE
  SERVICE: AUTO             |CB:        NO    |DENY:   *
  CGI:   -
-------------------------------------------------------------------------------
USER:user1
  PIN:     2709             |MAX-CALLS: 1     |PERMIT: SERVICE
  SERVICE: AUTO             |CB:        NO    |DENY:   #
  CGI:   *
-------------------------------------------------------------------------------
USER:user2
  PIN:     #                |MAX-CALLS: 1     |PERMIT: 515
  SERVICE: AUTO             |CB:        NO    |DENY:   520
  CGI:   12345678
-------------------------------------------------------------------------------
[Note]Note

For CTIDISA user "Anonymous" the parameter DENY is needed to be *, to deny all called numbers/prefixes if user isn't identified.

60.4.4. Configuring the CTI Routing

Assume to receive calls from a group of BRI ports (G2) or from clusters; route the calls toward DISA and enable post-selection toward a group of POTS ports.

Configure incoming CTI routings (toward DISA):

[10:27:28] ABILIS_CPX:a ctir pr:1 poi:g2 out:disa cdi:00?

COMMAND EXECUTED

[10:27:51] ABILIS_CPX:a ctir pr:2 sr:* out:disa cdi:00? sp:64000

COMMAND EXECUTED

Configure outgoing CTI routing (from DISA toward PBX):

[10:28:31] ABILIS_CPX:a ctir pr:3 poi:disa out:pbx cdi:5?? cdo:'cdi.s2' sp:64000

COMMAND EXECUTED

This is the result:

[10:28:36] ABILIS_CPX:d ctir

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
Last change: 17/06/2015 10:01:34 CET

---+------+-----------------+---------+--------------------+--------------------
PR |[DESCR]
   |BCI   |POI |SR      |GI |OUT      |CDI                 |CDO
ACT|NEXT        |LAST       |EEC |T301|CGI                 |CGO
EDT|SP    |SC   |DJ   |MJ   |FMDJ|FMMJ|SDI                 |SDO
   |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI                 |SGO
   |                        |BCO      |RGI                 |RGO
   |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG  |OG  |SG        |DL  |DH
   |CODERS
   |CODERSOUT
   |TI1 .. TI5
--------------------------------------------------------------------------------
0   DATA   *    #        #   Sl        *                    *                   
--------------------------------------------------------------------------------
1   VOICE  G2   #        #   Disa      00?                  *                   
--------------------------------------------------------------------------------
2   VOICE  #    *        #   Disa      00?                  *                   
    NO           ANY         NO   Dft  *                    *                   
    64000  Sys   Sys   Sys   Sys  Sys  *                    *                   
--------------------------------------------------------------------------------
3   VOICE  Disa #        #   PBX       5??                  'CDI.S2'            
    NO           ANY         NO   Dft  *                    *                   
    64000  Sys   Sys   Sys   Sys  Sys  *                    *                   
--------------------------------------------------------------------------------