Feb 7 01:00:45 opensips /sbin/opensips[26040]:<a href="mailto:sip%3A16505332632@sip.testdomain2.com">sip:16505332632@sip.testdomain2.com</a><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<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"><div class="im">On Feb 6, 2011 7:37 PM, "Nigel Daniels" <<a href="mailto:nigel.daniels@connectandsell.com" target="_blank">nigel.daniels@connectandsell.com</a>> wrote:<br type="attribution">
</div><div><div></div><div class="h5">> 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></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Nigel Daniels<br>Network & Systems Administrator <br>ConnectAndSell inc.<br>(650)-533-2542 <br><br>