47.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 65.15, “How to configure CTIDISA to implement a responder”.

47.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 - Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------
       ------------------------------------------------------------------------
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:#
       NP-CT:SYS       CTIP-TYPE:NET-PRIVATE
       WDIR:C:\APP\DISA\
[Caution]Caution

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

47.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 INTRO:test WELCOME:test INITDIAL:test AFTERPIN:test LOOPDIAL:test IDENFAIL:test CALLNA:test ALERT:test
BUSY:test NOANSWER:test DISC:test HOLD:test BYE: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

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

Total number of services:2

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

47.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
-------------------------------------------------------------------------------

47.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 routings (toward DISA):

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

COMMAND EXECUTED

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

COMMAND EXECUTED

Configure outgoing routing (from DISA toward PBX):

[10:28:31] ABILIS_CPX:a ctir pr:3 type:dtov poo: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: 10/11/2010 09:34:44 CET

---+-----+-----------------+---------+--------------------+--------------------
PR |[DESCR]
   |TYPE |POI/SR   [SR]    |POO/DS   |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
   |                                 |RGI                 |RGO
   |FMRLY|FAXSP|MODSP|FMLVL|ECM |UDT |IG  |OG  |SG        |DL  |DH
   |CODERS
   |CODERSOUT
   |TI1 .. TI5
-------------------------------------------------------------------------------
...
-------------------------------------------------------------------------------
1   VtoD  G2                CtiDisa   00?                  *
-------------------------------------------------------------------------------
2   CtoD  *                 CtiDisa   00?                  *
    NO          ANY         NO   Dft  *                    *
    64000 Sys   *     *     Sys  Sys  *                    *
-------------------------------------------------------------------------------
3   DtoV  CtiDisa           PBX       5??                  'CDI.S2'
    NO          ANY         NO   Dft  *                    *
    64000 Sys   Sys   Sys   Sys  Sys  *                    *
-------------------------------------------------------------------------------
...
-------------------------------------------------------------------------------