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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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;


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to