[SR-Users] Build-variable name for route[name]

Karsten Horsmann khorsmann at gmail.com
Sat May 2 13:43:41 CEST 2020


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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200502/0ae530ec/attachment.html>


More information about the sr-users mailing list