Hello list,

Does anyone how I can extract the last URI from a compact Record-Route
header?

I've tried using a negative index in the parameter of my select but it
returns the first URI in the header instead of the last.

$var(rr_last_uri) = @record_route.uri[-1];

Maybe there's another way instead of using selects?

Thanks,

John
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to