<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>Hi,<br>
      <br>
      Use the {s.int} transformation:<br>
      &nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsCoreTran18#toc3">http://www.opensips.org/Resources/DocsCoreTran18#toc3</a><br>
      <br>
      -&gt;&nbsp; if ( $(avp(i:1){s.int}) &lt; $(avp(i:(2){s.int}) )<br>
      <br>
      Regards,</tt><br>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 06/21/2012 06:34 PM, prasad kelkar wrote:
    <blockquote
cite="mid:CAFDmxH0So1GtuFHKx8FwQmeqv39gh_U+m6icpTzekH0NFUw0kw@mail.gmail.com"
      type="cite">
      <div>hello,<br>
      </div>
      <div>Avpops with string works well.</div>
      <div>But how to use int values if you want to compare two of them?</div>
      <div>example if you have if(avp(i:1&lt;avp(i:(2))</div>
      <div>please help</div>
      <div>thank you</div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>