7.2. Debug Log (Events Log)

Debug log stores events pertinent to connection's opening/closing and to port's state changes.

Information provided by Debug log can be sent to technical support using email address tem@antek.it.

Events registered in the Debug Log are grouped in the following classes:

Events are stored in buffer of fixed length that is kept in memory. The buffer maintains the more recent events, eliminating the oldest.

[Note]Note

Usually the Debug Log can store events for few days; however this time interval depends on the number and the type of events to record, which can also change from customer to customer.

The Debug Log content is transferred from the memory to the file CPX.DBG in two cases: in correspondence to the user request.

[Note]Note

The command is available also from MFIDE panel.

Debug log can be visualized with the following.

[18:01:34] ABILIS_CPX:d ldm

Current Local Time: Friday 14/01/2011 10:00:55 (UTC+1.00)

Date   Time   Resource   Ses   Event          Parameters
------ ------ ---------- ----- -------------- ---------------------------------
140111 115547 CtiCl-18    3225 E-CallRx       CH:61 BC:3.1kHz CD:425 CG:706
140111 115547 CtiCl-18    3225 E-Route Match  PR:48
140111 115547 CtiCl-11    3225 E-CallTx       BC:3.1kHz TY:CtoC CD:425 CG:706
140111 115547 CtiCl-18    3225 E-ProgressTx
140111 115547 CtiCl-11    3225 E-ProgressRx
140111 115547 CtiCl-18    3225 E-ProgressTx
140111 115547 CtiCl-11    3225 E-CallFailRx   CH:68 CAUSE:80 91
140111 115547 CtiCl-11    3225 E-DiscConfTx   CH:68
140111 115547 CtiCl-18    3225 E-Route Fail   PR:48 , search next CAUSE:80 91
140111 115547 CtiCl-18    3225 E-No Route
140111 115547 CtiCl-18    3225 E-NumComplete  CDI:425 CDO:425
140111 115547 CtiCl-18    3225 E-DiscTx       CH:61 CAUSE:80 91
140111 115558 CtiCl-18    3226 E-DialRx       CH:63 BC:3.1kHz CD:5 CG:706
140111 115558 CtiP-128    3227 E-DialRx       CH:1 BC:Speech CG:62
140111 115558 CtiCl-18    3226 E-CallRx       CH:63 BC:3.1kHz CD:553 CG:706
140111 115558 CtiCl-18    3226 E-Route Match  PR:32
140111 115558 CtiP-119    3226 E-CallTx       BC:3.1kHz TY:CtoV CD:553 CG:706
140111 115558 CtiP-119    3226 E-AlertRx      CH:1
140111 115558 CtiCl-18    3226 E-NumComplete  CDI:553 CDO:553
140111 115558 CtiCl-18    3226 E-AlertTx      CH:63
140111 115559 CtiP-128    3227 E-CallRx       CH:1 BC:Speech CD:65 CG:62
140111 115559 CtiP-128    3227 E-Route Match  PR:75
140111 115559 CtiP-131    3227 E-CallTx       BC:Speech TY:TR CD:65 CG:62
140111 115559 CtiP-131    3227 E-AlertRx      CH:1
140111 115559 CtiP-128    3227 E-NumComplete  CDI:65 CDO:65
140111 115559 CtiP-128    3227 E-AlertTx      CH:1 PI:81 88
140111 115601 CtiP-119    3226 E-ConnRx       CH:1
140111 115601 CtiCl-18    3226 E-ConnTx       CH:63
140111 115601 CtiP-131    3227 E-ConnRx       CH:1
140111 115601 CtiP-128    3227 E-ConnTx       CH:1
140111 115632 CtiP-128    3227 E-DiscRx       CH:1 CAUSE:80 90
140111 115632 CtiP-128    3227 E-DiscConfTx   CH:0
140111 115632 CtiP-131    3227 E-DiscTx       CH:1 CAUSE:80 90
140111 115704 CtiP-116    3228 E-DialRx       CH:1 BC:Speech CG:15
140111 115706 CtiP-116    3228 E-CallRx       CH:1 BC:Speech CD:0014 CG:15
140111 115706 CtiP-116    3228 E-Route Match  PR:92
140111 115706 CtiCl-6     3228 E-CallTx       BC:Speech TY:VtoC CD:014
                                              CG:0289038015 SCD:15
