Debugging and, or Investigation of messages

From Yate Documentation
Revision as of 11:58, 19 October 2012 by Dana (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The module msgsniff is for you to probe all the messages being generated and, or received by Yate and, or the modules compiled and enabled in yate.conf file.

This is a module you will use rather rarely, obviously it should be off by default.

The loading of msgsniff.yate is controlled by yate.conf like any other module.

The initial activation is controlled by msgsniff in [general] of same yate.conf file. The default status is off as it would flood the logs and hit the performance.

Example:

yate.conf

[general]
modload=no


[modules]
;for debugging yate
rmanager.yate=yes
msgsniff.yate=yes

The sniffer can be turned on and off from rmanager using the commands:

sniffer on
sniffer off

You can apply filter by specifying regex to match:

sniffer filter ^\(chan\.\|engine\.halt$\)
Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers