5.11. Lists management

By the terms “Elements Lists” we refer to a list of objects, belonging to the same homogeneous type, which are identified by the generic term “item”.

Within the Abilis CPX, the following element types have been referred as relevant:

Lists can be used to improve:

5.11.1. LIST CREATE

This command creates a new list. Type the following command to create a list of ISDN numbers:

[11:35:44] ABILIS_CPX:list create Home in List_of_Home_numbers

COMMAND EXECUTED

The following command displays the syntax:

[11:35:43] ABILIS_CPX:list create ?

LIST CREATE Name Type [Description]     Create a new list

Name            List name.                                          <Mandatory>
                For 'EC' (CTI Clusters) list type, up to 6 characters
                are allowed; for 'ICAUSE' (ISDN Cause codes) list type,
                up to 10 characters are allowed; for any other list type,
                up to 16 characters are allowed.
                Valid characters range is [0..9, A..Z, a..z, -, _].
                Spaces are not allowed. The case is preserved.
                The name cannot start with a digit.
Type            List type. Allowed list types are:                  <Mandatory>
                - IN: ISDN Numbers,            - IS: ISDN Sub Addresses,      
                - EC: CTI Clusters,            - XN: X25 NUAs,                
                - XU: X25 UDFs,                - IP: IP Addresses,            
                - IR: IP Addresses Ranges,     - DN: Dialing Numbers,         
                - CR: CPX resources,           - TUP: TCP/UDP ports ranges,   
                - IPT: Internet Protocols,     - MAC: MAC Addresses,          
                - INN:ISDN Numbers Normalized, - ICMPT: ICMP message Types,   
                - CLNUM: CTI Clusters Numbers, - INR: ISDN Numbers Replacement
                - IN2T: ISDN Numbers to Text,  - TXT: Text,                   
                - OPC: OPC Unique User IDs,    - ICAUSE: ISDN Cause codes,    
                - RU: Rules,                   - MR: Master Rules.            
Description     List description.                                    <Optional>
                From 0 up to 70 Alphanumeric extended characters.
                Case is preserved. Spaces are allowed.
                Strings holding spaces must be written between quotation
                marks (E.g.: "str1 str2")

5.11.2. LIST DELETE

This command deletes an existing list. Type the following command to delete a list:

[11:52:40] ABILIS_CPX:list delete home

COMMAND EXECUTED

The following command displays the syntax:

[11:50:22] ABILIS_CPX:list delete ?

LIST DELETE Name                        Delete a list

Name            Name of the list to be deleted,                     <Mandatory>
[Caution]Caution

A list, to be deleted, must not be referred in any resource or table.

5.11.3. LIST RENAME / LIST DESCRIPTION

The command list rename changes the name of the list, without deleting the list.

The command list description changes or adds the field description of the list.

[12:04:13] ABILIS_CPX:list rename Home Office

COMMAND EXECUTED

[12:04:28] ABILIS_CPX:list description Office List_of_Office_numbers

COMMAND EXECUTED

By typing list rename ? or list description ? it's possible to display the command syntax:

[11:55:13] ABILIS_CPX:list rename ?

LIST RENAME Name NewName                Change/Set a list name

Name            Current list name.                                  <Mandatory>
NewName         New list name.                                      <Mandatory>
                For 'EC' (CTI Clusters) list type, up to 6 characters
                are allowed; for 'ICAUSE' (ISDN Cause codes) list type,
                up to 10 characters are allowed; for any other list type,
                up to 16 characters are allowed.
                Valid characters range is [0..9, A..Z, a..z, -, _].
                Spaces are not allowed. The case is preserved.
                The name cannot start with a digit.

[11:59:42] ABILIS_CPX:list description ?

LIST DESCRIPTION Name Description       Change/Set a list description

Name            Name of the list whose description has to be set.   <Mandatory>
Description     List description.                                   <Mandatory>
                From 0 up to 70 Alphanumeric extended characters.
                Case is preserved. Spaces are allowed.
                Strings holding spaces must be written between quotation
                marks (E.g.: "str1 str2")

5.11.4. D LIST (Display List)

