Thanks Bogdan<br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 12:08 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi ASHWINI,<br>
<br>
seturi / rewriteuri does not support pseudo variables, but you can do it<br>
writing directly in the RURI pseudo variable:<br>
$ru = $avp(s:to_uri);<br>
<br>
Regards,<br>
Bogdan<br>
<div><div></div><div class="h5"><br>
ASHWINI NAIDU wrote:<br>
> Hi al,<br>
><br>
> I want to use a *pseudo-variable or the avp as an argument to<br>
> seturi/rewriteuri*. an error is throwed if i use the pseudovariable of<br>
> avp.<br>
><br>
> *Sep 29 13:49:03 rtp /sbin/opensips[7612]: ERROR:core:parse_uri: bad<br>
> uri, state 0 parsed: <$avp> (4) / <$avp(s:to_uri)> (14)<br>
> Sep 29 13:49:03 rtp /sbin/opensips[7612]:<br>
> ERROR:core:parse_sip_msg_uri: bad uri <$avp(s:to_uri)><br>
> Sep 29 13:49:03 rtp /sbin/opensips[7612]: ERROR:core:pv_get_ruri:<br>
> failed to parse the R-URI<br>
><br>
> *<br>
> --<br>
> Thanking You,<br>
> Ashwini BR Naidu<br>
</div></div>> ------------------------------------------------------------------------<br>
><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>
<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>