Module: kamailio Branch: master Commit: b26678f93639967b40ca251bd0c4a262d2c17552 URL: https://github.com/kamailio/kamailio/commit/b26678f93639967b40ca251bd0c4a262d2c17552
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-05-26T12:28:15+02:00 core: try to find ws connection also without local socket --- Modified: src/core/msg_translator.c --- Diff: https://github.com/kamailio/kamailio/commit/b26678f93639967b40ca251bd0c4a262d2c17552.diff Patch: https://github.com/kamailio/kamailio/commit/b26678f93639967b40ca251bd0c4a262d2c17552.patch --- diff --git a/src/core/msg_translator.c b/src/core/msg_translator.c index e8e04b4d689..59c10b0ece3 100644 --- a/src/core/msg_translator.c +++ b/src/core/msg_translator.c @@ -3149,6 +3149,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!
