There are several packet capture and trace tools for OpenSIPS. One of the simplest is
ngrep, which is used throughout this book. Another important tool is the SIPTRACE module. With this tool, you can trace calls from a specific user in real time. SIPTRACE can impact the performance of your system when enabled. The SIPTRACE module logs the SIP signaling to a database for inbound and outbound traffic.
The module is simple to use, you need to load the module and mark the transactions you want to record using a specific flag. This flag is defined in the module parameter
trace_flag. You probably don't want to record all messages to the database because of the overhead. It is possible to start the trace for a single user.
The module ...