diff --git a/src/fne/network/callhandler/TagDMRData.cpp b/src/fne/network/callhandler/TagDMRData.cpp index bef87942..e6df61ab 100644 --- a/src/fne/network/callhandler/TagDMRData.cpp +++ b/src/fne/network/callhandler/TagDMRData.cpp @@ -763,8 +763,8 @@ bool TagDMRData::validate(uint32_t peerId, data::NetData& data, uint32_t streamI .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(data.getSrcId())) .tag("dstId", std::to_string(data.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) - .field("slot", data.getSlotNo()) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) + .field("slot", std::to_string(data.getSlotNo())) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -800,8 +800,8 @@ bool TagDMRData::validate(uint32_t peerId, data::NetData& data, uint32_t streamI .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(data.getSrcId())) .tag("dstId", std::to_string(data.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_DST_RID) - .field("slot", data.getSlotNo()) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_DST_RID)) + .field("slot", std::to_string(data.getSlotNo())) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -821,8 +821,8 @@ bool TagDMRData::validate(uint32_t peerId, data::NetData& data, uint32_t streamI .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(data.getSrcId())) .tag("dstId", std::to_string(data.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) - .field("slot", data.getSlotNo()) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) + .field("slot", std::to_string(data.getSlotNo())) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -848,8 +848,8 @@ bool TagDMRData::validate(uint32_t peerId, data::NetData& data, uint32_t streamI .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(data.getSrcId())) .tag("dstId", std::to_string(data.getDstId())) - .field("message", INFLUXDB_ERRSTR_INV_TALKGROUP) - .field("slot", data.getSlotNo()) + .field("message", std::string(INFLUXDB_ERRSTR_INV_TALKGROUP)) + .field("slot", std::to_string(data.getSlotNo())) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -880,8 +880,8 @@ bool TagDMRData::validate(uint32_t peerId, data::NetData& data, uint32_t streamI .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(data.getSrcId())) .tag("dstId", std::to_string(data.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) - .field("slot", data.getSlotNo()) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) + .field("slot", std::to_string(data.getSlotNo())) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -903,8 +903,8 @@ bool TagDMRData::validate(uint32_t peerId, data::NetData& data, uint32_t streamI .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(data.getSrcId())) .tag("dstId", std::to_string(data.getDstId())) - .field("message", INFLUXDB_ERRSTR_INV_SLOT) - .field("slot", data.getSlotNo()) + .field("message", std::string(INFLUXDB_ERRSTR_INV_SLOT)) + .field("slot", std::to_string(data.getSlotNo())) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -924,8 +924,8 @@ bool TagDMRData::validate(uint32_t peerId, data::NetData& data, uint32_t streamI .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(data.getSrcId())) .tag("dstId", std::to_string(data.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_TALKGROUP) - .field("slot", data.getSlotNo()) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_TALKGROUP)) + .field("slot", std::to_string(data.getSlotNo())) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -950,7 +950,7 @@ bool TagDMRData::validate(uint32_t peerId, data::NetData& data, uint32_t streamI .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(data.getSrcId())) .tag("dstId", std::to_string(data.getDstId())) - .field("message", INFLUXDB_ERRSTR_RID_NOT_PERMITTED) + .field("message", std::string(INFLUXDB_ERRSTR_RID_NOT_PERMITTED)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } diff --git a/src/fne/network/callhandler/TagNXDNData.cpp b/src/fne/network/callhandler/TagNXDNData.cpp index 27e175a0..be7e8765 100644 --- a/src/fne/network/callhandler/TagNXDNData.cpp +++ b/src/fne/network/callhandler/TagNXDNData.cpp @@ -570,7 +570,7 @@ bool TagNXDNData::validate(uint32_t peerId, lc::RTCH& lc, uint8_t messageType, u .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(lc.getSrcId())) .tag("dstId", std::to_string(lc.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -606,7 +606,7 @@ bool TagNXDNData::validate(uint32_t peerId, lc::RTCH& lc, uint8_t messageType, u .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(lc.getSrcId())) .tag("dstId", std::to_string(lc.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_DST_RID) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_DST_RID)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -628,7 +628,7 @@ bool TagNXDNData::validate(uint32_t peerId, lc::RTCH& lc, uint8_t messageType, u .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(lc.getSrcId())) .tag("dstId", std::to_string(lc.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -656,7 +656,7 @@ bool TagNXDNData::validate(uint32_t peerId, lc::RTCH& lc, uint8_t messageType, u .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(lc.getSrcId())) .tag("dstId", std::to_string(lc.getDstId())) - .field("message", INFLUXDB_ERRSTR_INV_TALKGROUP) + .field("message", std::string(INFLUXDB_ERRSTR_INV_TALKGROUP)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -687,7 +687,7 @@ bool TagNXDNData::validate(uint32_t peerId, lc::RTCH& lc, uint8_t messageType, u .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(lc.getSrcId())) .tag("dstId", std::to_string(lc.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -734,7 +734,7 @@ bool TagNXDNData::validate(uint32_t peerId, lc::RTCH& lc, uint8_t messageType, u .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(lc.getSrcId())) .tag("dstId", std::to_string(lc.getDstId())) - .field("message", INFLUXDB_ERRSTR_RID_NOT_PERMITTED) + .field("message", std::string(INFLUXDB_ERRSTR_RID_NOT_PERMITTED)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } diff --git a/src/fne/network/callhandler/TagP25Data.cpp b/src/fne/network/callhandler/TagP25Data.cpp index 4dd980fb..1f169839 100644 --- a/src/fne/network/callhandler/TagP25Data.cpp +++ b/src/fne/network/callhandler/TagP25Data.cpp @@ -1088,7 +1088,7 @@ bool TagP25Data::validate(uint32_t peerId, lc::LC& control, DUID::E duid, const .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(control.getSrcId())) .tag("dstId", std::to_string(control.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -1156,7 +1156,7 @@ bool TagP25Data::validate(uint32_t peerId, lc::LC& control, DUID::E duid, const .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(control.getSrcId())) .tag("dstId", std::to_string(control.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_DST_RID) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_DST_RID)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -1178,7 +1178,7 @@ bool TagP25Data::validate(uint32_t peerId, lc::LC& control, DUID::E duid, const .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(control.getSrcId())) .tag("dstId", std::to_string(control.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -1254,7 +1254,7 @@ bool TagP25Data::validate(uint32_t peerId, lc::LC& control, DUID::E duid, const .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(control.getSrcId())) .tag("dstId", std::to_string(control.getDstId())) - .field("message", INFLUXDB_ERRSTR_INV_TALKGROUP) + .field("message", std::string(INFLUXDB_ERRSTR_INV_TALKGROUP)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -1285,7 +1285,7 @@ bool TagP25Data::validate(uint32_t peerId, lc::LC& control, DUID::E duid, const .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(control.getSrcId())) .tag("dstId", std::to_string(control.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_SRC_RID) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_SRC_RID)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -1307,7 +1307,7 @@ bool TagP25Data::validate(uint32_t peerId, lc::LC& control, DUID::E duid, const .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(control.getSrcId())) .tag("dstId", std::to_string(control.getDstId())) - .field("message", INFLUXDB_ERRSTR_DISABLED_TALKGROUP) + .field("message", std::string(INFLUXDB_ERRSTR_DISABLED_TALKGROUP)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); } @@ -1332,7 +1332,7 @@ bool TagP25Data::validate(uint32_t peerId, lc::LC& control, DUID::E duid, const .tag("streamId", std::to_string(streamId)) .tag("srcId", std::to_string(control.getSrcId())) .tag("dstId", std::to_string(control.getDstId())) - .field("message", INFLUXDB_ERRSTR_RID_NOT_PERMITTED) + .field("message", std::string(INFLUXDB_ERRSTR_RID_NOT_PERMITTED)) .timestamp(std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count()) .requestAsync(m_network->m_influxServer); }