This command shows the list table. The available syntax of the commands is:

  • d list : shows the list table

    [12:15:23] ABILIS_CPX:d list
    
    Last change: 17/04/2015 14:09:01 CET
    
    Used-Lists:  4     Used-Items:    4     Used-Resources:    349 (byte)
    Free-Lists:246     Free-Items: 3996     Free-Resources: 644771 (byte)
    
     Id Name             Type   Description                Edt St RefN. First Numb
    ---+----------------+------+--------------------------+---+--+-----+-----+-----
      2 PrivateIpAdd     IR     Automatically_generated...     R      0     1     4
      1 NumClus          CLNUM  Automatically_generated...     R      0     0     0
      3 NumVoNet         INN    Automatically_generated...     R      0     0     0
      4 NumVoUser        INN    Automatically_generated...     R      0     0     0
    -------------------------------------------------------------------------------
    IN:ISDN Numbers,               XN:X25 NUAs,                CR:CPX resources,
    INN:ISDN Numbers Normalized,   XU:X25 UDFs,                EC:CTI Clusters,
    IS:ISDN Sub Addresses,         IP:IP Addresses,            MAC:MAC Addresses,
    INR:ISDN Numbers Replacements, IR:IP Addresses Ranges,     DN:Dialing Numbers,
    IN2T:ISDN Numbers to Text,     IPT:Internet Protocols,     TXT:Text,
    CLNUM:CTI Clusters Numbers,    TUP:TCP/UDP ports ranges,
    ICAUSE:ISDN Cause codes,       ICMPT:ICMP message Types,   RU:Rules,
    OPC:OPC Unique User IDs,                                   MR:Master Rules.
    -------------------------------------------------------------------------------
  • d list:<name> : shows the content of a specific list

    [12:17:04] ABILIS_CPX:d list:home
    
    - Not Saved (SAVE CONF) -------------------------------------------------------
    LIST:Home                 - IN                - Ref-Numb:0     Items-Numb:2    
         List_of_Home_numbers
         --------------------------------------------------------------------------
         0234865852              0269548947
  • d list <type>: shows the lists of the specified type

    [15:42:17] ABILIS_CPX:d list clnum
    
    Last change: 17/04/2015 14:09:01 CET
    
    Used-Lists:  4     Used-Items:    4     Used-Resources:    349 (byte)
    Free-Lists:246     Free-Items: 3996     Free-Resources: 644771 (byte)
    
     Id Name             Type   Description                Edt St RefN. First Numb
    ---+----------------+------+--------------------------+---+--+-----+-----+-----
      1 NumClus          CLNUM  Automatically_generated...     R      0     0     0
    -------------------------------------------------------------------------------
    IN:ISDN Numbers,               XN:X25 NUAs,                CR:CPX resources,
    INN:ISDN Numbers Normalized,   XU:X25 UDFs,                EC:CTI Clusters,
    IS:ISDN Sub Addresses,         IP:IP Addresses,            MAC:MAC Addresses,
    INR:ISDN Numbers Replacements, IR:IP Addresses Ranges,     DN:Dialing Numbers,
    IN2T:ISDN Numbers to Text,     IPT:Internet Protocols,     TXT:Text,
    CLNUM:CTI Clusters Numbers,    TUP:TCP/UDP ports ranges,
    ICAUSE:ISDN Cause codes,       ICMPT:ICMP message Types,   RU:Rules,
    OPC:OPC Unique User IDs,                                   MR:Master Rules.
    -------------------------------------------------------------------------------
  • d list:a : shows the content of all the list present in the configuration

5.11.5. A LIST (Add List item)

This command adds items to a list.

[12:41:31] ABILIS_CPX:a list:home 0234865852 0269548947

COMMAND EXECUTED

[12:43:16] ABILIS_CPX:d list:home

- Not Saved (SAVE CONF) -------------------------------------------------------
LIST:Home                 - IN                - Ref-Numb:0     Items-Numb:2    
     List_of_Home_numbers
     --------------------------------------------------------------------------
     0234865852              0269548947

The following command displays the syntax:

[12:37:52] ABILIS_CPX:a list: ?

A LIST:Name Item1 Item2 ...             Add one or more items to a list

Name            List name or list identifier [1..250].              <Mandatory>
Item1 Item2 ... Item values separated by space                      <Mandatory>

Possible Item values for each list Type:

