<p>Nevermind I guess you do use the +. I don't have my config in front of me so it looked odd. I would still be interested in what your xlog output is.</p>
<p>Sent from Droid</p>
<div class="gmail_quote">On Feb 6, 2011 7:37 PM, "Nigel Daniels" <<a href="mailto:nigel.daniels@connectandsell.com">nigel.daniels@connectandsell.com</a>> wrote:<br type="attribution">> I tried the fallowing and $var(z) looks<br>
> $var(x)=$tu;<br>> $var(y) = $(var(x){s.select,1,-});<br>> $var(z) = "sip:"+$var(y);<br>> xlog("$var(z)");<br>> rewriteuri("$var(z)");<br>
> <br>> This is what I get in the log<br>> <br>> Feb 7 01:28:18 opensips /sbin/opensips[26561]: ERROR:core:parse_uri: bad<br>> uri, state 0 parsed: <$var> (4) / <$var(z)> (7)<br>> Feb 7 01:28:18 opensips /sbin/opensips[26561]: ERROR:core:do_action: bad<br>
> uri <$var(z)>, dropping packet<br>> Feb 7 01:28:18 opensips /sbin/opensips[26561]: ERROR:core:parse_uri: bad<br>> uri, state 0 parsed: <$var> (4) / <$var(z)> (7)<br>> Feb 7 01:28:18 opensips /sbin/opensips[26561]:<br>
> ERROR:core:parse_sip_msg_uri: bad uri <$var(z)><br>> Feb 7 01:28:18 opensips /sbin/opensips[26561]: ERROR:tm:new_t: uri invalid<br>> Feb 7 01:28:18 opensips /sbin/opensips[26561]: ERROR:tm:t_newtran: new_t<br>
> failed<br>> <br>> <br>> My guess is that my syntax is incorrect or that this is not possible , any<br>> help is appreciated<br>> <br>> -- <br>> Nigel<br></div>