<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<style>BODY{font:10pt Tahoma, Verdana, sans-serif}</style></head><body>
<DIV>Execute, takes 2 args, the API command and the arguments seprate, where executeString takes it as a single argument.</DIV>
<DIV> </DIV>
<DIV>--Dave</DIV><BR>
<BLOCKQUOTE style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<HR>
<B>From:</B> Avi Marcus [mailto:avi@avimarcus.net]<BR><B>To:</B> FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org]<BR><B>Sent:</B> Wed, 27 Jun 2012 12:31:41 -0700<BR><B>Subject:</B> Re: [Freeswitch-users] how can run fs_cli commands in lua script?<BR><BR>
<DIV><A href="http://wiki.freeswitch.org/wiki/Lua#For_making_API_calls">http://wiki.freeswitch.org/wiki/Lua#For_making_API_calls</A><BR>or
<DIV>The page links to:</DIV>
<DIV><A href="http://wiki.freeswitch.org/wiki/Make_API_calls_directly_from_Lua_code">http://wiki.freeswitch.org/wiki/Make_API_calls_directly_from_Lua_code</A></DIV>
<DIV><BR></DIV>
<DIV>Not sure of the difference between <SPAN style="LINE-HEIGHT: 1.1em; BACKGROUND-COLOR: rgb(249,249,249)">api:executeString() and </SPAN><SPAN style="LINE-HEIGHT: 1.1em; BACKGROUND-COLOR: rgb(249,249,249)">api:execute() if someone could please document the difference...</SPAN></DIV>
<DIV><SPAN style="LINE-HEIGHT: 1.1em; BACKGROUND-COLOR: rgb(249,249,249)"><BR></SPAN></DIV>
<DIV><SPAN style="LINE-HEIGHT: 1.1em; BACKGROUND-COLOR: rgb(249,249,249)">-Avi<BR></SPAN>
<DIV><BR></DIV></DIV></DIV></BLOCKQUOTE>
<STYLE>
</STYLE>
<DIV> </DIV>
<DIV> </DIV></body></html>