Dear All,

I'm trying the following and i get error:

$var(new_uri) = "sip:" +$avp(s:term_prefix) +$rU +"@" +$avp(s:gw_address);

rewriteuri=($var(new_uri));  OR append_branch($var(new_uri));

But it seems that it does not like the variable. The documentation says that rewriteuri get a string so i don't understand why does not work.

Do you have any ideas on  this ?

Cheers
Alex