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: Wednesday 22/04/2015 15:03:29 (UTC+2.00)

Date   Time   Resource   Ses   Event          Parameters
------ ------ ---------- ----- -------------- ---------------------------------
220415 112145 CtiP-36     2338 E-DiscRx       CH:1 CAUSE:80 90
220415 112145 CtiCl-9     2338 E-DiscTx       CH:78 CAUSE:80 90
220415 112145 CtiP-36     2338 E-DiscConfTx   CH:0
220415 112148 CtiP-36     2339 E-CallRx       CH:2 BC:3.1kHz CD:33 
                                              CG:3913123149
220415 112148 CtiP-36     2339 E-Route Match  PR:34  TYPE:VtoC
220415 112148 CtiCl-9     2339 E-CallTx       BC:3.1kHz TY:VtoC CD:33 
                                              CG:0131232023
220415 112148 CtiCl-9     2339 E-ProgressRx   PI:82 88
220415 112148 CtiP-36     2339 E-ProgressTx   PI:82 88
220415 112154 CtiP-36     2339 E-NumComplete  CDI:3387308640 CDO:3387308640
220415 112155 CtiCl-9     2339 E-ProgressRx   PI:8A 88
220415 112155 CtiP-36     2339 E-ProgressTx   PI:8A 88
220415 112201 CtiCl-9     2339 E-ProgressRx   PI:82 84
220415 112201 CtiP-36     2339 E-ProgressTx   PI:82 84
220415 112224 CtiCl-9     2339 E-ConnRx       CH:80
220415 112224 CtiP-36     2339 E-ConnTx       CH:2
220415 112304 CtiP-36     2339 E-DiscRx       CH:2 CAUSE:80 90
220415 112304 CtiCl-9     2339 E-DiscTx       CH:80 CAUSE:80 90
220415 112304 CtiP-36     2339 E-DiscConfTx   CH:0
220415 112620 CtiP-36     2340 E-CallRx       CH:1 BC:3.1kHz CD:335351983 
                                              CG:3913123149
220415 112620 CtiP-36     2340 E-Route Match  PR:34  TYPE:VtoC
220415 112620 CtiCl-9     2340 E-CallTx       BC:3.1kHz TY:VtoC CD:335351983 
                                              CG:0131232023
220415 112620 CtiCl-9     2340 E-ProgressRx   PI:82 88
220415 112620 CtiP-36     2340 E-ProgressTx   PI:82 88
220415 112621 CtiP-36     2341 E-CallRx       CH:2 BC:3.1kHz CD:3481336875 
                                              CG:3913123155
220415 112621 CtiP-36     2341 E-Route Match  PR:34  TYPE:VtoC
220415 112621 CtiCl-9     2341 E-CallTx       BC:3.1kHz TY:VtoC CD:3481336875 
                                              CG:0131232023
220415 112621 CtiCl-9     2341 E-ProgressRx   PI:82 88
220415 112621 CtiP-36     2341 E-ProgressTx   PI:82 88
220415 112621 CtiP-36     2341 E-NumComplete  CDI:3481336875 CDO:3481336875
220415 112622 CtiP-36     2341 E-DiscRx       CH:2 CAUSE:80 90
220415 112623 CtiCl-9     2341 E-DiscTx       CH:84 CAUSE:80 90
220415 112623 CtiP-36     2341 E-DiscConfTx   CH:0
220415 112625 CtiP-36     2342 E-CallRx       CH:2 BC:3.1kHz CD:0131253018 
                                              CG:3913123155
220415 112625 CtiP-36     2342 E-Route Match  PR:34  TYPE:VtoC
220415 112625 CtiCl-9     2342 E-CallTx       BC:3.1kHz TY:VtoC CD:0131253018 
                                              CG:0131232023
220415 112625 CtiCl-9     2342 E-ProgressRx   PI:82 88
220415 112625 CtiP-36     2342 E-ProgressTx   PI:82 88
220415 112625 CtiP-36     2342 E-NumComplete  CDI:0131253018 CDO:0131253018
220415 112626 CtiCl-9     2342 E-AlertRx      CH:86 PI:82 88
220415 112626 CtiP-36     2342 E-AlertTx      CH:2 PI:82 88
220415 112628 CtiP-36     2340 E-NumComplete  CDI:335351983 CDO:335351983
220415 112628 CtiCl-9     2340 E-ProgressRx   PI:8A 88
220415 112628 CtiP-36     2340 E-ProgressTx   PI:8A 88
220415 112628 CtiCl-9     2340 E-ProgressRx   PI:82 84
220415 112628 CtiP-36     2340 E-ProgressTx   PI:82 84
220415 112634 CtiCl-9     2342 E-ConnRx       CH:86
220415 112634 CtiP-36     2342 E-ConnTx       CH:2
220415 112636 CtiCl-9     2340 E-ConnRx       CH:82
220415 112636 CtiP-36     2340 E-ConnTx       CH:1
220415 112819 CtiCl-9     2343 E-CallRx       CH:81 BC:Speech CD:0131232023 
                                              CG:3201469771
