Basically there are three kind of routings needed by CTIVO:
Routing to virtual office to reach the virtual user
Routing to virtual office to allow virtual user to perform calls
Routing from virtual office to other CTI interfaces to reach USER or NET side of the virtual call.
The first routing is added via:
[16:06:42] ABILIS_CPX:a ctir pr:0 type:*toA poi:* poo:ctivo cdi:* cdi:'NumVoNet' sp:64000
COMMAND EXECUTED
The second routing is made via:
[16:06:42] ABILIS_CPX:a ctir pr:1 type:*toA poi:* poo:ctivo cdi:* cgi:'NumVoUser' cdo:3334567890 sp:64000
COMMAND EXECUTED
Note that the CDO is the postselection number. This should be specified in case of calls coming from GSM which removes the calling party number.
The other routings must allow CTIVO to call so they must be *toV, *toC, *toS, *toI, *toA etc.
In example if the dial out prefix is 0 and internal prefixes starts by 5:
[16:06:42] ABILIS_CPX:s p res:ctivo outdial-digit-add:0 exclude-prefix:7
COMMAND EXECUTED [16:06:56] ABILIS_CPX:init res:ctivo
COMMAND EXECUTED
The outdial-digit-add parameters needs to add a prefix to the calls to remote destinations, the exclude-prefix excludes the adding of the outdial prefix i.e. for internal numbers.
Let's add a couple of routings to internal numbers and to external ones i.e. via a UMTS-BOX
The first routing from ctivo to other INTERNAL destination is added via:
[16:06:42] ABILIS_CPX:a ctir pr:2 type:*toV poi:* poo:101 cdi:701 sp:64000
COMMAND EXECUTED
The second routing is made via:
[16:06:42] ABILIS_CPX:a ctir pr:3 type:*toV poi:* poo:101 cdi:0'NumVoUser' cdo:'cdi.s2' sp:64000
COMMAND EXECUTED
Note that the CDO is the postselection number. This should be specified in case of calls coming from GSM which removes the calling party number.
[15:55:53] ABILIS_CPX:d ctir
Last change: 09/05/2015 14:08:09 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
| |BCO |RGI |RGO
|FMRLY|FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH
|CODERS
|CODERSOUT
|TI1 .. TI5
-------------------------------------------------------------------------------
0 *toA * # CtiVo 'NumVoNet' *
NO ANY NO Dft * *
64000 Sys * * Sys Sys * *
-------------------------------------------------------------------------------
1 *toA * # CtiVo * 3334567890
NO ANY NO Dft 'NumVoUser' *
64000 Sys * * Sys Sys * *
-------------------------------------------------------------------------------
2 *toV * # 101 701 *
NO ANY NO Dft * *
64000 Sys * * Sys Sys * *
-------------------------------------------------------------------------------
3 *toV * # 501 0'NumVoUser' 'CDI.S2'
NO ANY NO Dft * *
64000 Sys * * Sys Sys * *
-------------------------------------------------------------------------------