[sr-dev] git:master:03698a4b: pv: debug message with intermediate message to evaluate by pv_evalx()

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 1 18:49:27 CEST 2018


Module: kamailio
Branch: master
Commit: 03698a4b2ec49896c08a3989403d7e33ff9fb844
URL: https://github.com/kamailio/kamailio/commit/03698a4b2ec49896c08a3989403d7e33ff9fb844

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-06-01T18:49:07+02:00

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

---

Modified: src/modules/pv/pv.c

---

Diff:  https://github.com/kamailio/kamailio/commit/03698a4b2ec49896c08a3989403d7e33ff9fb844.diff
Patch: https://github.com/kamailio/kamailio/commit/03698a4b2ec49896c08a3989403d7e33ff9fb844.patch

---

diff --git a/src/modules/pv/pv.c b/src/modules/pv/pv.c
index d03a52409a..096b253b30 100644
--- a/src/modules/pv/pv.c
+++ b/src/modules/pv/pv.c
@@ -1001,6 +1001,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