11.6. CTI GSM/UMTS ports diagnostics and statistics

11.6.1. Diagnostics of CTI GSM/UMTS ports

To show the diagnostics of the CTI Ports the following commands are used:

d d ctip / d de ctip

shows the following information:

OPSTATE

The overall state of the port.

VOICE-STATE

The overall state of the GSM VOICE connection.

PDN-STATE

The overall state of the PDN (Packet Data Network) connection.

SMS-STATE

The overall state of the SMS channel.

NET

The currently used GSM network name.

ROAMING

Shows if the currently used UMTS/GSM network is ROAMING type.

NET-MODE

Shows if the currently used network is GSM or UMTS.

SIGNAL

Signal quality (0 = -113 dBm or less, 1..30 = -111.. -53 dBm, 31 = -51 dBm, or greater 99 = not known or not detectable, 100 = N/A value when device isn't connected)

RXQUAL

The value of BER (bit error rate) of the existing call.

IMEI

Internation Mobile Equipment Identity number.

IMSI

Internation Mobile Subscriber Identity number.

SIM

SIM card identification number.

SMSC

SMS Center number.

PWR-CONS-mA

The value of the current power consumption of the GSM module.

TEMP

The value of the current temperature of the GSM module.

CODEC-ISO-BW

Indicates the bandwidth of the AUDIO-CODEC ISO interface.

CELL

Shows if the hot-pluggable device is connected or not.

CELL-STATE

Shows the state of the USB interface of the GSM USB module.

CELL-ERR

Shows the reason of the not READY GSM module.

CODEC

Shows if the hot-pluggable device is connected or not.

CODEC-STATE

Shows the state of the USB interface of the CODEC module.

CODEC-ERR

Shows the reason of the not READY GSM codec.

SIMEMU

Shows if the hot-pluggable device is connected or not.

SIMEMU-STATE

Shows the state of the USB interface of the SIMEMU (PIC) module.

SIMEMU-ERR

Shows the reason of the not READY GSM SIMEMU (PIC).

d d ctip:<CTIP_number> / d de ctip:<CTIP_number>

Shows the diagnostics of a single port.

Diagnostics of a CTI GSM/UMTS port when no calls are running:

[09:21:45] ABILIS_CPX:d d ctip:202

CTIP:202 ----------------------------------------------------------------------
       SIM_3204748405_(EX_RETENOI_3276270837)
       OPSTATE:UP          STATE:UP
       ------------------------------------------------------------------------
       CH: STATE: [Q932-STATE:] CG: [SG:]               CD: [SD:]
       ------------------------------------------------------------------------
                         *** All channels disconnected ***
       ------------------------------------------------------------------------
       VOICE-STATE:READY       PDN-STATE:READY         SMS-STATE:READY
       ------------------------------------------------------------------------
       NET:H3G                 ROAMING:NO              NET-MODE:UMTS
       SIGNAL:17               SIGNAL-dbm:-79          RXQUAL:0
       IMEI:35739601224756     IMSI:22299220520719     SIM:N/A
       SMSC:+393916263333
       PWR-CONS-mA:N/A         TEMP-Celsius:N/A        CODEC-ISO-BW:1304000
       CELL:CONNECTED          CELL-STATE:READY        CELL-ERR:NONE
       CODEC:CONNECTED         CODEC-STATE:READY       CODEC-ERR:NONE
       SIMEMU:CONNECTED        SIMEMU-STATE:READY      SIMEMU-ERR:NONE

Diagnostics of a CTI GSM port when a call is running:

[09:23:17] ABILIS_CPX:d d ctip:202

CTIP:202 ----------------------------------------------------------------------
       SIM_xxxxxxxxxx
       OPSTATE:UP          STATE:UP
       ------------------------------------------------------------------------
       CH: STATE: [Q932-STATE:] CG: [SG:]               CD: [SD:]
       ------------------------------------------------------------------------
       1   07-LOC-ALERT         779                     xxxxxxxxxx
       ------------------------------------------------------------------------
       VOICE-STATE:IN-USE      PDN-STATE:READY         SMS-STATE:READY
       ------------------------------------------------------------------------
       NET:H3G                 ROAMING:NO              NET-MODE:UMTS
       SIGNAL:17               SIGNAL-dbm:-79          RXQUAL:0
       IMEI:35739601224756     IMSI:22299220520719     SIM:N/A
       SMSC:+393916263333
       PWR-CONS-mA:N/A         TEMP-Celsius:N/A        CODEC-ISO-BW:1304000
       CELL:CONNECTED          CELL-STATE:READY        CELL-ERR:NONE
       CODEC:CONNECTED         CODEC-STATE:READY       CODEC-ERR:NONE
       SIMEMU:CONNECTED        SIMEMU-STATE:READY      SIMEMU-ERR:NONE
[Tip]Tip

CODEC-ISO-BW shows the USB Isochronous bandwidth reserved on the USB controller to serve the CTIP. The audio codec always reserve the bandwidth of TWO CTIP even if one is disabled.

This is what appears in the CTIR Connection (from PBX port group to GSM gateway):

[12:06:44] ABILIS_CPX:d ctic

ID    Type Input    Output   PR  State  Cgi (Calling In)   Cdo (Called Out)
----- ---- -------- -------- --- ------ ------------------ --------------------
1999  VtoC 31  G1   Clus1    7   ACTIVE 711                3482233445
2000  CtoV Clus2    202 G3   5   ACTIVE 711                3482233445

11.6.2. Statistics of CTI GSM/UMTS ports

To show the statistics of the CTI GSM/UMTS ports the following commands are used:

d s ctip / d se ctip

Shows the statistics of all the CTI ports such as the number of calls (successfull and unsuccessfull), the duration of the calls, the number of connection/disconnection of the GSM/UMTS device, the number of connection/disconnection of the audio-codec device and the number of CELL packets exchanged.

d s ctip:<CTIP_number> / d se ctip:<CTIP_number>

Shows the statistics of a single CTI port.

[16:14:19] ABILIS_CPX:d s ctip:201

CTIP:201 ----------------------------------------------------------------------
       SIM-3883634235
       --- Cleared 1 days 20:30:24 ago, on 25/10/2010 at 21:36:22 -------------
       Layer 3 Q.931
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FAIL-CALL  |          0|          0|SUCC-CALL  |          0|          0|
       TIME-CALL  |          0|          0|
       ------------------------------------------------------------------------
       Layer 2 PDN
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PDN-CALL   |           |          0|PDN-CHAR   |          0|          0|
       PDN-TIME   |           |          0|PDN-FRM    |          0|          0|
       PDN-TIME-15|           |          0|PDN-LOST   |          0|          0|
                  |           |           |PDN-LONG   |          0|          0|
       ------------------------------------------------------------------------
       Layer 2 SMS
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SMS        |          0|          0|SMS-FAIL   |          0|          0|
       ------------------------------------------------------------------------
       Layer 1 CELL (GSM/UMTS)
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CELL-DISC  |          0|           |CODEC-DISC |          0|           |
       CELL-CONN  |          1|           |CODEC-CONN |          1|           |
       CELL-MANRST|          0|           |CODEC-RST  |          0|           |
       CELL-AUTRST|          0|           |CODEC-UND  |           |          0|
       CELL-HWRST |          0|           |CODEC-HWRST|          0|           |
       CELL-OVR   |          0|           |CODEC-OVR  |          0|           |
       CELL-PCK   |      62814|      31405|CODEC-PCK  |  160264475|  160265051|
       ------------------------------------------------------------------------
       SIMEMU-DISC|          0|           |           |           |           |
       SIMEMU-CONN|          1|           |           |           |           |
       SIMEMU-RST |          0|           |           |           |           |
       SIMEMU-PCK |          5|          3|           |           |           |
       SIMEMU-PCKH|          0|          0|           |           |           |
       ------------------------------------------------------------------------
       RSIM CELL (UMTS)
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       RSIM-SUCC  |           |          0|RSIM-PCK   |          0|          0|
       RSIM-FAIL  |           |          0|RSIM-CHAR  |          0|          0|
       RSIM-DISC  |          0|          0|SIM-RESET  |          0|           |
       ------------------------------------------------------------------------