Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

<?xml version="1.0" encoding="utf-8"?>
<html>

Table of Contents
outlinetrue
indent20px
stylenone
printablefalse

Single most important tip for troubleshooting is inspect log files.

...

To change the logging level, log into web ui, assuming you can access the web ui, and navigate menu to

...

System/General

...

And and you should see something like the following UI (there may be different components depending on how your system is installed and the version you are running)

...

Setting the log level for a component to INFO will record all the SIP messages it sends and receives in the log. The DEBUG level is very verbose, and mostly of interest to software developers; INFO is sufficient for debugging most configuration problems.

How to debug a call

Once you change the log level, stop sipXpbx and move the existing log file aside, then restart sipXpbx so that you have a clean log. Make a call, then look at the log file

Panel

syslogviewer -i < /var/log/sipxpbx/sipXproxy.log | less

Make sure you set the log level back to NOTICE when done or your logs will take much more disk space. At high logging levels you may see a significant performance degradation when under high load.

For interpreting call flows, you can also Display SIP message flow using Sipviewer

Setting log level for Web UI - sipXconfig

By default sipXconfig is configured with NOTICE logging level. You can temporarily increase logging level by editing /etc/sipxpbx/sipxconfig-jetty.xml file.
Fine the following lines:

Panel

<!- - set to true to enable sipxconfig logging -->
<Set name="debug">false</Set>

and set debug to true

Panel

<Set name="debug">true</Set>

sipXconfig 3.4 Logging Level Image Removed

{{Box File|/etc/sipxpbx/log4j.properties|

...

.

...

}}

Setting log level for mediaserver

Edit

Panel

/etc/sipxpbx/voicemail.xml.in

and change the

Code Block
voicemail-cgi-log-level

XML element to this:

Panel

<voicemail-cgi-log-level>DEBUG</voicemail-cgi-log-level>

then restart mediaserver

</html>