[OpenSIPS-Devel] [NEW] SIPtrace enhancement

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jan 27 13:07:32 CET 2009


The siptrace module is now able to automatically trace a whole dialog - 
to trace all requests and replies from a dialog, with a single call of a 

The new "trace_dialog()" function, if called for the initial request, 
will automatically create the dialog and trigger the tracing for all 
messages from the dialog.

    if (is_method("INVITE") && !has_totag() ) {

There is no need to set other flags or to call other tracing function - 
such use the trace_dialog() and everything will be automatically done.

To implement such functionality, the siptrace module needs to use the 
dialog module. To keep backward compatibility, the siptrace module 
requires the dialog module only if the trace_dialog() function is used. 
If not used, no dependency will be required.

Also see:


More information about the Devel mailing list