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@internal> luarun test.lua +OK Thanks, Brian
AFAIK, You can't. You may send the required output to FS console with the required API call (consoleLog). David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. 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@internal> luarun test.lua +OK
Thanks, Brian _______________________________________________ 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
Thanks, I'll try that. On 9 May 2010 19:05, David Ponzone <david.ponzone@gmail.com> wrote:
AFAIK, You can't. You may send the required output to FS console with the required API call (consoleLog).
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
*Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. **IPeva** décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.* * *
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@internal> luarun test.lua +OK
Thanks, Brian _______________________________________________ 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
_______________________________________________ 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
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@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@internal> luarun test.lua +OK
Hey Mike, I wish I could avail of your offer but it seems airborne FreeSWITCH ninjas and volcanic ash clouds don't go very well together... :) On 10 May 2010 19:08, Michael Jerris <mike@jerris.com> wrote:
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@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@internal> luarun test.lua +OK
_______________________________________________ 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
On Sat, May 8, 2010 at 6:33 AM, Brian Solon <brian9@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@internal> luarun test.lua +OK
Thanks, Brian
_______________________________________________ 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
Thanks! On 11 May 2010 00:39, Michael Collins <msc@freeswitch.org> wrote:
On Sat, May 8, 2010 at 6:33 AM, Brian Solon <brian9@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@internal> luarun test.lua +OK
Thanks, Brian
_______________________________________________ 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
_______________________________________________ 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
participants (4)
-
Brian Solon
-
David Ponzone
-
Michael Collins
-
Michael Jerris