Browse code

snmp: Update reply stats names

Solves issue #2865.

Stefan Mititelu authored on 15/10/2021 07:30:25
Showing 1 changed files
... ...
@@ -298,8 +298,8 @@ int handle_kamailioSIPSummaryOutResponses(netsnmp_mib_handler *handler,
298 298
 	 */
299 299
 
300 300
 	int fwd_replies = get_statistic("fwd_replies");
301
-	int local_replies = get_statistic("local_replies");
302
-	int relayed_replies = get_statistic("relayed_replies");
301
+	int local_replies = get_statistic("rpl_generated");
302
+	int relayed_replies = get_statistic("rpl_sent");
303 303
 	int sent_replies = get_statistic("sent_replies");
304 304
 
305 305
 	int result = fwd_replies + local_replies + relayed_replies + sent_replies;
... ...
@@ -454,4 +454,4 @@ int handleSipEntityType(modparam_t type, void *val)
454 454
 	}
455 455
 
456 456
 	return 0;
457
-}
458 457
\ No newline at end of file
458
+}