[Freeswitch-users] execute a lua script from another script
Sumit Birla
sbirla at tampahost.net
Mon Nov 10 18:12:55 MSK 2014
Try using the complete path to s2.lua in quotes.
> On Nov 10, 2014, at 9:37 AM, Snabel Kabiya <snabel at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list