according to core cookbook:

~ : bitwise NOT

however, looks like it has no effect.  i have

        $var(test) = ~2;
        xlog("L_INFO", "test is <$var(test)>\n");

and i get to syslog:

May 17 18:10:40 sip /usr/sbin/sip-proxy[29280]: INFO: test is <2>

have i misunderstood the operator or is there a bug?

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to