Added ``avp_subst_pv()`` and now this is supported:
```
$(avp(src)[*]) = "testME";
$var(x) = "/e/j/gi";
avp_subst_pv("$avp(src)", "$var(x)");
$var(z) = "j";
$var(y) = "e";
$var(x) = "/" + $var(y) + "/" + $var(z) + "/gi";
avp_subst_pv("$avp(src)", "$var(x)");
avp_subst_pv("$avp(src)", "/$var(y)/$var(z)/gi");
avp_subst_pv("$avp(src)", "/" + $var(y) + "/" + $var(z)
+ "/gi");
avp_subst_pv("$avp(src)", "/e/j/gi");
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2158#issuecomment-565344698