220415 112819 CtiCl-9     2343 E-Route Match  PR:10  TYPE:CtoV
220415 112819 CtiP-32     2343 E-CallTx       BC:Speech TY:CtoV CD:100 
                                              CG:3201469771
220415 112819 CtiCl-9     2343 E-NumComplete  CDI:0131232023 CDO:100
220415 112820 CtiP-32     2343 E-AlertRx      CH:2
220415 112820 CtiCl-9     2343 E-AlertTx      CH:81
220415 112837 CtiP-32     2343 E-ConnRx       CH:2
220415 112837 CtiCl-9     2343 E-ConnTx       CH:81
220415 112840 CtiCl-9     2340 E-DiscRx       CH:82 CAUSE:8A 90
220415 112840 CtiCl-9     2340 E-DiscConfTx   CH:82
220415 112840 CtiP-36     2340 E-DiscTx       CH:1 CAUSE:8A 90
220415 112853 CtiP-36     2342 E-DiscRx       CH:2 CAUSE:80 90
220415 112853 CtiCl-9     2342 E-DiscTx       CH:86 CAUSE:80 90
220415 112853 CtiP-36     2342 E-DiscConfTx   CH:0
220415 112919 CtiCl-9     2343 E-DiscRx       CH:81 CAUSE:83 9F
220415 112919 CtiCl-9     2343 E-DiscConfTx   CH:81
220415 112919 CtiP-32     2343 E-DiscTx       CH:2 CAUSE:83 9F

The following command displays the command syntax:.

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


D LDME [dd/mm/yyyy] [hh:mm:ss] [filter:val]         Display Debug Log in Memory
                                                    decoding ISDN/X.25 codes

Allowed filters:

dd/mm/yyyy      Starting date                                       <Optional>
hh:mm:ss        Starting 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>
F:              Filtering string. Case-insensitive match.           <Optional>
                Scan the message for the occurrence of the given substring.
                From 1 up to 70 Alphanumeric extended characters.
                Spaces are allowed. Strings holding spaces must be
                written between quotation marks (E.g.: F:"str1 str2").
CD:             Called address.                    <Optional, Only for E:CTIR>
                From 1 up to 20 characters, in the range ['0'..'9', '?'
                '*'], optionally preceded by TON [u, i, n, o, s, h, c]
                and/or NP [x, e, d, t, l, p] attributes, or "#".
                Several numbers can be specified joining values by ','.
                (E.g. "CD:ne1234,5555,ux77777").
                See HELP ISDN ATTRIBUTES for details on attributes.
CG:             Calling address.                   <Optional, Only for E:CTIR>
                From 1 up to 20 characters, in the range ['0'..'9', '?'
                '*'], optionally preceded by TON [u, i, n, o, s, h, c]
                and/or NP [x, e, d, t, l, p] and/or PI [a, r, m,
                q] and/or SI [y, v, w, z] attributes, or "#".
                Several numbers can be specified joining values by ','.
                (E.g. "CG:ne1234,5555,ux77777").
                See HELP ISDN ATTRIBUTES for details on attributes.
SCD:            Called sub-address.                <Optional, Only for E:CTIR>
                From 1 up to 20 characters, in the range ['?, '*',
                '0'..'9', 'a'..'z', 'A'..'Z'] or "#".
                Several sub-addresses can be specified joining values by ','.
                (E.g. "SCD:mytext,5555,ABC000,#").
SCG:            Calling sub-address.               <Optional, Only for E:CTIR>
                From 1 up to 20 characters, in the range ['?, '*',
                '0'..'9', 'a'..'z', 'A'..'Z'] or "#".
                Several sub-addresses can be specified joining values by ','.
                (E.g. "SCG:mytext,5555,ABC000,#").
[Tip]Tip

Refer to Chapter 79, 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

Current Local Time: Wednesday 22/04/2015 15:05:51 (UTC+2.00)

Date   Time   Resource   Ses   Event          Parameters
------ ------ ---------- ----- -------------- ---------------------------------
220415 112620 CtiCl-9     2340 E-CallTx       BC:3.1kHz TY:VtoC CD:ux335351983 
                                              CG:neay0131232023
