[sr-dev] git:master:967ed551: core: enable log_prefix for sip responses
Daniel-Constantin Mierla
miconda at gmail.com
Tue May 19 15:14:51 CEST 2015
Module: kamailio
Branch: master
Commit: 967ed551845044123f4e93c60091d7a1fa43692f
URL: https://github.com/kamailio/kamailio/commit/967ed551845044123f4e93c60091d7a1fa43692f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/967ed551845044123f4e93c60091d7a1fa43692f.diff
Patch: https://github.com/kamailio/kamailio/commit/967ed551845044123f4e93c60091d7a1fa43692f.patch
---
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;
}
More information about the sr-dev
mailing list