[OpenSIPS-Users] bad uri, state 0 parsed: <$avp> (4) / <$avp(r)> (7)

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Mar 20 13:51:25 UTC 2024


Hi

drop the quotes in :
     $avp(vals) = "$avp(r)";

as you want to put in $avp(vals) the VALUE of the $avp(r) and not the 
STRING "$avp(r)", I guess

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 14.03.2024 19:56, Social Boh wrote:
> Hello,
>
> any hint with this error:
>
> ERROR:core:parse_uri: bad uri, state 0 parsed: <$avp> (4) / <$avp(r)> (7)
>
> The lines are:
>
> $avp(params) = "ruri";
> $avp(vals) = "$avp(r)";:
>
> on onreply route
>
> $avp(r) contain the request uri created on the failure route.
>
> Regards
>




More information about the Users mailing list