<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>the statistics from the core are only for stateless forwarding.</p>
    <p>You can check if tmx module offers the numbers you are looking
      for (load the module and check the output of 'kamctl stats').</p>
    <p>If not, you can also define new statistics in the config with the
      module:</p>
    <p>  *
      <a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/statistics.html">https://www.kamailio.org/docs/modules/stable/modules/statistics.html</a></p>
    <p>An you can incremented when you use t_relay(). Alternative, you
      can use onsend_route for requests.</p>
    <p>On the other hand, I do not use snmp module to see if there is
      any option to export config-defined stats to snmp.</p>
    <p>Firthermore, maybe you can switch to statsd module for pushing
      out the stats or pull them via rpc.<br>
    </p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 25.03.21 16:45, Marat Gareev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGBFc1VGnD4n=Mc3iaL5-swwiX5Z6LbJvFB95b-9MyLEDBusXw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I'm trying to get the total number of SIP request messages
          sent out by the proxy with <b>kamailioSIPSummaryOutRequest</b> scalar.</div>
        <div>But the value doesn't increase if I use t_relay() (with
          forward() counter works).</div>
        <div><br>
        </div>
        <div>Related <a
            href="https://opensips.org/pipermail/users/2012-December/024045.html"
            moz-do-not-send="true">thread</a>.</div>
        <div><br>
        </div>
        <div>Is there another SNMP counter which contains a total number
          of OUT requests?</div>
        <div><br>
        </div>
        <div>Marat</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>