[OpenSIPS-Users] [NEW] SIPtrace enhancement

Brett Nemeroff brett at nemeroff.com
Tue Jan 27 15:37:25 CET 2009


This is great! Thanks for this... very useful..-Brett


On Tue, Jan 27, 2009 at 6:07 AM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:

> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090127/440e5525/attachment-0001.htm 


More information about the Users mailing list