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.
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