140111 115708 CtiP-116    3228 E-NumComplete  CDI:00142433114 CDO:0142433114
140111 115708 CtiCl-6     3228 E-ProgressRx
140111 115715 CtiP-119    3226 E-DiscRx       CH:1 CAUSE:80 90
140111 115715 CtiCl-18    3226 E-DiscTx       CH:63 CAUSE:80 90
140111 115715 CtiP-119    3226 E-DiscConfTx   CH:0
140111 115715 CtiCl-6     3228 E-CallFailRx   CH:67 CAUSE:80 91
140111 115715 CtiP-116    3228 E-Route Fail   PR:92  CAUSE:80 91
140111 115715 CtiCl-6     3228 E-DiscConfTx   CH:67
140111 115715 CtiP-116    3228 E-DiscTx       CH:1 CAUSE:80 91
140111 115723 CtiP-116    3229 E-DialRx       CH:1 BC:Speech CG:15
140111 115725 CtiP-116    3229 E-CallRx       CH:1 BC:Speech CD:0014 CG:15
140111 115725 CtiP-116    3229 E-Route Match  PR:92
140111 115725 CtiCl-6     3229 E-CallTx       BC:Speech TY:VtoC CD:014
                                              CG:0289038015 SCD:15
140111 115728 CtiP-116    3229 E-NumComplete  CDI:00142433114 CDO:0142433114
140111 115728 CtiCl-6     3229 E-ProgressRx
140111 115735 CtiCl-6     3229 E-CallFailRx   CH:69 CAUSE:80 91
140111 115735 CtiP-116    3229 E-Route Fail   PR:92  CAUSE:80 91
140111 115735 CtiCl-6     3229 E-DiscConfTx   CH:69
140111 115735 CtiP-116    3229 E-DiscTx       CH:1 CAUSE:80 91

The following command displays the command syntax:.

[15:43:28] ABILIS_CPX:d ldme ?

D LDME [dd/mm/yyyy] [hh:mm:ss]   Display Debug Log in Memory decoding ISDN/X.25
       [E:val] [RES:type-n,...]  codes
       [SES:val]

dd/mm/yyyy      Selected date                                       <Optional>
hh:mm:ss        Selected time                                       <Optional>
E:              Event filter [DIAG, COR, Q931, CTIR, SMS, PPP, MLM, <Optional>
                ML, ALL]. Filters can be joined using "," operator
                (e.g.: E:COR,MLM,...).
RES:            Resource list (max. 50 values 'type-n' or           <Optional>
                'CtiP-n' or 'CtiCl-n', where 'n' [1..999])
SES:            Session filter [A, 0..65535]                        <Optional>
[Tip]Tip

Refer to Chapter 76, Disconnection codes to know more about the list of ISDN and X.25 disconnection codes.

The d ldme command displays the information in extended mode (i.e. the ISDN disconnection causes are decoded).

[18:01:34] ABILIS_CPX:d ldme

140111 115547 CtiCl-18    3225 E-CallRx       CH:61 BC:3.1kHz CD:425 CG:706
140111 115547 CtiCl-18    3225 E-Route Match  PR:48
140111 115547 CtiCl-11    3225 E-CallTx       BC:3.1kHz TY:CtoC CD:425 CG:706
140111 115547 CtiCl-18    3225 E-ProgressTx
140111 115547 CtiCl-11    3225 E-ProgressRx
140111 115547 CtiCl-18    3225 E-ProgressTx
140111 115547 CtiCl-11    3225 E-CallFailRx   CH:68 CAUSE:80 91 (U, User busy)
140111 115547 CtiCl-11    3225 E-DiscConfTx   CH:68
140111 115547 CtiCl-18    3225 E-Route Fail   PR:48 , search next CAUSE:80 91
                                              (U, User busy)
