[Serusers] need help with AVP module (print_sattr())

Kostas Marneris K.Marneris at otenet.gr
Mon Dec 4 14:09:08 CET 2006


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

-- 
e-mail: K.Marneris at otenet.gr




More information about the sr-users mailing list