12.4. CTI GSM/UMTS ports diagnostics and statistics

12.4.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:

USER

Name of the user assigned to this port. From 1 up to 32 ASCII characters or "#". The user must be present and it must not be already assigned to another port.

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, UMTS or LTE.

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.

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.

CONTROL

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

CONTROL-STATE

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

CONTROL-ERR

Shows the reason of the not READY GSM CONTROL (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:502

CTIP:502 ----------------------------------------------------------------------
       SIM_3204748405_(EX_RETENOI_3276270837)
       USER:#                                 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:WIND                NET-MODE:GSM            ROAMING:NO
       SIGNAL:22               SIGNAL-dbm:-69          RXQUAL:0
       IMEI:357396012653490    IMSI:222881451579032    SIM:8939883345002210328
       SMSC:+393205858500      CODEC-ISO-BW:1304000    SIM-SEL:FIX-SIM-A
       CELL-MODEL:SIM5210      CELL-VER:V1.92          CELL-FEAT:VOICE,DATA,SMS
       CELL:CONNECTED          CELL-STATE:READY        CELL-ERR:NONE
       CODEC:CONNECTED         CODEC-STATE:READY       CODEC-ERR:NONE
       CONTROL:CONNECTED       CONTROL-STATE:READY     CONTROL-ERR:NONE

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

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

CTIP:502 ----------------------------------------------------------------------
       SIM_xxxxxxxxxx
       USER:#                                 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:WIND                NET-MODE:GSM            ROAMING:NO
       SIGNAL:22               SIGNAL-dbm:-69          RXQUAL:0
       IMEI:357396012653490    IMSI:222881451579032    SIM:8939883345002210328
       SMSC:+393205858500      CODEC-ISO-BW:1304000    SIM-SEL:FIX-SIM-A
       CELL-MODEL:SIM5210      CELL-VER:V1.92          CELL-FEAT:VOICE,DATA,SMS
       CELL:CONNECTED          CELL-STATE:READY        CELL-ERR:NONE
       CODEC:CONNECTED         CODEC-STATE:READY       CODEC-ERR:NONE
       CONTROL:CONNECTED       CONTROL-STATE:READY     CONTROL-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 reserves 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

SES  ID   Type Input    Output   PR  State  Cgi (Calling In)    Cdo (Called Out)
---- ---- ---- -------- -------- --- ------ ------------------- --------------------
2    2    TR   G1       502      3   ACTIVE 711                 3482233445       
d d ctip:<CTIP_number> netscan

Scanning available networks.

Example of NETSCAN:

[10:54:26] ABILIS_CPX:d d ctip:501 netscan

THE COMMAND WILL SEARCH ALL AVAILABLE NETWORKs.
THIS OPERATION MAY TAKE FEW MINUTES.
PROCEED ANYWAY (N/Y)?y

CTIP:501 ----------------------------------------------------------------------
       SIM_xxxxxxxxxx
       USER:#                                 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:WIND                NET-MODE:GSM            ROAMING:NO
       SIGNAL:22               SIGNAL-dbm:-69          RXQUAL:0
       IMEI:357396012653300    IMSI:222881672196219    SIM:8939880367011211389
       SMSC:+393205858500      CODEC-ISO-BW:1304000    SIM-SEL:FIX-SIM-A
       CELL-MODEL:SIM5210      CELL-VER:V1.92          CELL-FEAT:VOICE,DATA,SMS
       CELL:CONNECTED          CELL-STATE:READY        CELL-ERR:NONE
       CODEC:CONNECTED         CODEC-STATE:READY       CODEC-ERR:NONE
       CONTROL:CONNECTED       CONTROL-STATE:READY     CONTROL-ERR:NONE
       - Available Networks ---------------------------------------------------
       Status:       Name:             Code:           Mode:
       CURRENT       WIND              22288           GSM       
       AVAILABLE     WIND              22288           UMTS      
       AVAILABLE     3ITA              22299           UMTS      
       FORBIDDEN     OMNITEL           22210           GSM       
       FORBIDDEN     OMNITEL           22210           UMTS      
       FORBIDDEN     TIM               22201           UMTS      
       FORBIDDEN     TIM               22201           GSM       
[Note]Note

If NETSCAN cannot be executed for any reason, e.g. because there is an active call or the module is disconnected, the message *** CANNOT EXECUTE NETSCAN *** is printed.

12.4.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 (successful and unsuccessful), 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:501

CTIP:501 ----------------------------------------------------------------------
       SIM-3883634235
       USER:#                                 
       --- Cleared 0 days 19:47:27 ago, on 14/05/2015 at 19:23:22 -------------
       Layer 3 Q.931
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FAIL-CALL  |          0|          0|SUCC-CALL  |          2|          0|
       TIME-CALL  |         48|          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|           |           |           |           |
       CELL-CONN  |          1|           |           |           |           |
       CELL-MRST  |          0|           |           |           |           |
       CELL-ARST  |          0|           |           |           |           |
       CELL-HWRST |          0|           |           |           |           |
       CELL-PCK   |      68796|      34389|           |           |           |
       CELL-OVR   |          0|           |           |           |           |
       ------------------------------------------------------------------------
       CODEC-DISC |          0|           |CONTR-DISC |          0|           |
       CODEC-CONN |          1|           |CONTR-CONN |          1|           |
       CODEC-MRST |          0|           |CONTR-MRST |          0|           |
       CODEC-ARST |          0|           |CONTR-ARST |          0|           |
       CODEC-HWRST|          0|           |           |           |           |
       CODEC-PCK  |   71240766|   71241074|CONTR-PCK  |      71254|      71255|
       CODEC-OVR  |          0|           |CONTR-PCKH |          0|          0|
       CODEC-UND  |           |          0|           |           |           |
       ------------------------------------------------------------------------