From 268e5b6f7f0c3c039a5e8e0e2402fc9910bb5c93 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sat, 8 Aug 2026 14:12:53 -0400 Subject: [PATCH] increment total call processed counters when a data call starts; --- src/fne/network/callhandler/packetdata/DMRPacketData.cpp | 1 + src/fne/network/callhandler/packetdata/P25PacketData.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/fne/network/callhandler/packetdata/DMRPacketData.cpp b/src/fne/network/callhandler/packetdata/DMRPacketData.cpp index a6ffaf2c..cf585bef 100644 --- a/src/fne/network/callhandler/packetdata/DMRPacketData.cpp +++ b/src/fne/network/callhandler/packetdata/DMRPacketData.cpp @@ -209,6 +209,7 @@ bool DMRPacketData::processFrame(const uint8_t* data, uint32_t len, uint32_t pee } LogInfoEx((fromUpstream) ? LOG_PEER : LOG_MASTER, "DMR, Data Call Start, peer = %u, slot = %u, srcId = %u, dstId = %u, group = %u, streamId = %u, fromUpstream = %u", peerId, status->slotNo, status->srcId, status->dstId, gi, streamId, fromUpstream); + TrafficNetwork::MetricsLogging::incrementCallsProcessed(m_network); return true; } diff --git a/src/fne/network/callhandler/packetdata/P25PacketData.cpp b/src/fne/network/callhandler/packetdata/P25PacketData.cpp index 5f29ad20..7b93c21c 100644 --- a/src/fne/network/callhandler/packetdata/P25PacketData.cpp +++ b/src/fne/network/callhandler/packetdata/P25PacketData.cpp @@ -230,6 +230,7 @@ bool P25PacketData::processFrame(const uint8_t* data, uint32_t len, uint32_t pee } LogInfoEx((fromUpstream) ? LOG_PEER : LOG_MASTER, "P25, Data Call Start, peer = %u, llId = %u, streamId = %u, fromUpstream = %u", peerId, status->llId, streamId, fromUpstream); + TrafficNetwork::MetricsLogging::incrementCallsProcessed(m_network); continue; }