Module: kamailio Branch: master Commit: 5dba946d56e9e2de1d9124b6912e525859c753f7 URL: https://github.com/kamailio/kamailio/commit/5dba946d56e9e2de1d9124b6912e525859c753f7
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-05-15T08:51:51+02:00 core: via builder - print socket in log when failing to find ws connection --- Modified: src/core/msg_translator.c --- Diff: https://github.com/kamailio/kamailio/commit/5dba946d56e9e2de1d9124b6912e525859c753f7.diff Patch: https://github.com/kamailio/kamailio/commit/5dba946d56e9e2de1d9124b6912e525859c753f7.patch --- diff --git a/src/core/msg_translator.c b/src/core/msg_translator.c index d19bd8cd24c..6cd044892a8 100644 --- a/src/core/msg_translator.c +++ b/src/core/msg_translator.c @@ -3160,9 +3160,10 @@ char *via_builder(unsigned int *len, sip_msg_t *msg, if(con == NULL) { if(!(send_info->send_flags.f & SND_F_WSX_OUTBOUND)) { LM_WARN("TCP/TLS connection (id: %d) for WebSocket could not " - "be " - "found - likely it is gone (dst: [%s]:%d)\n", - send_info->id, (port) ? ip_addr2a(&ip) : "", port); + "be found - likely it is gone (dst: [%s]:%d) (sock: " + "[%s])\n", + send_info->id, (port) ? ip_addr2a(&ip) : "", port, + (from) ? send_info->send_sock->sock_str.s : "*"); pkg_free(line_buf); return 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!
