[Freeswitch-users] how can run fs_cli commands in lua script?

Dave R. Kompel drk at drkngs.net
Wed Jun 27 23:51:48 MSD 2012


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 at avimarcus.net]
To: FreeSWITCH Users Help [mailto:freeswitch-users at 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
    

      
   
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120627/e8889f57/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list