This section shows a Call Back example, in which users call DISA from a mobile phone; the user identification is based on the calling number verification.
Tip | |
---|---|
More examples are available at Section 69.15, “How to configure CTIDISA to implement a responder”. |
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 | |
---|---|
To activate the changes made execute the initialization command init res:ctidisa. |
Create the “call_back” service with the following characteristics:
maximum number of simultaneous calls: 5;
duration of ALERTING state for incoming calls: 4 seconds;
Call Back enabled;
Call Back delay: 5 seconds
number of Call Back attempts: 3
maximum number of loop:3
LOOP enabled for “user busy”, “no answer”, “selection not allowed” and “all other reasons”;
use of tone set “test”;
pre-identification based on calling number: 3456789012.
Type the following commands.
[14:55:16] ABILIS_CPX:a ctidisa service:call_back
COMMAND EXECUTED [14:55:37] ABILIS_CPX:s ctidisa service:call_back max-calls:5 conn-delay:4
COMMAND EXECUTED [14:57:07] ABILIS_CPX:s ctidisa service:call_back cb:yes cb-delay:5 cb-nrty:3
COMMAND EXECUTED [15:01:02] ABILIS_CPX:s ctidisa service:call_back max-loops:3 LOOP-BUSY:yes LOOP-NOANSWER:yes LOOP-DENIED:yes LOOP-OTHER:yes
COMMAND EXECUTED [15:02:35] ABILIS_CPX:s ctidisa service:call_back 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
COMMAND EXECUTED [15:04:53] ABILIS_CPX:s ctidisa service:call_back cgi:3456789012 cdi:*
COMMAND EXECUTED
This is the result:
[03:33:15] ABILIS_CPX:d ctidisa service:call_back
- Not Saved (SAVE CONF) -------------------------------------------------------
Total number of services:3
-------------------------------------------------------------------------------
SERVICE:call_back DESCR:
MODE: DISA |INTRO-STATE: CREQ |INTRO: test
ROUTING: PREFIX |CONN-DELAY: 4 |WELCOME: test
MAX-CALLS: 5 |PC-OFFER: * |INITDIAL: test
BC: Speech |TRANSFER: NO |AFTERPIN: test
CB: YES | |LOOPDIAL: test
CB-DELAY: 5 |DIAL-TOUT: 30 |IDENFAIL: test
CB-NRTY: 3 |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: test
CTIP-TYPE-O: * |LOOP-DENIED: YES |HOLD: test
AUTO-CDO: # |LOOP-OTHER: YES |BYE: test
TOUT-CDO: # |MAX-LOOPS: 3
PERMIT: *
CDI: *
CGI: 3456789012
SUB-SERVICE: #
-------------------------------------------------------------------------------
Create the user “call_back” with the following characteristics:
Call Back enabled;
identification through the calling number: 3456789012;
no service re-assignation;
maximum number of simultaneous call: 1.
Type the following commands.
[10:58:14] ABILIS_CPX:a ctidisa user:call_back
COMMAND EXECUTED [15:11:38] ABILIS_CPX:s ctidisa user:call_back cb:yes service:auto max-calls:1 permit:service deny:# cgi:3456789012
COMMAND EXECUTED
This is the result:
[03:35:29] ABILIS_CPX:d ctidisa user:call_back
- Not Saved (SAVE CONF) -------------------------------------------------------
Total number of users:5
-------------------------------------------------------------------------------
USER:call_back
PIN: # |MAX-CALLS: 1 |PERMIT: SERVICE
SERVICE: AUTO |CB: YES |DENY: #
CGI: 3456789012
-------------------------------------------------------------------------------
Assume to receive calls from a group of ports (G2) associated to UMTS Box; enable Call Back toward this ports.
To verify the configuration of the group of ports type:
[12:04:16] ABILIS_CPX:d ctig
--------------------------------------+--------------------+-------------------
[DESCR:]
ID: PICKUP: SCAN: RULE: |P1 P2 P3 P4 P5 |P6 P7 P8 P9 ...
|... P62 P63 P64
--------------------------------------+--------------------+-------------------
1 NO R ST |31 32 33 34 . |. . . . .
--------------------------------------+--------------------+-------------------
2 NO R ST |201 202 203 204 . |. . . . .
--------------------------------------+--------------------+-------------------
Configure incoming routings (toward DISA):
[12:05:34] ABILIS_CPX:a ctir pr:1 type:vtod poi:g2 cdi:* sp:64000 coders:g.711 mj:80 dj:0
COMMAND EXECUTED
Configure outgoing routing (from DISA toward PBX):
[14:29:04] ABILIS_CPX:a ctir pr:2 type:dtov poo:g2 cdi:0039* cdo:'cdi.s5' sp:64000 coders:g.711 mj:80 dj:0
COMMAND EXECUTED [14:29:04] ABILIS_CPX:a ctir pr:3 type:dtov poo:g1 cdi:* sp:64000 coders:g.711 mj:80 dj:0
COMMAND EXECUTED
This is the result:
[16:05:49] ABILIS_CPX:d ctir
- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
Last change: 20/05/2015 11:59:24 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
-------------------------------------------------------------------------------
0 DATA * CtiSLink * *
-------------------------------------------------------------------------------
1 VtoD G2 CtiDisa * *
NO ANY NO Dft * *
64000 Sys 0 80 Sys Sys * *
* *
* *
Sys AUTO AUTO Sys Sys NO Sys Sys Sys Sys Sys
G.711
-------------------------------------------------------------------------------
2 DtoV CtiDisa G2 0039* 'CDI.S5'
NO ANY NO Dft * *
64000 Sys 0 80 Sys Sys * *
NO Sys * *
* *
Sys AUTO AUTO Sys Sys NO Sys Sys Sys Sys Sys
G.711
-------------------------------------------------------------------------------
3 DtoV CtiDisa G1 * *
NO ANY NO Dft * *
64000 Sys 0 80 Sys Sys * *
NO Sys * *
* *
Sys AUTO AUTO Sys Sys NO Sys Sys Sys Sys Sys
G.711
-------------------------------------------------------------------------------