Module: kamailio
Branch: master
Commit: 967ed551845044123f4e93c60091d7a1fa43692f
URL:
https://github.com/kamailio/kamailio/commit/967ed551845044123f4e93c60091d7a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-05-19T15:14:28+02:00
core: enable log_prefix for sip responses
- reported by Klaus Darilion
---
Modified: dprint.c
---
Diff:
https://github.com/kamailio/kamailio/commit/967ed551845044123f4e93c60091d7a…
Patch:
https://github.com/kamailio/kamailio/commit/967ed551845044123f4e93c60091d7a…
---
diff --git a/dprint.c b/dprint.c
index 1767226..71b89e6 100644
--- a/dprint.c
+++ b/dprint.c
@@ -388,7 +388,7 @@ void log_prefix_set(sip_msg_t *msg)
{
if(log_prefix_pvs == NULL)
return;
- if(msg==NULL || !IS_SIP(msg)) {
+ if(msg==NULL || !(IS_SIP(msg) || IS_SIP_REPLY(msg))) {
log_prefix_val = NULL;
return;
}