diff --git a/src/blackcore/context/contextaudio.cpp b/src/blackcore/context/contextaudio.cpp index 2fe157b08..6845b75c5 100644 --- a/src/blackcore/context/contextaudio.cpp +++ b/src/blackcore/context/contextaudio.cpp @@ -433,6 +433,13 @@ namespace BlackCore // we only change network connection of AFC client here if (to.isConnected() && this->getIContextNetwork()) { + const CEcosystem ecoSystem = this->getIContextNetwork()->getConnectedServer().getEcosystem(); + if (ecoSystem != CEcosystem::vatsim()) + { + CLogMessage(this).info(u"Will not use AFV as ecosystem is '%1'") << ecoSystem.toQString(true); + return; + } + const CVoiceSetup vs = m_voiceSettings.getThreadLocal(); m_voiceClient->updateVoiceServerUrl(vs.getAfvVoiceServerUrl());