<div><div dir="auto">Did Daniel’s suggestion of trying with #!define not work?</div></div><div dir="auto"><br></div><div dir="auto">Might not be as nice but another option would be using jsonrpc?</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 28, 2018 at 02:08 Nicolas Breuer <<a href="mailto:Nicolas.Breuer@belcenter.biz">Nicolas.Breuer@belcenter.biz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="FR-BE" link="#0563C1" vlink="#954F72">
<div class="m_5531035451223178238WordSection1">
<p class="MsoNormal"><span style="color:#002060">Hello Daniel,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#002060"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">Any updates on this ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">Need to get the IP-Address of the Kamailio server in the event route.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="FR">De :</span></b><span lang="FR"> Nicolas Breuer
<br>
<b>Envoyé :</b> samedi 20 octobre 2018 16:13<br>
<b>À :</b> <a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>; Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>><br>
<b>Objet :</b> RE: [SR-Users] Script @Startup<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:#002060">Hello Daniel,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#002060"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">Let me know if you found a solution to access the $sel into the event route.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">I put the IP address of the server into a system variable and I need to access it into the event route
</span><span lang="EN-US" style="font-family:"Segoe UI Emoji",sans-serif;color:#002060">😊</span><span lang="EN-US" style="color:#002060"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">Again thanks for your feedback.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="FR">De :</span></b><span lang="FR"> Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
<br>
<b>Envoyé :</b> vendredi 19 octobre 2018 11:56<br>
<b>À :</b> Nicolas Breuer <<a href="mailto:Nicolas.Breuer@belcenter.biz" target="_blank">Nicolas.Breuer@belcenter.biz</a>>; Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>><br>
<b>Objet :</b> Re: [SR-Users] Script @Startup<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p>I pushed a commit for a safety check to avoid the crash, but the value won't be available for $sel(...) in that event route. I will look to see if there is any solution for it, not being the author of that part of code.<u></u><u></u></p>
<p>Meanwhile, try by replacing the $sel(...) with a #!define / #!subst token or its actual value.<u></u><u></u></p>
<p>Cheers,<br>
Daniel<u></u><u></u></p>
<p><span style="color:#002060"><u></u> <u></u></span></p>
</div>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>