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

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


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

Reply via email to