Module: kamailio
Branch: master
Commit: d0261b61d7cb23f437e69891e42a9c9fd3fa622b
URL:
https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9…
Author: Elena-Ramona Modroiu <ramona(a)asipto.com>
Committer: Elena-Ramona Modroiu <ramona(a)asipto.com>
Date: 2016-04-29T12:04:10+02:00
xlog: exported xlogging functions to kemi
- xdbg(txt), xinfo(txt), xnotice(txt), xwarn(txt), xerr(txt),
xalert(txt), xcrit(txt), xlog(lev, txt)
- the txt can include kamailio variables even in the embedded lanaguage
script, e.g.,:
KSR.xlog.xinfo("received $rm from $si\n");
- if no kamailio variables are in the text, it is recommended to use the
KSR core functions, e.g.,: KSR.info("received INVITE from 127.0.0.1\n");
- all the parameters are parsed and evaluated for each execution of the
function, there is no fixup at startup that can be triggered by the
non-native embedded interpreters
---
Modified: modules/xlog/xlog.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9…
Patch:
https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9…