<div dir="ltr"><div><div>Hello Snabel,<br><br></div>Is it within the dialplan? If it&#39;s the case you can do:<br>session:execute(&quot;lua&quot;, &quot;s2.lua $params&quot;)<br>Otherwise I don&#39;t know.<br><br></div>Florent<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-10 15:37 GMT+01:00 Snabel Kabiya <span dir="ltr">&lt;<a href="mailto:snabel@lexifone.com" target="_blank">snabel@lexifone.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>Is there a way to execute a lua script from another script?<br>I&#39;ve this script s1.lua i want to run s2.lua from it. I&#39;ve tried<br></div><br></div><br>s1.lua:<br>dofile(s2.lua);<br><br></div>but this didn&#39;t work.<br><br></div>Thanks,<br></div>Snabel<br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>