diff --git a/reflector/DMRMMDVMProtocol.cpp b/reflector/DMRMMDVMProtocol.cpp index 7b8dc8b..7de1cf0 100644 --- a/reflector/DMRMMDVMProtocol.cpp +++ b/reflector/DMRMMDVMProtocol.cpp @@ -310,7 +310,7 @@ void CDmrmmdvmProtocol::OnDvHeaderPacketIn(std::unique_ptr &Hea // might not set RPT2 correctly (e.g. just "N8ZA" or "DMRGW"). uint32_t tg = 0; try { - std::string destStr = Header->GetUrCallsign().GetCallsign(); + std::string destStr = Header->GetUrCallsign().GetCS(); // Remove spaces destStr.erase(std::remove(destStr.begin(), destStr.end(), ' '), destStr.end()); if (!destStr.empty() && std::all_of(destStr.begin(), destStr.end(), ::isdigit)) {