55.2. CTISMS Routing

55.2.1. CTISMS IN routing

This table contains routings for incoming messages. Each routing is identified with a priority number (PR parameter). Use the following message to display the rules:

[14:14:05] ABILIS_CPX:d ctisms in

----+-------+-----+------------------------+-------------------------+---------
PR: |ACT:   |POI: |CG:                     |TEXT:                    |LIFETIME:
    |RULE:  |DEST:|DFT-RCPT:                                         |HEADER:
----+-------+-----+--------------------------------------------------+---------
0    NO      *     *                                                  21600
     MAIL    SMTP  SYS                                                REMOVE
-------------------------------------------------------------------------------

Rules can be managed using the standard syntax:

a/s/c/m ctisms in pr:x parameter:<value>...

The command d ctisms in ? displays the meaning of parameters:

PR

Priority of CTISMS routing for incoming messages [A, 0..63].

ACT

Enable/DIsable the record.

POI

Allowed CTI port or group [*, NONE, 1..600, G1..G32]

CG

Allowed calling numbers/prefixes. From 1 up to 20 characters, in the range ['0'..'9', '*'] or "#" 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 or the name of an IN/IN2T/INR/RU/MR list between primes. The '*' is allowed only alone or as the last character. (E.g. # or ne# or 1234567 or 4567* or * or 'my_list').

DEST

Destination application [SMTP: To route the incoming SMS via email, DISA: Callback is made to the number which is sender of the SMS, and once call is established DISA will make outgoing call to the number specified in the SMS, CTIVO: To route the incoming SMS via CTIVO].

DFT-RCPT

SMTP recipient(s) for default route. "SYS" or "#" or from 0 up to 128 ASCII printable characters. Spaces are not allowed. Case is preserved. <Only for DEST:SMTP>

LIFETIME

Maximal time a message can be kept in the incoming queue.

HEADER

Treatment of the message part used for routing [REMOVE, KEEP]. The initial part of the message used for routing can be removed or kept prior to pass the message to the application. Typically it will be necessary to remove it.

RULE

Message verification rule [MAIL: message is checked according to MAIL rule, PREFIX: message is checked according to PREFIX rule].

TEXT

First part of the message for matching PREFIX rule. From 0 up to 20 ASCII characters. Case is preserved. Spaces are allowed. Strings holding spaces must be written between quotation marks (E.g.: "my text"). <Only for RULE:PREFIX>.

[Note]Note

When a SMS is received, an email is sent to the configured recipient. The mail subject contains the information of the port on which the message has been received.

55.2.2. CTISMS OUT routing

This table contains the routings for outgoing messages. Each routing is identified with a priority number (PR parameter). Use the following message to display the rules:

[14:52:55] ABILIS_CPX:d ctisms out  

----+-------+-------------------------+-----+---------+-------+-------+--------
PR: |ACT:   |CD:                      |POO: |LIFETIME:|DELAY: |SPLIT: |UNICODE:
    |SOURCE:|SENDER-ID:
----+-------+-------------------------+-----+---------+-------+-------+--------
0    NO      *                         501   1800      300     SYS     SYS
     SMTP    *
-------------------------------------------------------------------------------
1    NO      *                         501   1800      300     SYS     SYS
     FILE    *
-------------------------------------------------------------------------------

Rules can be managed using the standard syntax:

a/s/c/m ctisms out pr:x parameter:<value>...

The command d ctisms in ? displays the meaning of parameters:

PR

Priority of CTISMS routing for incoming messages [A, 0..63].

ACT

Enable/DIsable the record.

CD

Allowed called numbers/prefixes. From 1 up to 20 characters, in the range ['0'..'9', '*'] or "#" optionally preceded by TON [u, i, n, o, s, h, c] and/or NP [x, e, d, t, l, p] attributes or the name of an IN/IN2T/INR/RU/MR list between primes. The '*' is allowed only alone or as the last character. (E.g. # or ne# or 1234567 or 4567* or * or 'my_list').

POO

Output CTI Port or group [NONE, 1..300, G1..G32].

LIFETIME

Maximal time a message can be kept in the outgoing queue [10..1048576 sec].

DELAY

Delay betyween subsequent attempts [60..3600 sec].

SPLIT

Maximal number of SMS for a single outgoing message [SYS, 1..4].

UNICODE

Allow/disallow UNICODE encoding [SYS, NO, YES].

SOURCE

Source application [SMTP: SMTP application, FILE: FILE to SMS application].

SENDER-ID

Textual identifier of the sender. "*" or from 1 up to 64 ASCII charcters or the name of TXT list between primes. Case is preserved. Spaces are allowed. Strings holding spaces must be written between quotation marks (E.g.: "my sender id" or * or 'listname').