From a4ad5f2de7e70c71f5c6695f2a9272bf40f753a7 Mon Sep 17 00:00:00 2001 From: Dotty Dotter Date: Thu, 16 Apr 2026 21:55:41 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Kamailio=20t=5Frelay=5Fto=5Ftcp=20?= =?UTF-8?q?=E2=80=94=20Force=20TCP=20relay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kamailio läuft TCP-only, t_relay versuchte per UDP zu routen. t_relay_to_tcp erzwingt TCP für alle Relays. Co-Authored-By: Claude Opus 4.6 (1M context) --- kamailio/kamailio.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kamailio/kamailio.cfg b/kamailio/kamailio.cfg index 575349a..eb10fd7 100644 --- a/kamailio/kamailio.cfg +++ b/kamailio/kamailio.cfg @@ -217,7 +217,8 @@ route[RELAY] { if (isbflagset(7)) { add_rr_param(";nat=yes"); } - if (!t_relay()) { + # Force TCP — Kamailio hat keinen UDP-Listener + if (!t_relay_to_tcp()) { sl_send_reply("500", "Relay Error"); } }