Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Lua on Windows and additional modules


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
vladrodionov at gmail.com
Guest





PostPosted: Thu Aug 06, 2009 8:02 pm    Post subject: [Freeswitch-users] Lua on Windows and additional modules Reply with quote

Good evening,
This is newbie question.

The FreeSWITCH lua module does not support sockets and sql out of box that is why
I just installed LuaBinaries (including socket, sql modules). My dev environment is Win XP not Linux/Unix.

I am trying to understand what will happen when lua_module get this:

require "socket" or 
require "luasql.mysql"
?

How does lua_module look up additional lua modules on Windows platform?

Do I have to set some env variables?

TIA
-Vladimir Rodionov
Back to top
pete at privateconnect...
Guest





PostPosted: Fri Aug 07, 2009 12:09 am    Post subject: [Freeswitch-users] Lua on Windows and additional modules Reply with quote

I believe you need to set LUA_PATH, here's more information:

http://www.lua.org/pil/8.1.html

-pete

Quote:
-------- Original Message --------
Subject: [Freeswitch-users] Lua on Windows and additional modules
From: Vladimir Rodionov <vladrodionov@gmail.com>
Date: Thu, August 06, 2009 5:55 pm
To: freeswitch-users@lists.freeswitch.org

Good evening,
This is newbie question.

The FreeSWITCH lua module does not support sockets and sql out of box that is why
I just installed LuaBinaries (including socket, sql modules). My dev environment is Win XP not Linux/Unix.

I am trying to understand what will happen when lua_module get this:

require "socket" or
require "luasql.mysql"
?

How does lua_module look up additional lua modules on Windows platform?

Do I have to set some env variables?

TIA
-Vladimir Rodionov
_______________________________________________
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

Back to top
mike at jerris.com
Guest





PostPosted: Sat Aug 08, 2009 1:16 am    Post subject: [Freeswitch-users] Lua on Windows and additional modules Reply with quote

check the sample config files for options to specify these:

http://fisheye.freeswitch.org/browse/FreeSWITCH/conf/autoload_configs/lua.conf.xml?r=10747


On Aug 6, 2009, at 8:55 PM, Vladimir Rodionov wrote:

Quote:
Good evening,
This is newbie question.

The FreeSWITCH lua module does not support sockets and sql out of
box that is why
I just installed LuaBinaries (including socket, sql modules). My dev
environment is Win XP not Linux/Unix.

I am trying to understand what will happen when lua_module get this:

require "socket" or
require "luasql.mysql"
?

How does lua_module look up additional lua modules on Windows
platform?

Do I have to set some env variables?

TIA
-Vladimir Rodionov


_______________________________________________
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
Back to top
vladrodionov at gmail.com
Guest





PostPosted: Sat Aug 08, 2009 2:28 pm    Post subject: [Freeswitch-users] Lua on Windows and additional modules Reply with quote

Thank you all, but I decided to go with ESL and Java.

On Fri, Aug 7, 2009 at 11:11 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:
check the sample config files for options to specify these:

http://fisheye.freeswitch.org/browse/FreeSWITCH/conf/autoload_configs/lua.conf.xml?r=10747



On Aug 6, 2009, at 8:55 PM, Vladimir Rodionov wrote:

Quote:
Good evening,
This is newbie question.

The FreeSWITCH lua module does not support sockets and sql out of
box that is why
I just installed LuaBinaries (including socket, sql modules). My dev
environment is Win XP not Linux/Unix.

I am trying to understand what will happen when lua_module get this:

require "socket" or
require "luasql.mysql"
?

How does lua_module look up additional lua modules on Windows
platform?

Do I have to set some env variables?

TIA
-Vladimir Rodionov





_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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


Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services