47.9. CTIDISA diagnostics and statistics

47.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
       ------------------------------------------------------------------------

47.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 01/10/2007 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 01/10/2007 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|
       ------------------------------------------------------------------------

47.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:288    Date/Time:14/11/2010 03:59:07 TraceTime:<NotRunning>

DISA port: Debug info
 LSN:0  This help message
 LSN:1  Driver object (bin)
 LSN:2  Diagnostics (txt)
 LSN:3  Statistics (txt)
 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:243    Date/Time:25/06/2007 10:55:14 TraceTime:<NotRunning>

DISA port - diagnostics

--------------+----------
Name          |     Value
--------------+----------
State         |    ACTIVE
Used channels |         2
FIFO - used   |         0
FIFO - free   |        29
--------------+----------

The following command shows the statistics of the calls.

[10:55:57] ABILIS_CPX:debug res:ctidisa lsn:3

RES:CtiDisa -------------------------------------------------------------------
       Direct_Inward_System_Access
       BufferLength:451    Date/Time:25/06/2007 10:55:59 TraceTime:<NotRunning>

DISA port - statistics

------------+----------
Name        |     Value
------------+----------
Event IN    |     14397
Event OUT   |     12300
Call IN     |      1440
Call ACC    |      1440
Call REJ    |         0
Voice IN    |  11835552
Voice OUT   |  13004449
Handle OPN  |      3525
Handle CLS  |      3523
Handle DSC  |         0
Timer RSQ   |      3960
Timer CLR   |      2492
Timer EXP   |      1468
------------+----------