<div dir="ltr"><div>I am using the module <b>app_jsdt </b>with <b>KEMI </b>and I am having trouble loading multiple javascript files. The interpreter only notices the last file that's loaded.</div><div><br></div><div>What I am trying to do is separate my logic so that everything is not inside the kamailio.conf.js (or the main file the contains the necessary functions if you will).</div><div><br></div><div>modparam("app_jsdt", "load", "/etc/kamailio/file1.js")<br>modparam("app_jsdt", "load", "/etc/kamailio/file2.js")<br></div><div>cfgengine "jsdt"<br></div><div><br></div><div>In the example above, only functions in file2 are recognized.</div><div><br></div><div>I am aware that I can use jsdt_run or jsdt_load but from KEMI I don't see a clear way to link this with things like events and timers or replies that don't necessarily go through the <b>request_route</b>.</div><div><br>(As a plus, I am wondering on performance on Javascript vs Python/Lua and if it's viable on high load, if anyone can throw 2 cents on that it would be helpful!)</div><div><br></div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Saludos,</div><div dir="ltr"><br><table width="100%" border="0" cellpadding="0" cellspacing="10" style="border-spacing:10px;background-color:transparent"><tbody><tr><td align="left" valign="top" width="10" style="padding:0px"><p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;font-size:14px;line-height:16px"></p><div><img src="cid:ii_kazkvqi49" alt="image.png" width="25" height="25" style="margin-right: 0px;"><br></div><div><br></div><div><img src="cid:ii_kazkvqko10" alt="image.png" width="25" height="25" style="margin-right: 0px;"><br></div><div><br></div><p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;font-size:14px;line-height:16px"><a href="https://www.facebook.com/bvisonl" style="color:rgb(36,169,57);text-decoration:none;display:inline;background-color:transparent" target="_blank"></a><a href="https://twitter.com/benjaminvison" style="color:rgb(36,169,57);text-decoration:none;display:inline;background-color:transparent" target="_blank"></a></p><div><img src="cid:ii_kazkvqlt11" alt="image.png" width="25" height="25" style="margin-right: 0px;"><br></div><div><br></div><p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;font-size:14px;line-height:16px"><a href="https://instagram.com/bvisonl/" style="color:rgb(36,169,57);text-decoration:none;display:inline;background-color:transparent" target="_blank"></a></p></td><td style="padding:0px;width:6px"></td><td align="left" valign="top" style="padding:0px"><p style="margin:0px 0px 10px;font-size:14px;font-family:Helvetica,Arial,sans-serif;line-height:16px;color:rgb(33,33,33)"><span style="font-weight:bold;display:inline">Benjamín Visón</span> <span style="display:inline">/</span> <span style="display:inline">IT Engineer / Software Developer</span><span style="display:inline"><br></span><a href="mailto:bvisonl@gmail.com" style="color:rgb(36,169,57);text-decoration:none;display:inline;background-color:transparent" target="_blank">bvisonl@gmail.com</a><span style="display:inline"> / (</span><span style="display:inline">829)-664-5163</span></p><div><span style="display:inline"><br></span></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div>