John Nash
2015-02-08 05:43:57 UTC
While reading documentation I saw that to call another lua script from
inside a lua script we use ..
api = freeswitch.API();
reply = api:executeString("luarun another.lua");
But we can also run another lua script using session:execute. I was
wondering what is the difference, which one should be preferred?
inside a lua script we use ..
api = freeswitch.API();
reply = api:executeString("luarun another.lua");
But we can also run another lua script using session:execute. I was
wondering what is the difference, which one should be preferred?