There is, search the mailing list, I’m using it somewhere :) Daniel gave me the answer a while back.

On Sat, 2 May 2020 at 12:45, Karsten Horsmann <khorsmann@gmail.com> wrote:
Hi List,

my google skills dont help me.

I know there is a kind of build-in variable that you can use for example 
to return the name of the route you are referring to right now.

here some pseudo kamailio-scripting-language:

route[FANCY_ROUTE] {
   xlog("L_INFO", "$??? something happened\n";
}

I search for $??? (as placeholder) which should return the route-name "route[FANCY_ROUTE]" or something like that?

Take care.

--
Cheers
*Karsten Horsmann*
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337