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 72.17, “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 to 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 these ports.
To verify the configuration of the group of ports type:
[12:04:16] ABILIS_CPX:d ctig
----------------------------------+------------------------------------------------
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 R ST MAX NO |31 32 33 34 .
----------------------------------+------------------------------------------------
2 R ST MAX NO |501 502 . . .
----------------------------------+------------------------------------------------
Configure incoming CTI routings (toward DISA):
[12:05:34] ABILIS_CPX:a ctir pr:1 poi:g2 out:disa cdi:* sp:64000 coders:g.711 mj:80 dj:0
COMMAND EXECUTED
Configure outgoing CTI routing (from DISA toward PBX):
[14:29:04] ABILIS_CPX:a ctir pr:2 poi:disa out: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 poi:disa out: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: 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 * *
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
--------------------------------------------------------------------------------
2 VOICE Disa # # 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 VOICE Disa # # 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
--------------------------------------------------------------------------------
Tip | |
---|---|
Interesting chapter: Section 46.5, “CTI Router Overview”. |