From 6690098a1cf7eb279a51e87d0fc6b3673ec0f028 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sun, 13 Apr 2025 11:48:49 -0400 Subject: [PATCH] do not announce data services when set for trunking and SNDCP is disabled; --- src/host/p25/Control.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/host/p25/Control.cpp b/src/host/p25/Control.cpp index 2a542d88..1080b576 100644 --- a/src/host/p25/Control.cpp +++ b/src/host/p25/Control.cpp @@ -379,6 +379,8 @@ void Control::setOptions(yaml::Node& conf, bool supervisor, const std::string cw */ uint8_t serviceClass = ServiceClass::VOICE | ServiceClass::DATA; if (m_enableControl) { + if (!m_sndcpSupport) + serviceClass = ServiceClass::VOICE; serviceClass |= ServiceClass::REG; }