50.9. CTIDISA diagnostics and statistics

50.9.1. CTIDISA diagnostics

The following commands are used to display the diagnostics of the CTIDISA resource:

d d ctidisa

Shows diagnostic information, such as the state resource, the number of used channels, the name of the identified user and service, the Q931 state of the incoming/outgoing call, the calling/called number of the incoming/outgoing call, the connection time of the current incoming/outgoing call, the current number of loop.

d de ctidisa

Shows diagnostic information in an extended format: the same information listed for d d ctidisa and in addition the call identifier of incoming/outgoing call, the internal state of the channel, the type of tone/message and the name of CTISYS tone or Vocal message which are playing.

[03:45:23] ABILIS_CPX:d d ctidisa

RES:CtiDisa -------------------------------------------------------------------
       Direct_Inward_System_Access
       STATE:ACTIVE    USED-CHAN:0
       - DISA Channels diagnostics --------------------------------------------
       CH: User             Q931State-In  CGI                  Time-In    Nrty
           Service          Q931State-Out CDO                  Time-Out   Loop
       ------------------------------------------------------------------------
       0                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       1                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       2                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       3                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       4                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       5                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       6                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       7                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       8                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
       9                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
       ------------------------------------------------------------------------
[03:56:05] ABILIS_CPX:d de ctidisa

RES:CtiDisa -------------------------------------------------------------------
       Direct_Inward_System_Access
       STATE:ACTIVE    USED-CHAN:0
       - DISA Channels diagnostics --------------------------------------------
       CH: User             Q931State-In  CGI                  Time-In    Nrty
           Service          Q931State-Out CDO                  Time-Out   Loop
           Id-In   Id-Out   Phase         Playing       Tone/Message
       ------------------------------------------------------------------------
       0                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       1                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       2                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       3                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       4                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       5                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       6                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       7                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       8                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------
       9                    DISCONNECTED                       0          0
                            DISCONNECTED                       0          0
           0       0
       ------------------------------------------------------------------------

50.9.2. CTIDISA statistics

The following commands are used to display the statistics of the CTIDISA resource:

d s ctidisa

Shows statistic information, such as the number of incoming/outgoing calls, the number of incoming/outgoing calls that reached ACTIVE state, the number of incoming/outgoing calls that were closed prior to reach ACTIVE state, the number of incoming/outcoming voice frames;

d se ctidisa

Shows statistic information in an extended format: the same information listed for d s ctidisa command are shown for each channel.

[22:15:27] ABILIS_CPX:d s ctidisa

RES:CtiDisa -------------------------------------------------------------------
       Direct_Inward_System_Access
       --- Cleared 091:01:20:34 ago, on 26/05/2015 at 04:51:42 ----------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-CALL     |       5182|           |I-SUCC-CALL|       5107|           |
       I-TIME-CALL|     695438|           |I-FAIL-CALL|          0|           |
       I-VOICE-FRM|   34847445|   40743886|           |           |           |
       O-CALL     |           |       4369|O-SUCC-CALL|           |       4010|
       O-TIME-CALL|           |     592376|O-FAIL-CALL|           |       1000|
       O-VOICE-FRM|   26127200|   26127186|
       ------------------------------------------------------------------------
[22:15:30] ABILIS_CPX:d se ctidisa

