<p></p>

<h3>Description</h3>
<p>I noticed in the logs messages similar to errors (in fact, this is INFO level).</p>

<h3>Troubleshooting</h3>
<h4>Reproduction</h4>
<p>Retrive <strong>kamailioSIPSummaryOutResponses</strong> statistic<br>
<code>snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.34352.3.1.1.1.3.4</code><br>
And you will see errors in log file.</p>

<h4>Log Messages</h4>

<pre><code>INFO /usr/local/sbin/kamailio[15984]: INFO: snmpstats [utilities.c:116]: get_statistic(): failed to retrieve statistics for local_replies
INFO /usr/local/sbin/kamailio[15984]: INFO: snmpstats [utilities.c:116]: get_statistic(): failed to retrieve statistics for relayed_replies
</code></pre>
<h3>Possible Solutions</h3>
<p>I found part of code<br>
<a href="https://github.com/kamailio/kamailio/blob/026119200117d20740cbe4d162a14767fe560fc5/src/modules/snmpstats/snmpSIPCommonObjects.c#L292-L303">https://github.com/kamailio/kamailio/blob/026119200117d20740cbe4d162a14767fe560fc5/src/modules/snmpstats/snmpSIPCommonObjects.c#L292-L303</a><br>
and it seems that tm module no longer has <code>local_replies</code> and <code>relayed_replies</code> statistics.</p>
<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>version: kamailio 5.4.3 (x86_64/linux)
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2865">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOBITJVOHMKE3M6BKTUELYW3ANCNFSM5E7T43FQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZNXZC6IJ4W3L4WZOOLUELYW3A5CNFSM5E7T43F2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PCAAHGA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2865",
"url": "https://github.com/kamailio/kamailio/issues/2865",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>