Execute, takes 2 args, the API command and the arguments seprate, where executeString takes it as a single argument.
 
--Dave


From: Avi Marcus [mailto:avi@avimarcus.net]
To: FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org]
Sent: Wed, 27 Jun 2012 12:31:41 -0700
Subject: Re: [Freeswitch-users] how can run fs_cli commands in lua script?

http://wiki.freeswitch.org/wiki/Lua#For_making_API_calls
or
The page links to:
http://wiki.freeswitch.org/wiki/Make_API_calls_directly_from_Lua_code

Not sure of the difference between api:executeString() and api:execute() if someone could please document the difference...

-Avi