Use https://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh not luasqlOn 14 August 2014 13:19, Joel White <joelewhite@gmail.com> wrote:
_________________________________________________________________________I have (or so I thought) installed all dependencies for Lua to connect to a postgres db in freeswitch.When I run the Lua script though I get this message2014-08-14 08:16:20.832901 [ERR] mod_lua.cpp:203 /usr/local/freeswitch/scripts/db_connect.lua:12: module 'luasql.postgres' not found:no field package.preload['luasql.postgres']no file './luasql/postgres.lua'no file '/usr/local/share/lua/5.1/luasql/postgres.lua'no file '/usr/local/share/lua/5.1/luasql/postgres/init.lua'no file '/usr/local/lib/lua/5.1/luasql/postgres.lua'no file '/usr/local/lib/lua/5.1/luasql/postgres/init.lua'no file './luasql/postgres.so'no file './libluasql/postgres51.so'no file '/usr/local/lib/lua/5.1/luasql/postgres.so'no file '/usr/local/lib/lua/5.1/libluasql/postgres51.so'no file '/usr/local/lib/lua/5.1/loadall.so'no file './luasql.so'no file './libluasql51.so'no file '/usr/local/lib/lua/5.1/luasql.so'no file '/usr/local/lib/lua/5.1/libluasql51.so'no file '/usr/local/lib/lua/5.1/loadall.so'I do have lua-sql-postgres installed on Debian 7 as well as libpq-dev and all other mentioned packagesHow do I correct the issue of FreeSWITCH not seeing lua-sql-postgres?
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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