I think you need to log to stderr. Also, you may need to increase the
debug level (but I wouldn't think so).
g-)
Kostas Marneris wrote:
Hello,
I have the following config :
loadmodule "/opt/ser-0.9.6/lib/ser/modules/avp.so"
and in main route block, after the first Sanity Check Section :
uri2attr("ruri");
print_sattr("ruri");
#
if (is_sattr_set("ruri")) {
xlog("L_NOTICE", "SET");
print_sattr("ruri");
} else {
xlog("L_NOTICE", "NOT SET");
};
It seems that 'print_sattr()' simply does not work.
On first 'print_sattr("ruri")' command I have nothing at my syslog.
On 'if' block, the function 'is_sattr_set()' works ok,
I get the "SET" message @ syslog, but not the 'ruri' attribute.
Am I miss something ?
thanks for any help,
Kostas