Module: kamailio Branch: 5.2 Commit: b370041ccfd86e15812e1a06ad803569654eac07 URL: https://github.com/kamailio/kamailio/commit/b370041ccfd86e15812e1a06ad803569...
Author: Henning Westerholt hw@skalatan.de Committer: Henning Westerholt hw@skalatan.de Date: 2020-02-03T11:57:07+01:00
tm: use WARN log level for status rewrite by UAS (were decreased before SER tm integration)
- use WARN log level for status rewrite by UAS (log level decreased before SER tm integration, e.g. v1.5.x) - for bad interconnection or gateways this might be reported frequently
(cherry picked from commit e1a01699af450292859e4f2cd69b6a6d85246e5e)
---
Modified: src/modules/tm/t_reply.c
---
Diff: https://github.com/kamailio/kamailio/commit/b370041ccfd86e15812e1a06ad803569... Patch: https://github.com/kamailio/kamailio/commit/b370041ccfd86e15812e1a06ad803569...
---
diff --git a/src/modules/tm/t_reply.c b/src/modules/tm/t_reply.c index d4ed5592ec..5840afd16f 100644 --- a/src/modules/tm/t_reply.c +++ b/src/modules/tm/t_reply.c @@ -1299,7 +1299,7 @@ static enum rps t_should_relay_response( struct cell *Trans , int new_code, } /* this looks however how a very strange status rewrite attempt; * report on it */ - LM_ERR("status rewrite by UAS: stored: %d, received: %d\n", + LM_WARN("status rewrite by UAS: stored: %d, received: %d\n", Trans->uac[branch].last_received, new_code); goto discard; }