[OpenSIPS-Devel] [opensips] uac_replace_XXX() treating input string as a literal some of the time (#811)
Bogdan Andrei IANCU
notifications at github.com
Tue Mar 15 21:35:41 CET 2016
@mishehu , it may be an misunderstanding on how you construct strings from variables.
Instead of
$var(newTo) = "sip:$rU@$var(someVar)";
(where the input is simply evaluated as string)
the correct way (if you want to have variables evaluated is:
$var(newTo) = "sip:"+$rU+"@"+$var(someVar);
Please confirm that the above works for you ; or if there are any other issues.
Regards,
Bogdan
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/811#issuecomment-197009596
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160315/8fc05980/attachment.htm>
More information about the Devel
mailing list