[Freeswitch-users] luarun fs_cli output

Brian Solon brian9 at gmail.com
Tue May 11 06:06:29 PDT 2010


Thanks!

On 11 May 2010 00:39, Michael Collins <msc at freeswitch.org> wrote:

>
>
> On Sat, May 8, 2010 at 6:33 AM, Brian Solon <brian9 at gmail.com> wrote:
>
>> 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?
>>
>
> freeswitch.consoleLog("INFO","foo bar, dude!\n")
>  -MC
>
>
>> -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
>>
>> Thanks,
>> Brian
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100511/2883be86/attachment.html 


More information about the FreeSWITCH-users mailing list