[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeswitch-users
Subject:    Re: [Freeswitch-users] =?iso-8859-1?q?how_can_run_fs=5Fcli_commands_i?=
From:       "Dave R. Kompel" <drk () drkngs ! net>
Date:       2012-06-27 19:51:48
Message-ID: 20120627195148.69758d6c () mail ! tritonwest ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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
    

      
   
 


[Attachment #5 (text/html)]

<!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&nbsp;seprate, where \
executeString takes it as a single argument.</DIV> <DIV>&nbsp;</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&nbsp;<SPAN style="LINE-HEIGHT: 1.1em; \
BACKGROUND-COLOR: rgb(249,249,249)">api:executeString() and&nbsp;</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>&nbsp;  <DIV><BR></DIV></DIV></DIV></BLOCKQUOTE>
<STYLE>
</STYLE>

<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></body></html>



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic