[Freeswitch-users] Lua and database access to core_db
Anthony Minessale
anthony.minessale at gmail.com
Thu Dec 3 12:29:13 PST 2009
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 at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091203/5d1a37cd/attachment-0002.html
More information about the FreeSWITCH-users
mailing list