140111 115547 CtiCl-18    3225 E-No Route
140111 115547 CtiCl-18    3225 E-NumComplete  CDI:425 CDO:425
140111 115547 CtiCl-18    3225 E-DiscTx       CH:61 CAUSE:80 91 (U, User busy)
140111 115558 CtiCl-18    3226 E-DialRx       CH:63 BC:3.1kHz CD:5 CG:706
140111 115558 CtiP-128    3227 E-DialRx       CH:1 BC:Speech CG:62
140111 115558 CtiCl-18    3226 E-CallRx       CH:63 BC:3.1kHz CD:553 CG:706
140111 115558 CtiCl-18    3226 E-Route Match  PR:32
140111 115558 CtiP-119    3226 E-CallTx       BC:3.1kHz TY:CtoV CD:553 CG:706
140111 115558 CtiP-119    3226 E-AlertRx      CH:1
140111 115558 CtiCl-18    3226 E-NumComplete  CDI:553 CDO:553
140111 115558 CtiCl-18    3226 E-AlertTx      CH:63
140111 115559 CtiP-128    3227 E-CallRx       CH:1 BC:Speech CD:65 CG:62
140111 115559 CtiP-128    3227 E-Route Match  PR:75
140111 115559 CtiP-131    3227 E-CallTx       BC:Speech TY:TR CD:65 CG:62
140111 115559 CtiP-131    3227 E-AlertRx      CH:1
140111 115559 CtiP-128    3227 E-NumComplete  CDI:65 CDO:65
140111 115559 CtiP-128    3227 E-AlertTx      CH:1 PI:81 88
140111 115601 CtiP-119    3226 E-ConnRx       CH:1
140111 115601 CtiCl-18    3226 E-ConnTx       CH:63
140111 115601 CtiP-131    3227 E-ConnRx       CH:1
140111 115601 CtiP-128    3227 E-ConnTx       CH:1
140111 115632 CtiP-128    3227 E-DiscRx       CH:1 CAUSE:80 90 (U, Normal call
                                              clearing)
140111 115632 CtiP-128    3227 E-DiscConfTx   CH:0
140111 115632 CtiP-131    3227 E-DiscTx       CH:1 CAUSE:80 90 (U, Normal call
                                              clearing)
140111 115704 CtiP-116    3228 E-DialRx       CH:1 BC:Speech CG:15
140111 115706 CtiP-116    3228 E-CallRx       CH:1 BC:Speech CD:0014 CG:15
140111 115706 CtiP-116    3228 E-Route Match  PR:92
140111 115706 CtiCl-6     3228 E-CallTx       BC:Speech TY:VtoC CD:014
                                              CG:0289038015 SCD:15
140111 115708 CtiP-116    3228 E-NumComplete  CDI:00142433114 CDO:0142433114
140111 115708 CtiCl-6     3228 E-ProgressRx
140111 115715 CtiP-119    3226 E-DiscRx       CH:1 CAUSE:80 90 (U, Normal call
                                              clearing)
140111 115715 CtiCl-18    3226 E-DiscTx       CH:63 CAUSE:80 90 (U, Normal
                                              call clearing)
140111 115715 CtiP-119    3226 E-DiscConfTx   CH:0
140111 115715 CtiCl-6     3228 E-CallFailRx   CH:67 CAUSE:80 91 (U, User busy)
140111 115715 CtiP-116    3228 E-Route Fail   PR:92  CAUSE:80 91 (U, User busy)
140111 115715 CtiCl-6     3228 E-DiscConfTx   CH:67
140111 115715 CtiP-116    3228 E-DiscTx       CH:1 CAUSE:80 91 (U, User busy)
140111 115723 CtiP-116    3229 E-DialRx       CH:1 BC:Speech CG:15
140111 115725 CtiP-116    3229 E-CallRx       CH:1 BC:Speech CD:0014 CG:15
140111 115725 CtiP-116    3229 E-Route Match  PR:92
140111 115725 CtiCl-6     3229 E-CallTx       BC:Speech TY:VtoC CD:014
                                              CG:0289038015 SCD:15
