rewritehost doesn't accept PVs. It's a rather legacy function. Just
modify the RURI directly, instead using $ru (and $rU, $rd, and $rp).
For more information, see:
http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables
On 12/17/2012 04:51 AM, Ali Jawad wrote:
Hi
I am using slqops to get some user related info from location table, I
want to use that info in rewritehost, however when I do use a variable
in rewritehost I get an error "Unable to resolve variable". Is it
possible to use a variable in rewritehost ? If not what is the workaround ?
Thanks
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com/