[sr-dev] git:5.1:574a0d24: pv: debug message with intermediate message to evaluate by pv_evalx()

Daniel-Constantin Mierla miconda at gmail.com
Tue Jun 5 12:12:30 CEST 2018


Module: kamailio
Branch: 5.1
Commit: 574a0d245bf1864ca6b855081fd76c721fd19532
URL: https://github.com/kamailio/kamailio/commit/574a0d245bf1864ca6b855081fd76c721fd19532

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-06-05T11:39:07+02:00

pv: debug message with intermediate message to evaluate by pv_evalx()

(cherry picked from commit 03698a4b2ec49896c08a3989403d7e33ff9fb844)

---

Modified: src/modules/pv/pv.c

---

Diff:  https://github.com/kamailio/kamailio/commit/574a0d245bf1864ca6b855081fd76c721fd19532.diff
Patch: https://github.com/kamailio/kamailio/commit/574a0d245bf1864ca6b855081fd76c721fd19532.patch

---

diff --git a/src/modules/pv/pv.c b/src/modules/pv/pv.c
index 5743dd6d4d..63c158680b 100644
--- a/src/modules/pv/pv.c
+++ b/src/modules/pv/pv.c
@@ -933,6 +933,7 @@ int w_pv_evalx(struct sip_msg *msg, char *dst, str *fmt)
 		goto error;
 	}
 
+	LM_DBG("preparing to evaluate: [%.*s]\n", tstr.len, tstr.s);
 	if(pv_eval_str(msg, &val.rs, &tstr)<0){
 		LM_ERR("cannot eval reparsed value of second parameter\n");
 		return -1;




More information about the sr-dev mailing list