<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>search for cfg variable in the pseudo-variables cookbook (wiki).</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 02.05.20 14:40, Karsten Horsmann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFArqsab9SQyShLHLGzrd_qWf5Jpi5OwEvuHu5be1AO-VM1_WQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi David,
<div><br>
</div>
<div>thank you :) I searched in my emails but you are an active
user here.</div>
<div><br>
</div>
<div>After searching for $cfg(route) i found it only in the new
feature stuff website. Hmmm.</div>
<div>Where should i looked for documentation? The module one
didnt showed it up, the cookbook also not.</div>
<div><br>
</div>
<div><a
href="https://www.kamailio.org/wiki/features/new-in-5.1.x"
moz-do-not-send="true">https://www.kamailio.org/wiki/features/new-in-5.1.x</a> </div>
<div> <br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Am Sa., 2. Mai 2020 um
14:31 Uhr schrieb David Villasmil <<a
href="mailto:david.villasmil.work@gmail.com"
moz-do-not-send="true">david.villasmil.work@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p
style="font-size:1rem;word-spacing:1px;border-color:rgb(49,49,49);color:rgb(49,49,49)">For
the records, I added a new variable in cfg class to
return <span
style="background-color:rgba(253,214,99,0.24)">route</span> <span
style="background-color:rgba(253,214,99,0.24)">name</span> for
current action whenever it is possible: $cfg(<span
style="background-color:rgba(253,214,99,0.24)">route</span>).</p>
<p
style="font-size:1rem;word-spacing:1px;border-color:rgb(49,49,49);color:rgb(49,49,49)">Cheers,<br>
Daniel</p>
</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, 2 May 2020 at
13:24, David Villasmil <<a
href="mailto:david.villasmil.work@gmail.com"
target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div dir="auto">There is, search the mailing list, I’m
using it somewhere :) Daniel gave me the answer a
while back.</div>
</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, 2 May 2020
at 12:45, Karsten Horsmann <<a
href="mailto:khorsmann@gmail.com"
target="_blank" moz-do-not-send="true">khorsmann@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi List,
<div><br>
</div>
<div>my google skills dont help me.</div>
<div><br>
</div>
<div>I know there is a kind of build-in variable
that you can use for example </div>
<div>to return the name of the route you are
referring to right now.</div>
<div><br>
</div>
<div>here some
pseudo kamailio-scripting-language:</div>
<div><br>
</div>
<div>route[FANCY_ROUTE] {</div>
<div> xlog("L_INFO", "$??? something
happened\n";</div>
<div>}<br clear="all">
<div><br>
</div>
<div>I search for $??? (as placeholder) which
should return the route-name
"route[FANCY_ROUTE]" or something like that?</div>
<div><br>
</div>
<div>Take care.</div>
</div>
</div>
<div dir="ltr">
<div>
<div><br>
</div>
-- <br>
<div dir="ltr">Cheers<br>
*Karsten Horsmann*<br>
</div>
</div>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org"
target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div><br>
</div>
David Villasmil
<div>email: <a
href="mailto:david.villasmil.work@gmail.com"
target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
<div>phone: +34669448337</div>
</div>
</div>
</blockquote>
</div>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div><br>
</div>
David Villasmil
<div>email: <a
href="mailto:david.villasmil.work@gmail.com"
target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
<div>phone: +34669448337</div>
</div>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">Mit freundlichen Grüßen<br>
*Karsten Horsmann*<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</body>
</html>