IN item:     String of max. 20 characters in the range [0..9, ?, *, #]
             optionally preceded by TON [u, i, n, o, s, h, c] and/or NP [x, e,
             d, t, l, p] attributes.
             See HELP ISDN ATTRIBUTES for details on attributes.
             See HELP ISDN VALUES for details on meaning of special values.
INN item:    String of max. 20 characters in the range [0..9, ?, *, #]
             optionally preceded by TON [u, i, n, o, s, h, c] and/or NP [x, e,
             d, t, l, p] attributes.
             Omitted TON is set it to 'u', omitted NP is set to 'x'.
             The number will be normalized to 'i' (International) TON,
             therefore the maximum allowed number length depends from
             configured International/National prefixes and Country code.
             See HELP ISDN ATTRIBUTES for details on attributes.
             See HELP ISDN VALUES for details on meaning of special values.
IS item:     String of max. 20 characters in the range [0..9, a..z, A..Z, ?,
             *].
EC item:     String of max. 8 characters in the range [0..9, a..z, A..Z, _]
             corresponding to the name of an existing CTI Cluster.
XN item:     String of max. 15 characters in the range [0..9, ?, *, #].
XU item:     String of max. 12 characters in the range [0..9, a..z, A..Z, ?,
             *].
IP item:     IP address in the range [000.000.000.000..255.255.255.255].
IR item:     Two IP addresses in the range [000.000.000.000..255.255.255.255]
             separated by ':' (colon).
DN item:     Sequence of four values separated by ',' (comma) e.g.: 'o,n,c,r',
             where:
             - 'o' is the order [1..32]
             - 'n' is a dialing number i.e. a sequence of max. 20 digits
               optionally preceded by TON [u, i, n, o, s, h, c] and/or NP [x,
               e, d, t, l, p] attributes
             - 'c' is the max. number of connections [0..32]
             - 'r' is the max. number of retries [0..65534, NOMAX].
             (E.g. 2,0376334412,2,5 or 1,ie444555,32,NOMAX).
             See HELP ISDN ATTRIBUTES for details on attributes.
CR item:     CPX resource, 'type-n' where 'n' [1..999].
TUP item:    A single TCP or UDP port mnemonic or decimal value [1..65535]
             or two TCP or UDP ports mnemonic or decimal value [0..65535]
             separated by ':' (colon).
             See HELP INTERNET PORTS for the list of TCP/UDP ports.
IPT item:    An Internet protocol mnemonic or decimal value [0..255].
             See HELP INTERNET PROTOCOLS for the list of Internet protocols.
MAC item:    A single MAC address in the form XX-XX-XX-XX-XX-XX.
ICMPT item:  An ICMP message type mnemonic or decimal value [0..255].
             See HELP INTERNET ICMP for the list of ICMP message types.
CLNUM item:  Sequence of two values separated by ',' (comma) e.g.: 'num,clus',
             where:
             - 'num' is the number i.e. a sequence of max. 20 characters in the
               range [0..9, *] optionally preceded by TON [u, i, n, o, s, h, c]
               and/or NP [x, e, d, t, l, p] attributes
             - 'clus' is a string of max. 8 characters in the range [0..9,
               a..z, A..Z, _] corresponding to the name of an existing CTI
                Cluster.
             (E.g. ne123*,my_clus)
             See HELP ISDN ATTRIBUTES for details on attributes.
             See HELP ISDN VALUES for details on meaning of special values.
INR item:    Sequence of four values separated by ',' (comma) e.g.:
             'num,chk,cd,cg', where:
             - 'num' is the number i.e. a sequence of max. 20 characters in the
               range [0..9, ?, *, #] optionally preceded by TON [u, i, n, o, s,
               h, c] and/or NP [x, e, d, t, l, p] attributes
             - 'chk' is the field to be used by CTIR for the match [CDI, CGI,
               SDI, SGI]
             - 'cd' is the called number i.e. a sequence of max. 20 characters
               in the range [0..9, *, #, 'macro']
             - 'cg' is the calling number i.e. a sequence of max. 20 characters
               in the range [0..9, *, #, 'macro'].
             Both 'cd' and 'cg' can be optionally preceded by TON [u, i, n, o,
             s, h, c] and/or NP [x, e, d, t, l, p] and/or PI [a, r, m, q]
             and/or SI [y, v, w, z] attributes.
             (E.g. i55*,cgi,'CDI.S2',neq21).
             See HELP ISDN ATTRIBUTES for details on attributes.
             See HELP ISDN VALUES for details on meaning of special values.
IN2T item:   Sequence of two values separated by ',' (comma) e.g.: 'num,text',
             where:
             - 'num' is the number i.e. a sequence of max. 20 characters in the
               range [0..9, ?, *, #] optionally preceded by TON [u, i, n, o, s,
               h, c] and/or NP [x, e, d, t, l, p] attributes
             - 'text' is a string of max. 128 ASCII printable characters.
             Spaces are allowed. Items whith a text holding spaces must be
             written between quotation marks.
             (E.g.: "i555,my free text" or ux376445566,aaaaaa@bbbbbb.com).
             See HELP ISDN ATTRIBUTES for details on attributes.
             See HELP ISDN VALUES for details on meaning of special values.
TXT item:    String of max. 128 ASCII printable characters.
             Spaces are allowed. Items whith a text holding spaces must be
             written between quotation marks. (E.g.: "my free text")
OPC item:    Sequence of three values separated by ',' (comma) e.g.: 'a,u,i',
             where:
             - 'a' is the AbilisId i.e. max. 32 characters in the range
             ['0'..'9', 'A'..'Z', 'a'..'z'] or "*" or "(Local)"
             - 'u' is a User name, i.e. max. 32 ASCII characters or "*"
             - 'i' is an Interface type [* or ANY, CTIP, CLUS, SIP, IAX]
             (E.g. myAbilis,myUser,CTIP).
ICAUSE item: Sequence of three values separated by ',' (comma) e.g.: 'l,r,s',
             where:
             - 'l' is the ISDN location code, i.e. an hexadecimal value in the
               range [00..FF] or ISDN location mnemonic in the range [U, LPN,
               LN, TN, RN, RPN, INTL, BI] or "INT" or "EXT" or "ANY"
             - 'r' is the ISDN reason code or a range of ISDN reason codes,
               i.e. one hexadecimal value or two hexadecimal  values separated
               by ':' (colon) in the range [00..FF]
             - 's' is the connection state/phase, i.e. [CREQ, ALERT, ANY].
               The connection state/phase is optional and by default it is set
               to "CREQ".
             (E.g. EXT,91,ANY or 80,90:91,CREQ).
RU item:     Expression with Lists names and operators (AND, OR, NOT, NORM),
             separated by '.' (dot), where:
             - AND  is the logical AND operator;
             - OR   is the logical OR operator;
             - NOT  is the logical NOT operator;
             - NORM is an operator that enables the execution of multiple
               searches for equivalent number(s), by changing the number TON
               attribute to 'u' (unknown), to 'n' (national) and by last to 'i'
               (international).
               This operator is used only on ISDN numbers (IN).
             The lists contained in the expression should not be themselves of
             RU type.
             The expression can be preceeded by a macro, that will be applied
             to the number before executing the search in the list. The macro
             must be written between single quote and separated by '.' (dot)
             from the expression. The macro is used only on ISDN numbers (IN).
             (E.g.: List1.AND.List2 or NORM.List or 'u0'NUM.S3''.MyList).
MR item:     Expression with Lists names and operators (AND, OR, NOT, NORM),
             separated by '.' (dot), where:
             - AND  is the logical AND operator;
             - OR   is the logical OR operator;
             - NOT  is the logical NOT operator;
             - NORM is an operator that enables the execution of multiple
               searches for equivalent number(s), by changing the number TON
               attribute to 'u' (unknown), to 'n' (national) and by last to 'i'
               (international).
               This operator is used only on ISDN numbers (IN).
             The lists contained in the expression should not be themselves of
             MR type.
             The expression can be preceeded by a macro, that will be applied
             to the number before executing the search in the list. The macro
             must be written between single quote and separated by '.' (dot)
             from the expression. The macro is used only on ISDN numbers (IN).
             (E.g.: List1.AND.List2 or NORM.List or 'u0'NUM.S3''.MyList).

5.11.6. C LIST (Clear List item)

The command c list deletes items from a list.

[12:43:19] ABILIS_CPX:c list:home 0234865852

COMMAND EXECUTED

[12:53:25] ABILIS_CPX:d list:home

LIST:Home                 - IN                - Ref-Numb:0     Items-Numb:1    
     List_of_Home_numbers
     --------------------------------------------------------------------------
     0269548947  

The following command displays the syntax:

[12:43:19] ABILIS_CPX:c list: ?

C LIST:Name Item                        Remove an item from a list

Name            List name or list identifier [1..250].              <Mandatory>
Item            Item value               <Mandatory, Optional only for RU list>

C LIST:Name Order                       Remove an item from a DN list

Name            List name or list identifier [1..250].              <Mandatory>
Order           Order value of the DN item                          <Mandatory>

5.11.7. D ITEM

This command shows the elements table. Lists table can store up to 4000 definitions (indexed from 1 to 4000).

Element identifiers are sequential and they run only into the system, so they can't be used by the user in no one of the list manipulation commands.

If the elements table is empty, the message “NO ITEMS DEFINED” is generated.

[12:43:19] ABILIS_CPX:d item

Last change: 22/04/2015 11:24:18 CET

Used-Lists:  5     Used-Items:    5     Used-Resources:    397 (byte)
Free-Lists:245     Free-Items: 3995     Free-Resources: 644723 (byte)

Item  List Type   Value
-------------------------------------------------------------------------------
   1    2     IN 601
   2    3     IN 08351825431
   3    3     IN 200
   4    3     IN 901
   5    4     IN 0234865852
   6    4     IN 0269548947
-------------------------------------------------------------------------------
IN:ISDN Numbers,               XN:X25 NUAs,                CR:CPX resources,
INN:ISDN Numbers Normalized,   XU:X25 UDFs,                EC:CTI Clusters,
IS:ISDN Sub Addresses,         IP:IP Addresses,            MAC:MAC Addresses,
INR:ISDN Numbers Replacements, IR:IP Addresses Ranges,     DN:Dialing Numbers,
IN2T:ISDN Numbers to Text,     IPT:Internet Protocols,     TXT:Text,
CLNUM:CTI Clusters Numbers,    TUP:TCP/UDP ports ranges,
ICAUSE:ISDN Cause codes,       ICMPT:ICMP message Types,   RU:Rules,
OPC:OPC Unique User IDs,                                   MR:Master Rules.
-------------------------------------------------------------------------------

5.11.8. Type of lists

5.11.8.1. INR lists

INR lists are a special kind of lists with four fields: Number/Chk/CD/CG. These lists are useful to generate speed dials. They can be used:

  • in input fields (CDI, CGI, SDI, SGI) (in this case the match is done against the Number field);

  • in output fields to change CD or CG numbers, when the called number of the original call matches the Number field.

5.11.8.1.1. Example 1 - speed dials with sip user

Use the following command to create an inr list called 'inr':

[13:46:24] ABILIS_CPX:list create inr inr inr_test

COMMAND EXECUTED

[13:47:59] ABILIS_CPX:d list

- Not Saved (SAVE CONF) -------------------------------------------------------
Last change: 07/07/2015 11:20:01 CET

Used-Lists:  6     Used-Items:    5     Used-Resources:    419 (byte)
Free-Lists:244     Free-Items: 3995     Free-Resources: 644701 (byte)

 Id Name             Type   Description                Edt St RefN. First Numb
---+----------------+------+--------------------------+---+--+-----+-----+-----
  5 Home             IN     List_of_Home_numbers                  0     5     1
  2 PrivateIpAdd     IR     Automatically_generated...     R      0     1     4
  1 NumClus          CLNUM  Automatically_generated...     R      0     0     0
  6 inr              INR    inr_test                              0     0     0
  3 NumVoNet         INN    Automatically_generated...     R      0     0     0
  4 NumVoUser        INN    Automatically_generated...     R      0     0     0
-------------------------------------------------------------------------------
IN:ISDN Numbers,               XN:X25 NUAs,                CR:CPX resources,
INN:ISDN Numbers Normalized,   XU:X25 UDFs,                EC:CTI Clusters,
IS:ISDN Sub Addresses,         IP:IP Addresses,            MAC:MAC Addresses,
INR:ISDN Numbers Replacements, IR:IP Addresses Ranges,     DN:Dialing Numbers,
IN2T:ISDN Numbers to Text,     IPT:Internet Protocols,     TXT:Text,
CLNUM:CTI Clusters Numbers,    TUP:TCP/UDP ports ranges,
ICAUSE:ISDN Cause codes,       ICMPT:ICMP message Types,   RU:Rules,
OPC:OPC Unique User IDs,                                   MR:Master Rules.
-------------------------------------------------------------------------------

Now add an item to the list, indicating that it will be used to check the CDI number (Chk:CDI).

[13:55:42] ABILIS_CPX:a list:inr 1,cdi,111,110

COMMAND EXECUTED

[13:55:42] ABILIS_CPX:d list:inr

- Not Saved (SAVE CONF) -------------------------------------------------------
LIST:inr                  - INR               - Ref-Numb:0     Items-Numb:1    
     inr_test
   ----------------------------------------------------------------------------
   Number                 Chk CD                       CG
   1                      CDI 111                      110

Now create a routing to manage calls between SIP phones:

[13:58:55] ABILIS_CPX:a ctir pr:22 descr:test_inr poi:sip out:sip cdi:'inr' cdo:''inr'' cgo:''inr'' sp:64000 spout:64000 coders:g.711 codersout:g.711

COMMAND EXECUTED

[14:02:15] ABILIS_CPX:d ctire pr:22

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
Last change: 07/07/2015 11:30:01 CET

-------------------------------------------------------------------------------
PR:22  DESCR:test_inr
   ACT:YES  EDT:NO   BCI:VOICE                     BCO:*        EEC:NO
   NEXT:NO           POI:Sip   SR:#        GI:#    OUT:Sip
   LAST:ANY          CDI:'inr'                     CDO:''inr''
   T301:Dft          CGI:*                         CGO:''inr''
   UDT:NO            SDI:*                         SDO:*
   LCS:NO            SGI:*                         SGO:*
   LCST:Sys          RGI:*                         RGO:*
   IG:Sys       OG:Sys      SG:Sys      DL:Sys       DH:Sys
   FMRLY:Sys    FAXSP:AUTO  MODSP:AUTO  FMLVL:Sys    FMDJ:Sys   FMMJ:Sys
   SP:64000     SC:Sys      DJ:Sys      MJ:Sys                  ECM:SYS
   CODERS:G.711
   SPOUT:64000  SCOUT:*     DJOUT:*     MJOUT:*     
   CODERSOUT:G.711
   TI1:ALL,00:00-23:59                TI2:#  TI3:#  TI4:#  TI5:#  

The following is the log of a call from number 10 calling number 1. The log shows that the called number is 111 even if the real called number is 1. Besides the calling number has been changed because it has become 110.

[14:06:43] ABILIS_CPX:start ldme

Current Local Time: Tuesday 07/07/2015 11:45:01 (UTC+2.00)

Start Debug Log content real-time logging (Type CTRL+C + ENTER to stop):

Date   Time   Resource   Ses   Id   Event          Parameters
------ ------ ---------- ----- ---- -------------- --------------------------------------
070715 114501 CtiSip        28   28 E-CallRx       CH:16 BC:Speech CD:ue1 CG:uxq10 
                                                   USER:test 
                                                   CODERS:GSM6.10,SPEEX,G.711A,G.711u,ILB
                                                   C
070715 114501 CtiSip        28   28 E-Route Match  PR:22 
070715 114501 CtiSip        28   28 E-CallTx       BC:Speech TY:StoS CD:ue111 CG:uxq110 
                                                   CODERS:G.711A,G.711u
070715 114501 CtiSip        28   28 E-NumComplete  CDI:ue1 CDO:ue111
070715 114501 CtiSip        28   28 E-AlertRx      CH:17 USER:test2
070715 114501 CtiSip        28   28 E-AlertTx      CH:16
070715 114522 CtiSip        28   28 E-DiscRx       CH:16 CAUSE:80 9F (U, Normal, 
                                                   unspecified) USER:test
070715 114522 CtiSip        28   28 E-DiscConfTx   CH:16
070715 114522 CtiSip        28   28 E-DiscTx       CH:17 CAUSE:80 9F (U, Normal, 
                                                   unspecified) USER:test2

Displaying the active connections shows the same:

[14:08:13] ABILIS_CPX:d ctice

-------------------------------------------------------------------------------
SES:28   TYPE:StoS  ST:ALERT   PR:22           STI:07/00  STO:04/00  EEC:NO  
ID :28   START:07/07/2015 11:45:01        DURATION:0          REMAINING:-
        IN:Sip             BCI:Speech   OUT:Sip               BCO:Speech
      CDI:ue1                          CDO:ue111
      CGI:uxq10                        CGO:uxq110
      SDI:                             SDO:
      SGI:                             SGO:
      RGI:                             RGO:
      CODER:Unk      

Another possibility is to indicate the field of inr list to be used in a certain cti routing:

[14:18:51] ABILIS_CPX:s ctir pr:22 cdo:''inr.cg'' cgo:''inr.cd'' 

COMMAND EXECUTED

[14:19:21] ABILIS_CPX:d ctire pr:22

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
Last change: 07/07/2015 12:30:55 CET

-------------------------------------------------------------------------------
PR:22  DESCR:test_inr
   ACT:YES  EDT:NO   BCI:VOICE                     BCO:*        EEC:NO
   NEXT:NO           POI:Sip   SR:#        GI:#    OUT:Sip
   LAST:ANY          CDI:'inr'                     CDO:''inr.CG''
   T301:Dft          CGI:*                         CGO:''inr.CD''
   UDT:NO            SDI:*                         SDO:*
   LCS:NO            SGI:*                         SGO:*
   LCST:Sys          RGI:*                         RGO:*
   IG:Sys       OG:Sys      SG:Sys      DL:Sys       DH:Sys
   FMRLY:Sys    FAXSP:AUTO  MODSP:AUTO  FMLVL:Sys    FMDJ:Sys   FMMJ:Sys
   SP:64000     SC:Sys      DJ:Sys      MJ:Sys                  ECM:SYS
   CODERS:G.711
   SPOUT:64000  SCOUT:*     DJOUT:*     MJOUT:*     
   CODERSOUT:G.711
   TI1:ALL,00:00-23:59                TI2:#  TI3:#  TI4:#  TI5:#  

In this case, CDO is equal to CG item of the inr list and CGO is equal to CD item of the same list. The following is the log of the speed dial:

[14:20:56] ABILIS_CPX:start ldme

Current Local Time: Tuesday 07/07/2015 12:46:55 (UTC+2.00)

Start Debug Log content real-time logging (Type CTRL+C + ENTER to stop):

Date   Time   Resource   Ses   Id   Event          Parameters
------ ------ ---------- ----- ---- -------------- --------------------------------------
070715 124705 CtiSip        31   31 E-CallRx       CH:22 BC:Speech CD:ue1 CG:uxq10 
                                                   USER:test 
                                                   CODERS:GSM6.10,SPEEX,G.711A,G.711u,ILB
                                                   C
070715 124705 CtiSip        31   31 E-Route Match  PR:22 
070715 124705 CtiSip        31   31 E-CallTx       BC:Speech TY:StoS CD:ue110 CG:uxay111 
                                                   CODERS:G.711A,G.711u
070715 124705 CtiSip        31   31 E-NumComplete  CDI:ue1 CDO:ue110
070715 124706 CtiSip        31   31 E-AlertRx      CH:23 USER:test2
070715 124706 CtiSip        31   31 E-AlertTx      CH:22
070715 124720 CtiSip        31   31 E-DiscRx       CH:22 CAUSE:80 9F (U, Normal, 
                                                   unspecified) USER:test
070715 124720 CtiSip        31   31 E-DiscConfTx   CH:22
070715 124720 CtiSip        31   31 E-DiscTx       CH:23 CAUSE:80 9F (U, Normal, 
                                                   unspecified) USER:test2

The cti connection shows the same information in a different way:

[14:21:16] ABILIS_CPX:d ctice

-------------------------------------------------------------------------------
SES:31   TYPE:StoS  ST:ALERT   PR:22           STI:07/00  STO:04/00  EEC:NO  
ID :31   START:07/07/2015 12:47:05        DURATION:0          REMAINING:-
        IN:Sip             BCI:Speech   OUT:Sip               BCO:Speech
      CDI:ue1                          CDO:ue110
      CGI:uxq10                        CGO:uxay111
      SDI:                             SDO:
      SGI:                             SGO:
      RGI:                             RGO:
      CODER:Unk