do not announce data services when set for trunking and SNDCP is disabled;

pull/85/head
Bryan Biedenkapp 10 months ago
parent 89fe5bc1dc
commit 6690098a1c

@ -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;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.