OpenSER module xlog

xlog module provides the possibility to print user formatted log or debug messages from OpenSER configuration scripts, similar to printf function but now a specifier is replaced with a part of the SIP message or other variables from system. Any pseudo-variable can be printed out.

As an example, here is the command to print the SIP method, From and To URIs.


xlog("method=$rm from-uri=$fu to-uri=$tu\n");


Links to documentation of xlog module:
xlog module provides the possibility to print user formatted log or debug messages from OpenSER configuration scripts, similar to printf function but now a specifier is replaced with a part of the SIP message or other variables from system. Any pseudo-variable can be printed out.

As an example, here is the command to print the SIP method, From and To URIs.


xlog("method=$rm from-uri=$fu to-uri=$tu\n");


Links to documentation of xlog module:
Created by: miconda, Last modification: Wed 25 of Jul, 2007 (19:37 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+