Module: kamailio Branch: master Commit: 12ea639c45db95e31c73d632822baa31df98c6a5 URL: https://github.com/kamailio/kamailio/commit/12ea639c45db95e31c73d632822baa31...
Author: Stefan Mititelu stefan-cristian.mititelu@1and1.ro Committer: Stefan Mititelu stefan-cristian.mititelu@1and1.ro Date: 2021-10-15T17:18:26+03:00
snmp: Update reply stats names
Solves issue #2865.
---
Modified: src/modules/snmpstats/snmpSIPCommonObjects.c
---
Diff: https://github.com/kamailio/kamailio/commit/12ea639c45db95e31c73d632822baa31... Patch: https://github.com/kamailio/kamailio/commit/12ea639c45db95e31c73d632822baa31...
---
diff --git a/src/modules/snmpstats/snmpSIPCommonObjects.c b/src/modules/snmpstats/snmpSIPCommonObjects.c index 3ddf6465b1..4b7b668f54 100644 --- a/src/modules/snmpstats/snmpSIPCommonObjects.c +++ b/src/modules/snmpstats/snmpSIPCommonObjects.c @@ -298,8 +298,8 @@ int handle_kamailioSIPSummaryOutResponses(netsnmp_mib_handler *handler, */
int fwd_replies = get_statistic("fwd_replies"); - int local_replies = get_statistic("local_replies"); - int relayed_replies = get_statistic("relayed_replies"); + int local_replies = get_statistic("rpl_generated"); + int relayed_replies = get_statistic("rpl_sent"); int sent_replies = get_statistic("sent_replies");
int result = fwd_replies + local_replies + relayed_replies + sent_replies; @@ -454,4 +454,4 @@ int handleSipEntityType(modparam_t type, void *val) }
return 0; -} \ No newline at end of file +}