[OpenSIPS-Users] [NEW] SIPtrace enhancement
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Jan 27 13:07:32 CET 2009
Hi,
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
function.
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.
Usage:
if (is_method("INVITE") && !has_totag() ) {
trace_dialog()
}
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:
http://www.opensips.org/html/docs/modules/devel/siptrace.html#id228297
Regards,
Bogdan
More information about the Users
mailing list