RES:CtiDisa -------------------------------------------------------------------
       Direct_Inward_System_Access
       --- Cleared 091:01:21:12 ago, on 26/05/2015 at 04:51:41 ----------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-CALL     |       5182|           |I-SUCC-CALL|       5107|           |
       I-TIME-CALL|     695438|           |I-FAIL-CALL|          0|           |
       I-VOICE-FRM|   34847445|   40743886|           |           |           |
       O-CALL     |           |       4369|O-SUCC-CALL|           |       4010|
       O-TIME-CALL|           |     592376|O-FAIL-CALL|           |       1000|
       O-VOICE-FRM|   26127200|   26127186|
       ------------------------------------------------------------------------
       CH:0
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|       1096|       1098|I-DTMF     |          1|           |
       O-VOICE-FRM|          0|          0|
       ------------------------------------------------------------------------
       CH:1
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|       8805|      10777|I-DTMF     |          1|           |
       O-VOICE-FRM|       5981|       5981|
       ------------------------------------------------------------------------
       CH:2
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|      17402|      18212|I-DTMF     |          1|           |
       O-VOICE-FRM|      16219|      16219|
       ------------------------------------------------------------------------
       CH:3
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|      18028|      22767|I-DTMF     |          1|           |
       O-VOICE-FRM|      12621|      12621|
       ------------------------------------------------------------------------
       CH:4
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|       1289|       2045|I-DTMF     |          1|           |
       O-VOICE-FRM|          0|          0|
       ------------------------------------------------------------------------
       CH:5
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|       6285|       8882|I-DTMF     |          1|           |
       O-VOICE-FRM|       2996|       2996|
       ------------------------------------------------------------------------
       CH:6
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|       8851|      13394|I-DTMF     |          1|           |
       O-VOICE-FRM|       3016|       3016|
       ------------------------------------------------------------------------
       CH:7
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|          0|          0|I-DTMF     |          0|           |
       O-VOICE-FRM|          0|          0|
       ------------------------------------------------------------------------
       CH:8
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|          0|          0|I-DTMF     |          0|           |
       O-VOICE-FRM|          0|          0|
       ------------------------------------------------------------------------
       CH:9
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       I-VOICE-FRM|          0|          0|I-DTMF     |          0|           |
       O-VOICE-FRM|          0|          0|
       ------------------------------------------------------------------------

50.9.3. Advanced Debug of the CtiDisa resource

This section shows the commands used to view the state of the calls and the queues of the CtiDISA resource.

[Note]Note

To use these commands you need to have administrator or super user rights.

Type tyhe following command to view the commands allowed:

[03:59:00] ABILIS_CPX:debug res:ctidisa lsn:0

RES:CtiDisa -------------------------------------------------------------------
       Direct_Inward_System_Access                                             
       BufferLength:925    Date/Time:29/05/2015 11:36:01 TraceTime:255539387

DISA port: Debug info
 LSN:0             - This help message
 LSN:1             - Driver object (bin)
 LSN:2             - Diagnostics/statistics (txt)
 LSN:3             - DISA Log (txt)
 LSN:3 CMD:CLR     - Clear DISA Log (txt)
 LSN:3 CMD:SES:X   - Show DISA Log of session (txt)
 LSN:3 CMD:SET:[DFT | CLR | FULL | [level, ...]] - Set Log event mask
           No parameters - show current events log mask
           DFT     - Log default events (ERR events only)
           CLR     - Clear Log event mask
           FULL    - Log all events
           levels:
           ERR     - Log ERROR events
           WARN    - Log WARNING events
           INFO    - Log INFO events
           DEBUG   - Log DEBUG events
 LSN:100           - FRMWR test (txt)
 LSN:200           - Start tracing of voice frames (txt)
 LSN:201           - Stop tracing of voice frames (txt)
Subobjects:
 CMD:Cx   Channel (0-y)

The following command shows the number of used channels and the number of the used/free queues.

[10:55:10] ABILIS_CPX:debug res:ctidisa lsn:2

RES:CtiDisa -------------------------------------------------------------------
       Direct_Inward_System_Access                                             
       BufferLength:679    Date/Time:29/05/2015 11:36:36 TraceTime:255574575

DISA port - diagnostics/statistics

--------------+----------
Name          |     Value
--------------+----------
State         |    ACTIVE
Used channels |         0
FIFO - used   |         0
FIFO - free   |        30
--------------+----------
------------+----------
Name        |     Value
------------+----------
Event IN    |         5
Event OUT   |         4
Call IN     |         2
Call ACC    |         2
Call REJ    |         0
Voice IN    |       119
Voice OUT   |       116
Handle OPN  |         2
Handle CLS  |         2
Handle DSC  |         0
Timer RSQ   |         0
Timer CLR   |         0
Timer EXP   |         0
------------+----------