fix: Kamailio t_relay_to_tcp — Force TCP relay
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) <noreply@anthropic.com>
This commit is contained in:
parent
934c832fdf
commit
a4ad5f2de7
@ -217,7 +217,8 @@ route[RELAY] {
|
|||||||
if (isbflagset(7)) {
|
if (isbflagset(7)) {
|
||||||
add_rr_param(";nat=yes");
|
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");
|
sl_send_reply("500", "Relay Error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user