220415 112620 CtiCl-9     2340 E-ProgressRx   PI:82 88
220415 112620 CtiP-36     2340 E-ProgressTx   PI:82 88
220415 112621 CtiP-36     2341 E-CallRx       CH:2 BC:3.1kHz CD:ux3481336875 
                                              CG:ueay3913123155
220415 112621 CtiP-36     2341 E-Route Match  PR:34  TYPE:VtoC
220415 112621 CtiCl-9     2341 E-CallTx       BC:3.1kHz TY:VtoC 
                                              CD:ux3481336875 CG:neay0131232023
220415 112621 CtiCl-9     2341 E-ProgressRx   PI:82 88
220415 112621 CtiP-36     2341 E-ProgressTx   PI:82 88
220415 112621 CtiP-36     2341 E-NumComplete  CDI:ux3481336875 CDO:ux3481336875
220415 112622 CtiP-36     2341 E-DiscRx       CH:2 CAUSE:80 90 (U, Normal call 
                                              clearing)
220415 112623 CtiCl-9     2341 E-DiscTx       CH:84 CAUSE:80 90 (U, Normal 
                                              call clearing)
220415 112623 CtiP-36     2341 E-DiscConfTx   CH:0
220415 112625 CtiP-36     2342 E-CallRx       CH:2 BC:3.1kHz CD:ux0131253018 
                                              CG:ueay3913123155
220415 112625 CtiP-36     2342 E-Route Match  PR:34  TYPE:VtoC
220415 112625 CtiCl-9     2342 E-CallTx       BC:3.1kHz TY:VtoC 
                                              CD:ux0131253018 CG:neay0131232023
220415 112625 CtiCl-9     2342 E-ProgressRx   PI:82 88
220415 112625 CtiP-36     2342 E-ProgressTx   PI:82 88
220415 112625 CtiP-36     2342 E-NumComplete  CDI:ux0131253018 CDO:ux0131253018
220415 112626 CtiCl-9     2342 E-AlertRx      CH:86 PI:82 88
220415 112626 CtiP-36     2342 E-AlertTx      CH:2 PI:82 88
220415 112628 CtiP-36     2340 E-NumComplete  CDI:ux335351983 CDO:ux335351983
220415 112628 CtiCl-9     2340 E-ProgressRx   PI:8A 88
220415 112628 CtiP-36     2340 E-ProgressTx   PI:8A 88
220415 112628 CtiCl-9     2340 E-ProgressRx   PI:82 84
220415 112628 CtiP-36     2340 E-ProgressTx   PI:82 84
220415 112634 CtiCl-9     2342 E-ConnRx       CH:86
220415 112634 CtiP-36     2342 E-ConnTx       CH:2
220415 112636 CtiCl-9     2340 E-ConnRx       CH:82
220415 112636 CtiP-36     2340 E-ConnTx       CH:1
220415 112819 CtiCl-9     2343 E-CallRx       CH:81 BC:Speech CD:ue0131232023 
                                              CG:ueaz3201469771
220415 112819 CtiCl-9     2343 E-Route Match  PR:10  TYPE:CtoV
220415 112819 CtiP-32     2343 E-CallTx       BC:Speech TY:CtoV CD:ue100 
                                              CG:ueaz3201469771
220415 112819 CtiCl-9     2343 E-NumComplete  CDI:ue0131232023 CDO:ue100
220415 112820 CtiP-32     2343 E-AlertRx      CH:2
220415 112820 CtiCl-9     2343 E-AlertTx      CH:81
220415 112837 CtiP-32     2343 E-ConnRx       CH:2
220415 112837 CtiCl-9     2343 E-ConnTx       CH:81
220415 112840 CtiCl-9     2340 E-DiscRx       CH:82 CAUSE:8A 90 (BI, Normal 
                                              call clearing)
220415 112840 CtiCl-9     2340 E-DiscConfTx   CH:82
220415 112840 CtiP-36     2340 E-DiscTx       CH:1 CAUSE:8A 90 (BI, Normal 
                                              call clearing)
220415 112853 CtiP-36     2342 E-DiscRx       CH:2 CAUSE:80 90 (U, Normal call 
                                              clearing)
220415 112853 CtiCl-9     2342 E-DiscTx       CH:86 CAUSE:80 90 (U, Normal 
                                              call clearing)
