From 0e48bed9c14887f22946593452b4ab6439ccdac0 Mon Sep 17 00:00:00 2001 From: Dmytro Bogovych Date: Mon, 6 Jul 2026 12:32:27 +0300 Subject: [PATCH] - set User-Agent via agent interface --- src/engine/agent/Agent_Impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/agent/Agent_Impl.cpp b/src/engine/agent/Agent_Impl.cpp index e1e1a0c4..639a2eaf 100644 --- a/src/engine/agent/Agent_Impl.cpp +++ b/src/engine/agent/Agent_Impl.cpp @@ -189,6 +189,7 @@ void AgentImpl::processConfig(JsonCpp::Value &d, JsonCpp::Value &answer) config()[CONFIG_MULTIPLEXING] = true; config()[CONFIG_DISPLAYNAME] = "Voip quality tester"; + config()[CONFIG_USERAGENT] = d["useragent"].asString(); mUseNativeAudio = d["nativeaudio"].asBool(); config()[CONFIG_OWN_DNS] = d["dns_servers"].asString();