[Freeswitch-users] luarun fs_cli output

Michael Jerris mike at jerris.com
Mon May 10 11:08:39 PDT 2010


I really must be in person at this location in order to answer this question properly.  Please send plane tickets and hotel information to my email address :D

Mike

On May 9, 2010, at 2:32 PM, Brian Solon wrote:

> Thanks, I'll try that.
> 
> On 9 May 2010 19:05, David Ponzone <david.ponzone at gmail.com> wrote:
> AFAIK, You can't.
> You may send the required output to FS console with the required API call (consoleLog).

> Le 08/05/2010 à 15:33, Brian Solon a écrit :
> 
>> Hi, 
>> 
>> This is my first post here so I just wanted to say FreeSWITCH is fantastic. I'm using it for an art installation which has been up and running for the last week in a gallery in Sligo, Ireland. ( More info here, for the curious: http://facebook.com/HelloOperatorIE ).
>> 
>> Just one question for now: how can I see the output of a Lua script when launched from fs_cli?
>> 
>> -bash-3.2$ pwd
>> /opt/freeswitch/scripts
>> -bash-3.2$ lua
>> Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
>> > require "test"
>> Hello World
>> >
>> 
>> I'm probably missing something simple, but when I run it from the CLI all I get is "+OK":
>> 
>> freeswitch at internal> luarun test.lua
>> +OK

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


More information about the FreeSWITCH-users mailing list