<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.6000.17093" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Bogdan,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>Dovid</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=anca@opensips.org href="mailto:anca@opensips.org">Anca Vamanu</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org">users@lists.opensips.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 26, 2011
11:25</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [OpenSIPS-Users] Value of
www_authorize function</DIV>
<DIV><BR></DIV>Hi Dovid,<BR>On 01/25/2011 06:15 PM, Dovid Bender wrote:
<BLOCKQUOTE cite=mid:A4B42C7DB1E846AD876AEDAE02252687@mypbxmanager.net
type="cite">
<META content="MSHTML 6.00.6000.17093" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV><FONT face=Arial size=2></FONT>
<DIV><FONT face=Arial size=2><BR>When doing:</FONT></DIV>
<DIV><FONT face=Arial
size=2>
$avp(s:222) = www_authorize("",
"phones");<BR>
xlog(".-.-.-. $avp(s:222) .-.-.-.-.");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I get back: .-.-.-. 18446744073709551615
.-.-.-.-.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE>If you write it
in binary it is 128 of 1 - so that number is in fact -1. Seems like <FONT
face=Arial size=2>www_authorize returns error.<BR><BR>Regards,</FONT><BR><PRE class=moz-signature cols="72">--
Anca Vamanu
<A class=moz-txt-link-abbreviated href="http://www.voice-system.ro">www.voice-system.ro</A>
</PRE>
<P>
<HR>
<P></P>_______________________________________________<BR>Users mailing
list<BR>Users@lists.opensips.org<BR>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR></BLOCKQUOTE></BODY></HTML>