[Freeswitch-users] api:execute in lua

Mimiko vbvbrj at gmail.com
Thu Oct 24 21:43:02 MSD 2013


Hello.

I recently encountered a strange lua script execution problem. For 
example, a line in script is like this:

1) api:execute("some command here")

and with return:

2) result = api:execute("some command here")

Now I have a question to experts. Is it true that lua module of FS will 
not wait execution end of the command in first case and continua to next 
line in lua script, but will wait execution end of command for second 
example and then continua to next line?

If it is so, then I will update wiki for api:execute. If it is not true, 
then its a bug and will fire a jira.

Thanks.

-- 
Mimiko desu.



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list