140111 115728 CtiP-116    3229 E-NumComplete  CDI:00142433114 CDO:0142433114
140111 115728 CtiCl-6     3229 E-ProgressRx
140111 115735 CtiCl-6     3229 E-CallFailRx   CH:69 CAUSE:80 91 (U, User busy)
140111 115735 CtiP-116    3229 E-Route Fail   PR:92  CAUSE:80 91 (U, User busy)
140111 115735 CtiCl-6     3229 E-DiscConfTx   CH:69
140111 115735 CtiP-116    3229 E-DiscTx       CH:1 CAUSE:80 91 (U, User busy)

Debug Log can be simultaneously sent to the current Control Port session using start ldm or start ldme commands. Events are displayed in the same time that they occurs and that they are recorded into the buffer in memory.

[18:01:34] ABILIS_CPX:start ldm

Current Local Time: Friday 14/01/2011 10:03:56 (UTC+1.00)

Start Debug Log content real-time logging (Type CTRL+C + ENTER to stop):

Date   Time   Resource   Ses   Event          Parameters
------ ------ ---------- ----- -------------- ---------------------------------
140111 100422 CtiSip         4 E-CallRx       CH:6 BC:Speech CD:10 CG:12 
                                              USER:test3
140111 100422 CtiSip         4 E-Route Match  PR:23 
140111 100422 CtiSip         4 E-CallTx       BC:Speech TY:StoS CD:10 CG:12
140111 100422 CtiSip         4 E-NumComplete  CDI:10 CDO:10
140111 100422 CtiSip         4 E-AlertRx      CH:7 USER:test
140111 100422 CtiSip         4 E-AlertTx      CH:6
140111 100422 CtiSip         0 E-CallForward  RULE:FORK USER:test
140111 100422 CtiSip         5 E-CallRx       CH:8 BC:Speech CD:419 CG:12 
                                              USER:test
140111 100422 CtiSip         5 E-No Route     
140111 100422 CtiSip         5 E-CallFailTx   CH:8 CAUSE:81 83
140111 100427 CtiSip         4 E-ConnRx       CH:7
140111 100427 CtiSip         4 E-ConnTx       CH:6
140111 100431 CtiSip         4 E-DiscRx       CH:6 CAUSE:80 9F USER:test3
140111 100431 CtiSip         4 E-DiscConfTx   CH:6
140111 100431 CtiSip         4 E-DiscTx       CH:7 CAUSE:80 9F USER:test

The Debug Log content can be cleared through the command c ldm.

7.2.1. Displaying Log Debug saved on disk

The command d ldd displays the content of the Debug Log saved on disk with the command save debug.

To display the syntax of the command, type d ldd ?.

[18:01:34] ABILIS_CPX:d ldd ?

D LDD [dd/mm/yyyy] [hh:mm:ss]   Display Debug Log on Disk
       [E:val] [RES:type-n,...]
       [SES:val]

dd/mm/yyyy      Selected date                                       <Optional>
hh:mm:ss        Selected time                                       <Optional>
E:              Event filter [DIAG, COR, Q931, CTIR, SMS, PPP, MLM, <Optional>
                ML, ALL]. Filters can be joined using "," operator
                (e.g.: E:COR,MLM,...).
RES:            Resource list (max. 50 values 'type-n' or           <Optional>
                'CtiP-n' or 'CtiCl-n', where 'n' [1..999])
SES:            Session filter [A, 0..65535]                        <Optional>

7.2.2. Displaying ERR codes (D CODE)

The following command helps to decode isdn,sms and x25 error codes.

[14:59:16] ABILIS_CPX:d code ?

ISDN           ISDN Location/Reason codes
SMS            CtiSms error codes
X25            X.25 Cause/Diagnostic codes

Example:

[15:06:32] ABILIS_CPX:d code sms 321

CtiSms ERROR DECODE

Error      : 0321 (0x0141) - Invalid Memory Index

Error codes are shown in the debug log and they are automatically decoded:

[18:10:34] ABILIS_CPX:d ldme
...
030511 160843 CtiSms         0 S-MsgORx       A:FILE CD:ue3383223122
                                              S:Web-interface
030511 160843 CtiSms         0 S-MsgO Match   PR:1
030511 160843 CtiSms         4 S-MsgOTx       P:501 CD:ue3383223122
030511 160843 CtiSms         4 S-MsgOTx Fail  P:501 ERR:321 (Invalid Memory Index)
 
...