[SR-Users] ~ operator has no effect
Brandon Armstead
brandon at cryy.com
Tue May 17 22:53:05 CEST 2011
Juha,
Quick correction: $var(test) = $var(test) & ~ 2;
On Tue, May 17, 2011 at 8:13 AM, Juha Heinanen <jh at tutpro.com> wrote:
> 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110517/0b74c660/attachment.htm>
More information about the sr-users
mailing list