Intel® Dialogic® System SoftwareDiagnostics GuideSeptember 200605-1935-007
10 System Software Diagnostics Guide – September 2006Contents
100 System Software Diagnostics Guide — September 2006GCEV_TRACEDATA Reference { mdfReadError("ToneOff SigLabel");
System Software Diagnostics Guide — September 2006 101GCEV_TRACEDATA Referencechar* mdfLsNibble2Bin(unsigned char Code){ static char sTemp[5];
102 System Software Diagnostics Guide — September 2006GCEV_TRACEDATA Reference18.6 Sample Parser OutputFollowing is sample parser output from one comp
System Software Diagnostics Guide — September 2006 1031919.Getver ReferenceThis chapter provides reference information about the getver tool.• Descrip
104 System Software Diagnostics Guide — September 2006Getver Reference• -CPU is a case-sensitive option argument to be used for srec files only if get
System Software Diagnostics Guide — September 2006 1052020.ISDN Trace ReferenceThis chapter provides reference information about the ISDNtrace tool.Th
106 System Software Diagnostics Guide — September 2006ISDN Trace ReferenceThe following example runs the ISDNtrace tool on board 0, D-channel 1 and pr
System Software Diagnostics Guide — September 2006 1072121.Intel Telecom Subsystem Summary Tool ReferenceThis chapter describes the Intel® Telecom Sub
108 System Software Diagnostics Guide — September 2006Intel Telecom Subsystem Summary Tool Referenceand compress it into the zip file. If you do not s
System Software Diagnostics Guide — September 2006 109Intel Telecom Subsystem Summary Tool Referenceinformation about CONFIG files, refer to the confi
System Software Diagnostics Guide — September 2006 11Revision HistoryThis revision history summarizes the changes made in each published version of th
110 System Software Diagnostics Guide — September 2006Intel Telecom Subsystem Summary Tool ReferenceNotes: 1. Windows: INTEL_DIALOGIC_DIR=C:\Program F
System Software Diagnostics Guide — September 2006 111Intel Telecom Subsystem Summary Tool Reference• 0 or more files as attachments. The HTML file wi
112 System Software Diagnostics Guide — September 2006Intel Telecom Subsystem Summary Tool Reference
System Software Diagnostics Guide — September 2006 1132222.KernelVer ReferenceThis chapter provides reference information about the kernelver tool. Th
114 System Software Diagnostics Guide — September 2006KernelVer Reference
System Software Diagnostics Guide — September 2006 1152323.MercMon ReferenceThis chapter provides reference information about the MercMon tool.The fol
116 System Software Diagnostics Guide — September 2006MercMon ReferenceNumCanTakesreturns the number of “can takes” received for that boardNumReadsret
System Software Diagnostics Guide — September 2006 117MercMon ReferenceMsgsOutPerSramSessionreturns the number of messages written to the SRAM in one
118 System Software Diagnostics Guide — September 2006MercMon ReferenceTotalFatSramBlocksreturns the number of times the system received a “CHAINED” d
System Software Diagnostics Guide — September 2006 119MercMon ReferenceTotalSramGrantInterruptsreturns the number of “HOST SRAM PENDING” interruptsTot
12 System Software Diagnostics Guide — September 2006Revision History05-1935-004 September 2005 Checking all the Boards in a System: A new section in
120 System Software Diagnostics Guide — September 2006MercMon Reference/t<n>display timer. The time interval (in milliseconds) between each scre
System Software Diagnostics Guide — September 2006 1212424.PDK Trace ReferenceThis chapter provides reference information about the PDK Trace tool. Th
122 System Software Diagnostics Guide — September 2006PDK Trace Reference24.3 OptionsThe PDK Trace tool uses the following command line options: -b#Th
System Software Diagnostics Guide — September 2006 123PDK Trace ReferenceScenario 2: For board 0, trace channels 10-20 on trunk 1 pdktrace -b0 -c[10-2
124 System Software Diagnostics Guide — September 2006PDK Trace Reference
System Software Diagnostics Guide — September 2006 1252525.Phone ReferenceThis chapter provides reference information about the Phone tool. The follow
126 System Software Diagnostics Guide — September 2006Phone Reference
System Software Diagnostics Guide — September 2006 1272626.PSTN Diagnostics Tool ReferenceThis chapter provides the following reference information ab
128 System Software Diagnostics Guide — September 2006PSTN Diagnostics Tool Reference26.2 GuidelinesThe following restrictions apply to the pstndiag t
System Software Diagnostics Guide — September 2006 129PSTN Diagnostics Tool ReferenceTo start the pstndiag tool in Linux, type pstndiag from the comma
System Software Diagnostics Guide — September 2006 13About This PublicationThe following topics provide information about this publication:• Purpose •
130 System Software Diagnostics Guide — September 2006PSTN Diagnostics Tool ReferenceThe numbering convention, x.y.z, is used to identify a component
System Software Diagnostics Guide — September 2006 131PSTN Diagnostics Tool ReferenceResetLineDevice.. button in Figure 9 toggles between setting a ch
132 System Software Diagnostics Guide — September 2006PSTN Diagnostics Tool ReferenceDropDelete a callDialDigitsGenerate signals for selecting and est
System Software Diagnostics Guide — September 2006 133PSTN Diagnostics Tool ReferenceThe commands under this button are as follows:HoldCallPlace a cal
134 System Software Diagnostics Guide — September 2006PSTN Diagnostics Tool ReferenceFigure 15. Call Transfer Command ButtonsSendISDN CommandNote: The
System Software Diagnostics Guide — September 2006 135PSTN Diagnostics Tool ReferenceExternal ApplicationsThe Audio command is not functional.Figure 1
136 System Software Diagnostics Guide — September 2006PSTN Diagnostics Tool ReferenceThe log file generated by the pstndiag tool captures all events a
System Software Diagnostics Guide — September 2006 137PSTN Diagnostics Tool Reference26.6.3 View menuThe View menu contains the following menu options
138 System Software Diagnostics Guide — September 2006PSTN Diagnostics Tool Reference-helpDisplays help information for the tool.-logto <file> S
System Software Diagnostics Guide — September 2006 1392727.QScript ReferenceThis chapter provides information about QScript utilities, which are a sub
14 System Software Diagnostics Guide — September 2006About This PublicationEach of the following chapters discuss diagnostic tasks. Details about the
140 System Software Diagnostics Guide — September 2006QScript Reference27.3 QScript Environment VariablesThis section describes the QScript environmen
System Software Diagnostics Guide — September 2006 1412828.Runtime Trace Facility (RTF) ReferenceThis chapter provides an overview of the Runtime Trac
142 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) Reference• Utility program (rtftool.exe for Windows, rtftool for Li
System Software Diagnostics Guide — September 2006 143Runtime Trace Facility (RTF) Reference1when a 1 appears next to a configuration item in the RTF
144 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) Reference<RTFConfig trace=“1” tracelocation=”TRACE_LOG” timestam
System Software Diagnostics Guide — September 2006 145Runtime Trace Facility (RTF) Reference– LabelWidth number - Allows you to customize the number o
146 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) ReferenceNotes: 1. Due to the internal buffers used by RTF, the act
System Software Diagnostics Guide — September 2006 147Runtime Trace Facility (RTF) Referencepreserve_maxbackupsIndicates the maximum number of backup
148 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) Reference<Global><!-- This is an example of an empty Globa
System Software Diagnostics Guide — September 2006 149Runtime Trace Facility (RTF) ReferencestateSpecifies the state of the label. Valid values are as
System Software Diagnostics Guide — September 2006 15About This Publication• Chapter 22, “KernelVer Reference” - TheKernelVer tool can be used to veri
150 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) ReferencenameIndicates the name of a client label to be configured.
System Software Diagnostics Guide — September 2006 151Runtime Trace Facility (RTF) ReferenceThe Module tag includes the following attributes:nameIndic
152 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) Reference0 Label is disabled. Trace messages associated with this l
System Software Diagnostics Guide — September 2006 153Runtime Trace Facility (RTF) Reference• “DEBG” • “WARN” Note: A complete list of labels for a gi
154 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) Reference28.4 Restrictions and LimitationsKeep the following restri
System Software Diagnostics Guide — September 2006 155Runtime Trace Facility (RTF) Reference• rtflog-<year><month><day>-<hour>
156 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) Reference28.5 rtftool CommandThis section explains the rtftool comm
System Software Diagnostics Guide — September 2006 157Runtime Trace Facility (RTF) Reference28.6 Example RTF Configuration FilesThis section provides
158 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) Reference<Global></Global><Module name="spwrvoi
System Software Diagnostics Guide — September 2006 159Runtime Trace Facility (RTF) Reference<Module name="spwrvoice"> <MLabel nam
16 System Software Diagnostics Guide — September 2006About This Publication
160 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) ReferenceThe dtintf module is configured to trace “Entry” (from the
System Software Diagnostics Guide — September 2006 161Runtime Trace Facility (RTF) ReferenceFigure 20. RTF Configuration File Edited to Configure the
162 System Software Diagnostics Guide — September 2006Runtime Trace Facility (RTF) Reference28.7.5 Disabling Remote LoggingTo disable remote logging,
System Software Diagnostics Guide — September 2006 1632929.RTFManager ReferenceThis chapter describes how to use the Runtime Trace Facility Manager GU
164 System Software Diagnostics Guide — September 2006RTFManager Reference• filter trace data, allowing you to customize the trace output so that only
System Software Diagnostics Guide — September 2006 165RTFManager Reference• Edit• Tools• Help29.4.1 FileThe File menu contains options for working wit
166 System Software Diagnostics Guide — September 2006RTFManager ReferenceSelect AllSelects all text in the log file.29.4.3 ToolsThe Tools menu contai
System Software Diagnostics Guide — September 2006 167RTFManager ReferenceThe general tab contains the following settings:Enable Global Tracing?This c
168 System Software Diagnostics Guide — September 2006RTFManager Reference• 1 or greater - Backup log files will be created. All trace information is
System Software Diagnostics Guide — September 2006 169RTFManager ReferenceFigure 22. RTFManager Filtering Tab The following procedure describes how to
System Software Diagnostics Guide — September 2006 1711.Diagnostics OverviewThis chapter presents an overview of the diagnostic tools and the debuggin
170 System Software Diagnostics Guide — September 2006RTFManager Reference• Errors - Traces the following labels: ERR1, ERR2, EXCE, and EINF. This is
System Software Diagnostics Guide — September 2006 171RTFManager Reference29.8 Advanced TabThe Advanced tab is not recommended for most users. Most us
172 System Software Diagnostics Guide — September 2006RTFManager Reference
System Software Diagnostics Guide — September 2006 1733030.Status Monitor ReferenceThis chapter provides reference information about the Status Monito
174 System Software Diagnostics Guide — September 2006Status Monitor ReferenceFigure 23. Example of Status Monitor OutputThe following numbered list c
System Software Diagnostics Guide — September 2006 175GlossaryANI: Automatic Number Identification. A telephone service that provides the telephone nu
176 System Software Diagnostics Guide — September 2006metallic circuit: A circuit in which metallic conductors are used and in which the ground or ear
System Software Diagnostics Guide — September 2006 177IndexAALIGNED 144APPL 170application failure or crash 44archiving system configuration 44BBinary
178 System Software Diagnostics Guide — September 2006GLabel tag 148Global Call 15, 56, 125Global tag 147IINFO 170Intel Telecom Subsystem Summary Too
System Software Diagnostics Guide — September 2006 179RtfConfigWin.xml 141RTFManager 163runtime libraries 41Runtime Trace Facility 41Runtime Trace Fa
18 System Software Diagnostics Guide — September 2006Diagnostics Overview• Section 4.5, “Tracing Firmware”, on page 28• Chapter 12, “DebugAngel Refere
System Software Diagnostics Guide — September 2006 19Diagnostics Overviewstarted and stopped via Global Call APIs. The trace information collected wit
System Software Diagnostics Guide – September 2006INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR
20 System Software Diagnostics Guide — September 2006Diagnostics Overview• Section 7.3, “Creating a System Configuration Archive”, on page 44• Chapter
System Software Diagnostics Guide — September 2006 2122.System RequirementsThis chapter provides information about the hardware/software requirements
22 System Software Diagnostics Guide — September 2006System Requirements
System Software Diagnostics Guide — September 2006 2333.Using the Diagnostics Management Console (DMC)This chapter describes how to use the Diagnostic
24 System Software Diagnostics Guide — September 2006Using the Diagnostics Management Console (DMC)3.3 Launching a Diagnostic Tool on a Remote Machine
System Software Diagnostics Guide — September 2006 25Using the Diagnostics Management Console (DMC)Configuration from the Tools menu or pressing F4.
26 System Software Diagnostics Guide — September 2006Using the Diagnostics Management Console (DMC)
System Software Diagnostics Guide — September 2006 2744.Checking DM3 Architecture BoardsThis chapter provides procedures for checking the Intel NetStr
28 System Software Diagnostics Guide — September 2006Checking DM3 Architecture Boards3. You will get the following response:Do you wish to continue (y
System Software Diagnostics Guide — September 2006 29Checking DM3 Architecture Boards2. When you need to refer to the firmware trace log, look in the
System Software Diagnostics Guide – September 2006 3ContentsRevision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30 System Software Diagnostics Guide — September 2006Checking DM3 Architecture Boards
System Software Diagnostics Guide — September 2006 3155.Diagnosing First Call IssuesThis chapter describes how to use the PSTN Diagnostics tool (pstnd
32 System Software Diagnostics Guide — September 2006Diagnosing First Call IssuesFigure 1. PSTN Diagnostics Tool - Board Level View2. In the board lev
System Software Diagnostics Guide — September 2006 33Diagnosing First Call Issues5.3 Monitoring the Status of AlarmsAfter determining that the Signal
34 System Software Diagnostics Guide — September 2006Diagnosing First Call Issues
System Software Diagnostics Guide — September 2006 3566.Diagnosing PSTN Protocol IssuesThis chapter describes how to check the protocol configuration
36 System Software Diagnostics Guide — September 2006Diagnosing PSTN Protocol Issues2. Shift-double-click on a channel (for example, Chan 0.1.1) to di
System Software Diagnostics Guide — September 2006 37Diagnosing PSTN Protocol IssuesNote: The Call Progress, CallId, and ConCallId fields are not typi
38 System Software Diagnostics Guide — September 2006Diagnosing PSTN Protocol Issues13. Click the MakeCall button to start the call. Notice that the C
System Software Diagnostics Guide — September 2006 39Diagnosing PSTN Protocol IssuesFigure 4. PSTN DIagnostics Tool - Call Completed and Released
4 System Software Diagnostics Guide – September 2006Contents8.4 Disabling Tracing Using gc_StopTrace( ) . . . . . . . . . . . . . . . . . . . . . . .
40 System Software Diagnostics Guide — September 2006Diagnosing PSTN Protocol Issues
System Software Diagnostics Guide — September 2006 4177.Debugging SoftwareThis chapter provides several procedures that can be useful for general soft
42 System Software Diagnostics Guide — September 2006Debugging Software3. Start your application. As your application runs, RTF will trace the runtime
System Software Diagnostics Guide — September 2006 43Debugging Softwareconfiguration file. The RTF tracing capabilities are turned on by default. Refe
44 System Software Diagnostics Guide — September 2006Debugging Software7.2 Collecting System Data to Diagnose an Application Failure or CrashThis sect
System Software Diagnostics Guide — September 2006 45Debugging Softwareuse it as a point of comparison to any system that exhibits erroneous behavior.
46 System Software Diagnostics Guide — September 2006Debugging Software
System Software Diagnostics Guide — September 2006 4788.Tracing CAS Signaling Using Global CallThis chapter describes how to trace CAS signaling in sy
48 System Software Diagnostics Guide — September 2006Tracing CAS Signaling Using Global Call• Trace newly deployed spans to make sure there are no pro
System Software Diagnostics Guide — September 2006 49Tracing CAS Signaling Using Global CallLINEDEV bdev; /* board level device number */int
System Software Diagnostics Guide – September 2006 5Contents18.1 Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
50 System Software Diagnostics Guide — September 2006Tracing CAS Signaling Using Global Call#include <stdio.h>#include <srllib.h>#include
System Software Diagnostics Guide — September 2006 51Tracing CAS Signaling Using Global CallA new result value GCRV_QUEUE_OVERFLOW associated with GCE
52 System Software Diagnostics Guide — September 2006Tracing CAS Signaling Using Global Call8.6 Setting the Trace Queue Size Using gc_SetConfigData( )
System Software Diagnostics Guide — September 2006 53Tracing CAS Signaling Using Global Callgc_SetConfigData(GCTGT_CCLIB_NETIF, bdev, ParmBlkp, 0, GCU
54 System Software Diagnostics Guide — September 2006Tracing CAS Signaling Using Global Call
System Software Diagnostics Guide — September 2006 5599.Tracing Multiple ISDN Trunks Using Global CallThis section describes how to collect ISDN D-cha
56 System Software Diagnostics Guide — September 2006Tracing Multiple ISDN Trunks Using Global Call9.2 RequirementsThis feature is only supported on I
System Software Diagnostics Guide — September 2006 57Tracing Multiple ISDN Trunks Using Global Call#include <stdio.h>#include <srllib.h>#i
58 System Software Diagnostics Guide — September 2006Tracing Multiple ISDN Trunks Using Global CallSample application codeNote: The following sample c
System Software Diagnostics Guide — September 2006 59Tracing Multiple ISDN Trunks Using Global Calltypedef struct { unsigned long seq_no;
6 System Software Diagnostics Guide – September 2006Contents26.7 PSTN Diagnostics Command Line Options . . . . . . . . . . . . . . . . . . . . . . . .
60 System Software Diagnostics Guide — September 2006Tracing Multiple ISDN Trunks Using Global Call9.6 Setting the Trace Queue Size Using gc_SetConfig
System Software Diagnostics Guide — September 2006 61Tracing Multiple ISDN Trunks Using Global Callgc_SetConfigData(GCTGT_CCLIB_NETIF, bdev, ParmBlkp,
62 System Software Diagnostics Guide — September 2006Tracing Multiple ISDN Trunks Using Global Call
System Software Diagnostics Guide — September 2006 631010.CallInfo ReferenceThis chapter provides reference information about the CallInfo tool. The f
64 System Software Diagnostics Guide — September 2006CallInfo Reference10.3 OptionsThe CallInfo tool uses the following command line options: -board &
System Software Diagnostics Guide — September 2006 651111.CAS Trace ReferenceThis chapter provides reference information about the CAS Trace tool.The
66 System Software Diagnostics Guide — September 2006CAS Trace Reference-line <list of lines>Line number that the tool will monitor (optional).
System Software Diagnostics Guide — September 2006 67CAS Trace ReferenceThe output is separated into the following columns:• Timestamp - the time at w
68 System Software Diagnostics Guide — September 2006CAS Trace Reference
System Software Diagnostics Guide — September 2006 691212.DebugAngel ReferenceThis chapter provides reference information about the DebugAngel tool. T
System Software Diagnostics Guide – September 2006 7ContentsFigures1 PSTN Diagnostics Tool - Board Level View . . . . . . . . . . . . . . . . . . . .
70 System Software Diagnostics Guide — September 2006DebugAngel Reference-manualChanges the service startup mode to manual.-autoChanges the service st
System Software Diagnostics Guide — September 2006 711313.Diagnostics Management Console (DMC) ReferenceThis chapter describes the Diagnostics Managem
72 System Software Diagnostics Guide — September 2006Diagnostics Management Console (DMC) Reference13.2 GuidelinesWhen you launch the DMC, you will se
System Software Diagnostics Guide — September 2006 73Diagnostics Management Console (DMC) Reference13.3.1 Menu BarThe main window of the DMC has a men
74 System Software Diagnostics Guide — September 2006Diagnostics Management Console (DMC) ReferenceViewing a log fileTo view a log file, locate the fi
System Software Diagnostics Guide — September 2006 75Diagnostics Management Console (DMC) ReferenceFigure 6. DMC Configuration DialogYou can modify th
76 System Software Diagnostics Guide — September 2006Diagnostics Management Console (DMC) ReferenceThe DMC configuration settings are stored in a dmc.
System Software Diagnostics Guide — September 2006 771414.DigitDetector ReferenceThis chapter provides reference information about the DigitDetector t
78 System Software Diagnostics Guide — September 2006DigitDetector Referencedigitdetector -board 0 -line 1 -chan 1
System Software Diagnostics Guide — September 2006 791515.Dlgsnapshot ReferenceThis chapter provides reference information about the Dlgsnapshot tool.
8 System Software Diagnostics Guide – September 2006Contents
80 System Software Diagnostics Guide — September 2006Dlgsnapshot ReferenceWhen boards are downloaded and you run Dlgsnapshot manually, a question is p
System Software Diagnostics Guide — September 2006 81Dlgsnapshot Reference[DM3];DETECTOR_AGENT = libdlgdm3detectoragentFAULTDETECTOR_AGENT = libd
82 System Software Diagnostics Guide — September 2006Dlgsnapshot Reference-p<physical slot number>Dumps the print buffer of the processor specif
System Software Diagnostics Guide — September 2006 831616.DM3Insight ReferenceThis chapter provides information about the DM3Insight tool.DM3Insight i
84 System Software Diagnostics Guide — September 2006DM3Insight Reference
System Software Diagnostics Guide — September 2006 851717.DM3post ReferenceThis chapter provides reference information about the DM3post tool. The fol
86 System Software Diagnostics Guide — September 2006DM3post Reference17.3 OptionsThe following command line options are used with the DM3post tool:-s
System Software Diagnostics Guide — September 2006 87DM3post ReferenceExample 2: Dm3 post run with the reset option on a board in slot 17, bus 0The fo
88 System Software Diagnostics Guide — September 2006DM3post Reference
System Software Diagnostics Guide — September 2006 891818.GCEV_TRACEDATA ReferenceThis chapter describes the data layout in the GCEV_TRACEDATA event s
System Software Diagnostics Guide – September 2006 9ContentsTables1 Structure of Data - Tracing CAS Signaling . . . . . . . . . . . . . . . . . . . .
90 System Software Diagnostics Guide — September 2006GCEV_TRACEDATA ReferenceFollowing are descriptions of the fields listed in Table 1:Data TypeThis
System Software Diagnostics Guide — September 2006 91GCEV_TRACEDATA Reference18.3 Structure of Data - Tracing ISDN TrunksTable 2 shows the structure o
92 System Software Diagnostics Guide — September 2006GCEV_TRACEDATA ReferenceCAS Data (data type field = 02H)This data type represents an event indica
System Software Diagnostics Guide — September 2006 93GCEV_TRACEDATA ReferenceSigDet ON Data (data type field = 08H)This data type represents an MF or
94 System Software Diagnostics Guide — September 2006GCEV_TRACEDATA Reference unsigned int8 LabelSize;}; Terms in the above structure are defi
System Software Diagnostics Guide — September 2006 95GCEV_TRACEDATA Reference// TraceData->seq_no (unsigned long)
96 System Software Diagnostics Guide — September 2006GCEV_TRACEDATA Reference return; } printf("Seq# Bytes\n"
System Software Diagnostics Guide — September 2006 97GCEV_TRACEDATA Reference unsigned long Timestamp; // read all the 'parts&apo
98 System Software Diagnostics Guide — September 2006GCEV_TRACEDATA Reference if(fread(&ToneID, sizeof(unsigned char), 1, hInFile) != 1)
System Software Diagnostics Guide — September 2006 99GCEV_TRACEDATA Reference if(fread(&Freq1, sizeof(unsigned short), 1, hInFile) != 1)
Comentarios a estos manuales