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 <jbr@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_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400