Module: kamailio
Branch: master
Commit: 03698a4b2ec49896c08a3989403d7e33ff9fb844
URL:
https://github.com/kamailio/kamailio/commit/03698a4b2ec49896c08a3989403d7e3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/03698a4b2ec49896c08a3989403d7e3…
Patch:
https://github.com/kamailio/kamailio/commit/03698a4b2ec49896c08a3989403d7e3…
---
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;