<div dir="ltr">Thanks, Daniel.<div><br></div><div>In this case I'll define a custom counter.</div><div><br></div><div>Marat</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 30 мар. 2021 г. в 14:06, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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 href="https://www.kamailio.org/docs/modules/stable/modules/statistics.html" target="_blank">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>On 25.03.21 16:45, Marat Gareev wrote:<br>
</div>
<blockquote type="cite">
<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" target="_blank">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></fieldset>
<pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre cols="72">--
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Funding: <a href="https://www.paypal.me/dcmierla" target="_blank">https://www.paypal.me/dcmierla</a></pre>
</div>
</blockquote></div>