Try using the complete path to s2.lua in quotes.
On Nov 10, 2014, at 9:37 AM, Snabel Kabiya <snabel@lexifone.com> wrote:
Hi,
Is there a way to execute a lua script from another script? I've this script s1.lua i want to run s2.lua from it. I've tried
s1.lua: dofile(s2.lua);
but this didn't work.
Thanks, Snabel _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org