Thanks Bogdan On Tue, Sep 29, 2009 at 12:08 PM, Bogdan-Andrei Iancu < [email protected]> wrote:
> Hi ASHWINI, > > seturi / rewriteuri does not support pseudo variables, but you can do it > writing directly in the RURI pseudo variable: > $ru = $avp(s:to_uri); > > Regards, > Bogdan > > ASHWINI NAIDU wrote: > > Hi al, > > > > I want to use a *pseudo-variable or the avp as an argument to > > seturi/rewriteuri*. an error is throwed if i use the pseudovariable of > > avp. > > > > *Sep 29 13:49:03 rtp /sbin/opensips[7612]: ERROR:core:parse_uri: bad > > uri, state 0 parsed: <$avp> (4) / <$avp(s:to_uri)> (14) > > Sep 29 13:49:03 rtp /sbin/opensips[7612]: > > ERROR:core:parse_sip_msg_uri: bad uri <$avp(s:to_uri)> > > Sep 29 13:49:03 rtp /sbin/opensips[7612]: ERROR:core:pv_get_ruri: > > failed to parse the R-URI > > > > * > > -- > > Thanking You, > > Ashwini BR Naidu > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Thanking You, Ashwini BR Naidu
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
