[OpenSIPS-Devel] [opensips] uac_replace_XXX() treating input string as a literal some of the time (#811)
Yossi
notifications at github.com
Fri Feb 26 20:25:17 CET 2016
This affects 2.1.2 hash c846598 running on Centos 6.
If I have the following in my opensips.cfg file:
$var(newTo) = "sip:$rU@$var(someVar)";
uac_replace_to("$var(newTo)");
What I end up with in the actual SIP is a To header that looks like this:
To: "Foo" <sip:$rU@$var(someVar)>
I spoke with Bogdan briefly about this on IRC, and he confirms that the uac_replace_XXX functions should be feeding the input through pv_printf_s() and it should replace the $rU and the $var(someVar) with their respective values. He said this might be a bug, so here I am. :-)
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/811
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160226/f926ea94/attachment.htm>
More information about the Devel
mailing list