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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users