<!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">
    Hi,<br>
    <br>
    You can use the statistics module, and create a new statistic, that
    you can increment once a new call gets in. See [1] .<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/devel/statistics">http://www.opensips.org/html/docs/modules/devel/statistics</a><br>
    <br>
    Regards,<br>
    <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
    <br>
    On 05/07/2012 05:00 PM, prasad kelkar wrote:
    <blockquote
cite="mid:CAFDmxH0MZti+KAP1R6L5ULQvwG1PBO_jythVkiLe94ZMiCHUkw@mail.gmail.com"
      type="cite">hello,<br>
      I want to declare one "count"variable which count number of calls.<br>
      I declared it in global parameter section of opensips.cfg as
      $var(count)=0;<br>
      It did not work.<br>
      Please tell me where to declare new variable and how to use in
      route block.<br>
      An example will help.<br>
      thank you.
      <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>