This command reports the current situation of the the CTISMS resource:
[10:52:40] ABILIS_CPX:d d ctisms
RES:CtiSms --------------------------------------------------------------------
       Short_Message_Service                                                   
       STATE:ACTIVE
       ------------------------------------------------------------------------
       APP:SMTP           APP-STATE:CLOSED
       APP:FILE           APP-STATE:OPENED
       APP:DISA           APP-STATE:OPENED
       APP:CTIVO          APP-STATE:OPENEDThe meaning:
STATEThe CTISMS driver state:
INACTIVE - CTISMS driver does not
                process pending queues and does not accept messages neither
                from applications nor from CTIP.
ACTIVE - CTISMS driver fully
                active.
APPApplication identifier.
APP-STATEState of CTISMS application: CLOSED,
            OPENED.
This command can help to understand what is happening, in case of troubles:
[10:52:49] ABILIS_CPX:d s ctisms
RES:CtiSms --------------------------------------------------------------------
       Short_Message_Service                                                   
       --- Cleared 2 days 22:55:33 ago, on 05/06/2015 at 14:04:00 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SUCC-MSG   |          0|          0|FAIL-MSG   |          0|          0|
       MSG-EXP    |          0|          0|           |           |           |
       FRAG-SUCC  |          0|           |FRAG-FAIL  |          0|           |
       FRAG-EXP   |          0|           |FRAG-TBLOVF|          0|           |
       DEFRAG-OK  |          0|           |
       ------------------------------------------------------------------------
       ------------------------------------------------------------------------
       APP:SMTP
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       MSG-SUCC   |          0|          0|MSG-FAIL   |          0|          0|
       ------------------------------------------------------------------------
       APP:FILE
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       MSG-SUCC   |          0|          0|MSG-FAIL   |          0|          0|
       ------------------------------------------------------------------------
       APP:DISA
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       MSG-SUCC   |          0|          0|MSG-FAIL   |          0|          0|
       ------------------------------------------------------------------------
       APP:CTIVO
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       MSG-SUCC   |          0|          0|MSG-FAIL   |          0|          0|
       ------------------------------------------------------------------------With reference to the shown interval of time («Cleared 2 days 22:55:33 ago») these counters show the number of:
SUCC-MSG | Messages successfully received from/sent to CTIP. | 
FAIL-MSG | IN - messages received with errors from CTIP. OUT - messages sent to CTIP that failed. | 
MSG-EXP | Non-delivered IN/OUT message - expired lifetime. | 
FRAG-SUCC | Successful fragments from GSM port. | 
FRAG-FAIL | Unsuccessful fragments from GSM port. | 
FRAG-EXP | Fragments with expired LifeTime. | 
FRAG-TBLOVF | Deleted fragments because fragments table is full. | 
DEFRAG-OK | Complete messages composed from fragments from GSM port and sent to CTISMS router. | 
APP:SMTP/APP:FILE/APP:DISA/APP:CTIVO
              MSG-SUCC | Incoming/outgoing messages from/to application. | 
APP:SMTP/APP:FILE/APP:DISA/APP:CTIVO
              MSG-FAIL | IN - incoming incorrect messages from application. OUT - failure outgoing message to application. | 
Type the following command to view allowed commands:
[14:25:25] ABILIS_CPX:debug res:ctisms
RES:CtiSms --------------------------------------------------------------------
       Short_Message_Service                                                   
       BufferLength:64512  Date/Time:16/09/2020 14:25:55 TraceTime:95573531
SMS router: Debug info
 LSN: 0  This help
 LSN: 1  Driver object (bin)
 LSN: 2  Statistics
 LSN: 3  List of applications
 LSN: 10 SMS RTR trace
 LSN: 11 SMS RTR trace clear 
Subcommands:
 SMS:PO: | AP:,CG:,TX:,[CD:] - Simulate generate SMS
   where
   PO: - CTIP (only digits) - CTISMS IN routing - mandatory
   AP: - Application identifier (FILE, SMTP) - CTISMS OUT routing - mandatory
   CD: - Called number (TON and NP are allowed) - optional
   CG: - Calling number (TON and NP are allowed) - mandatory
   TX: - SMS text (space must be replaced by '_') - mandatory
 
 Pxx - Port identifier - equal to CTI port
 S - SMS storage
 Axx - Application number
 D - SMS defragmentater
 Cxx - CLEAR SMS FROM SMS RTR Type the following command to view the CTISMS List of applications:
[14:31:39] ABILIS_CPX:debug res:ctisms lsn:3 
RES:CtiSms --------------------------------------------------------------------
       Short_Message_Service                                                   
       BufferLength:64512  Date/Time:16/09/2020 14:32:02 TraceTime:95940817
SMS router: list of applications
-----+------+------------
ID   |Opened| Application
-----+------+------------
0    |   YES|        DISA
1    |   YES|        FILE
2    |    NO|           -
3    |    NO|           -
-----+------+------------