Module: kamailio
Branch: master
Commit: e1a01699af450292859e4f2cd69b6a6d85246e5e
URL:
https://github.com/kamailio/kamailio/commit/e1a01699af450292859e4f2cd69b6a6…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-02-03T11:53:55+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
---
Modified: src/modules/tm/t_reply.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e1a01699af450292859e4f2cd69b6a6…
Patch:
https://github.com/kamailio/kamailio/commit/e1a01699af450292859e4f2cd69b6a6…
---
diff --git a/src/modules/tm/t_reply.c b/src/modules/tm/t_reply.c
index 331bdbdf71..77747d34c0 100644
--- a/src/modules/tm/t_reply.c
+++ b/src/modules/tm/t_reply.c
@@ -1307,7 +1307,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;
}