Thank you Steven I am now working with freeswitch.Dbh On Thu, Aug 14, 2014 at 12:12 PM, Steven Ayre <steveayre@gmail.com> wrote:
Use https://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh not luasql
On 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 message
2014-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 packages
How 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