Bogdan, I am not sure if I fully understand what you wrote. How do I get OpenSips to just output -1 or what ever the value is instead of having to convert it to binary.
Dovid ----- Original Message ----- From: Anca Vamanu To: [email protected] Sent: Wednesday, January 26, 2011 11:25 Subject: Re: [OpenSIPS-Users] Value of www_authorize function Hi Dovid, On 01/25/2011 06:15 PM, Dovid Bender wrote: Hi, When doing: $avp(s:222) = www_authorize("", "phones"); xlog(".-.-.-. $avp(s:222) .-.-.-.-."); I get back: .-.-.-. 18446744073709551615 .-.-.-.-. If you write it in binary it is 128 of 1 - so that number is in fact -1. Seems like www_authorize returns error. Regards, -- Anca Vamanu www.voice-system.ro ------------------------------------------------------------------------------ _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