220415 112853 CtiP-36     2342 E-DiscConfTx   CH:0
220415 112919 CtiCl-9     2343 E-DiscRx       CH:81 CAUSE:83 9F (TN, Normal, 
                                              unspecified)
220415 112919 CtiCl-9     2343 E-DiscConfTx   CH:81
220415 112919 CtiP-32     2343 E-DiscTx       CH:2 CAUSE:83 9F (TN, Normal, 

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: Wednesday 22/04/2015 10:03:51 (UTC+2.00)


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

Date   Time   Resource   Ses   Event          Parameters
------ ------ ---------- ----- -------------- ---------------------------------
220415 100422 CtiSip         4 E-CallRx       CH:6 BC:Speech CD:10 CG:12 
                                              USER:test3
220415 100422 CtiSip         4 E-Route Match  PR:23 
220415 100422 CtiSip         4 E-CallTx       BC:Speech TY:StoS CD:10 CG:12
220415 100422 CtiSip         4 E-NumComplete  CDI:10 CDO:10
220415 100422 CtiSip         4 E-AlertRx      CH:7 USER:test
220415 100422 CtiSip         4 E-AlertTx      CH:6
220415 100422 CtiSip         0 E-CallForward  RULE:FORK USER:test
220415 100422 CtiSip         5 E-CallRx       CH:8 BC:Speech CD:419 CG:12 
                                              USER:test
220415 100422 CtiSip         5 E-No Route     
220415 100422 CtiSip         5 E-CallFailTx   CH:8 CAUSE:81 83
220415 100427 CtiSip         4 E-ConnRx       CH:7
220415 100427 CtiSip         4 E-ConnTx       CH:6
220415 100431 CtiSip         4 E-DiscRx       CH:6 CAUSE:80 9F USER:test3
220415 100431 CtiSip         4 E-DiscConfTx   CH:6
220415 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 [ver] [dd/mm/yyyy] [hh:mm:ss] [filter:val]   Display Debug Log on Disk

Allowed filters:

<ver>          String corresponding to a version directory in       <Optional> 
               the form [x.y.z or x-y-z or y.z or y-z or y].
               (E.g.: 5.3.1 or 6-1-0 or 2189).
dd/mm/yyyy      Starting date                                       <Optional>
hh:mm:ss        Starting 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>
F:              Filtering string. Case-insensitive match.           <Optional>
                Scan the message for the occurrence of the given substring.
                From 1 up to 70 Alphanumeric extended characters.
                Spaces are allowed. Strings holding spaces must be
                written between quotation marks (E.g.: F:"str1 str2").
CD:             Called address.                    <Optional, Only for E:CTIR>
                From 1 up to 20 characters, in the range ['0'..'9', '?'
                '*'], optionally preceded by TON [u, i, n, o, s, h, c]
                and/or NP [x, e, d, t, l, p] attributes, or "#".
                Several numbers can be specified joining values by ','.
                (E.g. "CD:ne1234,5555,ux77777").
                See HELP ISDN ATTRIBUTES for details on attributes.
CG:             Calling address.                   <Optional, Only for E:CTIR>
                From 1 up to 20 characters, in the range ['0'..'9', '?'
                '*'], optionally preceded by TON [u, i, n, o, s, h, c]
                and/or NP [x, e, d, t, l, p] and/or PI [a, r, m,
                q] and/or SI [y, v, w, z] attributes, or "#".
                Several numbers can be specified joining values by ','.
                (E.g. "CG:ne1234,5555,ux77777").
                See HELP ISDN ATTRIBUTES for details on attributes.
SCD:            Called sub-address.                <Optional, Only for E:CTIR>
                From 1 up to 20 characters, in the range ['?, '*',
                '0'..'9', 'a'..'z', 'A'..'Z'] or "#".
                Several sub-addresses can be specified joining values by ','.
                (E.g. "SCD:mytext,5555,ABC000,#").
SCG:            Calling sub-address.               <Optional, Only for E:CTIR>
                From 1 up to 20 characters, in the range ['?, '*',
                '0'..'9', 'a'..'z', 'A'..'Z'] or "#".
                Several sub-addresses can be specified joining values by ','.
                (E.g. "SCG:mytext,5555,ABC000,#").

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
...
220415 160843 CtiSms         0 S-MsgORx       A:FILE CD:ue3383223122
                                              S:Web-interface
220415 160843 CtiSms         0 S-MsgO Match   PR:1
220415 160843 CtiSms         4 S-MsgOTx       P:501 CD:ue3383223122
220415 160843 CtiSms         4 S-MsgOTx Fail  P:501 ERR:321 (Invalid Memory Index)
 
...