CorporateKnowledgeProductsSolutionsConsultingDistributorsSupport
Trusted Computing ForumSirrix.PCI ISDN CardDownloadsFAQ
Debugging

Which debugging information is available?

  1. D-channel trace
  2. B-channel dump
  3. Layer 1 trace
    With Sirrix.PCI4S0 driver version starting from 060330, you can use the following CLI commands to log actions on layer 1:
    srx show l1indications 1
    srx show l1states 1
  4. Asterisk verbose messages
    Use the following CLI command to receive verbose information from Asterisk:
    set verbose 10
  5. Asterisk debug
    Activate logging of debugging messages in Asterisk in the following file:
    /etc/asterisk/logger.conf
  6. SIP debug
    If you are using SIP devices, the problem could also created by a temporary failure on that "side". Please activate logging of SIP protocol messages with the following CLI command:
    sip debug

Please assure, that all desired messages are actually written to log files.

If you experience the problem at a certain time, please note that time and assure, that the clock on the Asterisk server is set properly.


D-channel trace

With the program sirrix-pci/bin/dchmon (older driver versions: dchdump) you get a D-channel trace. With a tool from here the trace can be decoded.

For creating the trace do the following:

  1. load the additional kernel module sirrix_dchmon (older driver versions: sirrix_dch)
    modprobe sirrix_dchmon
  2. start the trace and pipe the output in a file:
    sirrix-pci/tools/dchmon/dchmon >logfile
  3. do your test-calls
  4. for stopping the D-channel trace, simply hit CTRL-C
  5. send the logfile by e-mail: support (at) sirrix (dot) com

Please include a detailed problem description together with the configuration and dialplan. Please also indicate which ports contain the data of interest.

You can invoke this process in "background" by using "screen" ("man screen").


B-channel dump

To test the B-channels the program sirrix-pci/bin/bchtest can be used:

sirrix-pci/tools/bchtest/bchtest [hostacc] [port] [chan] [subchan]

hostacc is the host access on Sirrix.PCI2E1; set to ffff on Sirrix.PCI4S0
port is the port on Sirrix.PCI4S0 (0000,0001,0002,0003,0100,...); set to ffff on Sirrix.PCI2E1
chan is the b-channel (1, 2, ...)
subchan is the direction on Sirrix.PCI4S0 (0 for receive, 1 for send)

Example:
sirrix-pci/tools/bchtest/bchtest ffff 0000 1 0 >bch-log
Writes incoming data on port 0000, B-channel 1 to bch-log


Asterisk CLI commands

srx show layers
Show info about ISDN stack (Layer 1, 2, 3)

srx show stats
Show layer 1 statistics for given port.

srx show pvts
Show private info about all active Sirrix.PCI channels.

srx show system
Show information about the hardware configuration.

For further information take a look at README.install.

Anmelden