[sr-dev] git:master:7a4c490a: uac: debug messages when restoring from/to headers
Daniel-Constantin Mierla
miconda at gmail.com
Mon Aug 5 18:05:23 CEST 2019
Module: kamailio
Branch: master
Commit: 7a4c490a63cd3fa924b6921fcd20ba77a6d661fb
URL: https://github.com/kamailio/kamailio/commit/7a4c490a63cd3fa924b6921fcd20ba77a6d661fb
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-08-05T18:04:08+02:00
uac: debug messages when restoring from/to headers
---
Modified: src/modules/uac/replace.c
---
Diff: https://github.com/kamailio/kamailio/commit/7a4c490a63cd3fa924b6921fcd20ba77a6d661fb.diff
Patch: https://github.com/kamailio/kamailio/commit/7a4c490a63cd3fa924b6921fcd20ba77a6d661fb.patch
---
diff --git a/src/modules/uac/replace.c b/src/modules/uac/replace.c
index 6231b5a7ae..8da8fc7441 100644
--- a/src/modules/uac/replace.c
+++ b/src/modules/uac/replace.c
@@ -622,6 +622,7 @@ int restore_uri( struct sip_msg *msg, str *rr_param, str* restore_avp,
}
old_body = (struct to_body*) msg->to->parsed;
flag = FL_USE_UAC_TO;
+ LM_DBG("replacing in To header\n");
} else {
/* replace the FROM URI */
if ( parse_from_header(msg)<0 ) {
@@ -630,6 +631,7 @@ int restore_uri( struct sip_msg *msg, str *rr_param, str* restore_avp,
}
old_body = (struct to_body*) msg->from->parsed;
flag = FL_USE_UAC_FROM;
+ LM_DBG("replacing in From header\n");
}
if(restore_avp->s) {
More information about the sr-dev
mailing list