[OpenSIPS-Users] Value of www_authorize function

Dovid Bender os-list at dovid.net
Wed Jan 26 16:12:47 CET 2011


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: users at lists.opensips.org 
  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
  Users at lists.opensips.org
  http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110126/b6c3de6c/attachment.htm>


More information about the Users mailing list