Module: kamailio Branch: 5.2 Commit: ab0122a7f521fc1721f6a28021af1924a4f791dc URL: https://github.com/kamailio/kamailio/commit/ab0122a7f521fc1721f6a28021af1924...
Author: Sergey Safarov s.safarov@gmail.com Committer: Sergey Safarov s.safarov@gmail.com Date: 2019-03-30T16:20:18+03:00
Revert "core: allow pvar resolve in subsdef"
This reverts commit ded4f064602d54bdb42b0bde15dda1b886009cd0.
---
Modified: src/core/ppcfg.c
---
Diff: https://github.com/kamailio/kamailio/commit/ab0122a7f521fc1721f6a28021af1924... Patch: https://github.com/kamailio/kamailio/commit/ab0122a7f521fc1721f6a28021af1924...
---
diff --git a/src/core/ppcfg.c b/src/core/ppcfg.c index 901c7dc04f..d15e0f899e 100644 --- a/src/core/ppcfg.c +++ b/src/core/ppcfg.c @@ -32,7 +32,6 @@ #include "dprint.h"
#include "ppcfg.h" -#include "fmsg.h"
typedef struct _pp_subst_rule { char *indata; @@ -185,8 +184,7 @@ int pp_subst_run(char **data) i = 0; while(pr) { - sip_msg_t *fmsg = faked_msg_get_next(); - result=subst_str(*data, fmsg, + result=subst_str(*data, 0, (struct subst_expr*)pr->ppdata, 0); /* pkg malloc'ed result */ if(result!=NULL) {