<br><br><div class="gmail_quote">On Sat, May 8, 2010 at 6:33 AM, Brian Solon <span dir="ltr"><<a href="mailto:brian9@gmail.com">brian9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Hi, </div><div><br></div><div><div>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: <a href="http://facebook.com/HelloOperatorIE" target="_blank">http://facebook.com/HelloOperatorIE</a> ).</div>
<div><br></div><div>Just one question for now: how can I see the output of a Lua script when launched from fs_cli?</div></div></blockquote><div><br>freeswitch.consoleLog("INFO","foo bar, dude!\n") <br>
-MC<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><br></div><div><div>-bash-3.2$ pwd</div><div>/opt/freeswitch/scripts</div>
<div>-bash-3.2$ lua</div>
<div>Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio</div><div>> require "test"</div><div>Hello World</div><div>></div><div><br></div><div>I'm probably missing something simple, but when I run it from the CLI all I get is "+OK":</div>
<div><br></div></div><div>freeswitch@internal> luarun test.lua</div><div>+OK</div><div><br></div><div>Thanks,</div><div>Brian</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>