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
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to