[Freeswitch-users] DB close in lua

Archana Venugopan a.venugopan at mundio.com
Wed Feb 13 21:01:32 MSK 2013


Hi,

Am trying close DB connection in lua script(dbh:close()) in freeswitch. But I am getting this error

2013-02-13 16:43:41.327172 [ERR] mod_lua.cpp:102 /usr/local/freeswitch/scripts/directory.lua:66: attempt to call method 'close' (a nil value)
stack traceback:

Can anyone please let me know why my lua is not recognising the close function? Is there anyother ways to close my DB connection in lua? Thanks.

Regards,
Archana

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130213/0eff0335/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list