In latest trunk you can run the core db in your same mysql db.
other than that we would need to create an object from our lua module
similar to how it was done in js.


On Thu, Dec 3, 2009 at 2:05 PM, Jon Bruel <j...@consiglia.dk> wrote:

>  I am trying to rewrite all my javascript scripts into Lua scripts. I have
> run into the problem of core_db access. This can be achieved with
> Spidermonkey, but apparently not with Lua. I have tried to get the binary
> for Lua (using apt-get) but I get an error when I require the sqlite.so:
> undefined symbol: luaopen_luasql_sqlite, so I’m stuck. So what is a feasible
> way to manipulate the core database from Lua?
>
> I may mention that access to MySQL works perfectly from Lua.
>
> Regards Jon
>
>
>
> _______________________________________________
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org>
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org>
pstn:213-799-1400
_______________________________________________
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

Reply via email to