Module: kamailio Branch: 5.8 Commit: 9e4f2cc054d04de2aaeceadac5ab876bb94911ff URL: https://github.com/kamailio/kamailio/commit/9e4f2cc054d04de2aaeceadac5ab876bb94911ff
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2025-04-09T09:42:34+02:00 tm: debug message instead of error log (cherry picked from commit d5cbcfad6e4227b198c90a57ed9a9d7883e7d911) (cherry picked from commit 91cc4a6af20911e96ccc8d88edd1c43c636b3ee2) --- Modified: src/modules/tm/t_reply.c --- Diff: https://github.com/kamailio/kamailio/commit/9e4f2cc054d04de2aaeceadac5ab876bb94911ff.diff Patch: https://github.com/kamailio/kamailio/commit/9e4f2cc054d04de2aaeceadac5ab876bb94911ff.patch --- diff --git a/src/modules/tm/t_reply.c b/src/modules/tm/t_reply.c index 371988c4412..9253ef32391 100644 --- a/src/modules/tm/t_reply.c +++ b/src/modules/tm/t_reply.c @@ -548,9 +548,15 @@ static int _reply_light(struct cell *trans, char *buf, unsigned int len, * the chances for this increase a lot. */ if(unlikely(!trans->uas.response.dst.send_sock)) { - LM_ERR("no resolved dst to send reply to [code: %u, t-flags: %x" - " buf: %.*s ...]\n", - code, trans->flags, (len > 128) ? 128 : len, buf); + if(unlikely(is_local(trans))) { + LM_DBG("local transaction reply [code: %u, t-flags: %x" + " buf: %.*s ...]\n", + code, trans->flags, (len > 256) ? 256 : len, buf); + } else { + LM_ERR("no resolved dst to send reply to [code: %u, t-flags: %x" + " buf: %.*s ...]\n", + code, trans->flags, (len > 256) ? 256 : len, buf); + } } else { if(likely(SEND_PR_BUFFER(rb, buf, len) >= 0)) { if(unlikely(code >= 200 && !is_local(trans) _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!