Module: kamailio Branch: 6.1 Commit: 076ffc367992b7d923479db976a5720323f47486 URL: https://github.com/kamailio/kamailio/commit/076ffc367992b7d923479db976a5720323f47486
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-05-26T12:38:01+02:00 core: try to find ws connection also without local socket (cherry picked from commit b26678f93639967b40ca251bd0c4a262d2c17552) --- Modified: src/core/msg_translator.c --- Diff: https://github.com/kamailio/kamailio/commit/076ffc367992b7d923479db976a5720323f47486.diff Patch: https://github.com/kamailio/kamailio/commit/076ffc367992b7d923479db976a5720323f47486.patch --- diff --git a/src/core/msg_translator.c b/src/core/msg_translator.c index bf18f970cb4..ef87caab50e 100644 --- a/src/core/msg_translator.c +++ b/src/core/msg_translator.c @@ -3151,6 +3151,9 @@ char *via_builder(unsigned int *len, sip_msg_t *msg, if(likely(port)) { su2ip_addr(&ip, &send_info->to); con = tcpconn_get(send_info->id, &ip, port, from, 0); + if(con == NULL && from != NULL) { + con = tcpconn_get(send_info->id, &ip, port, NULL, 0); + } } else if(likely(send_info->id)) con = tcpconn_get(send_info->id, 0, 0, 0, 0); else { _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
