[Freeswitch-users] Dbh error

Archana Venugopan a.venugopan at mundio.com
Sat Dec 15 18:57:55 MSK 2012


Hi,

When I re-start freeswitch am facing with the below issue irrespective of my database connection is there

2012-12-15 15:13:40.434648 [ERR] mod_lua.cpp:182 /usr/local/freeswitch/scripts/directory.lua:164: attempt to call field 'Dbh' (a nil value)
2012-12-15 15:13:40.434664 [ERR] mod_lua.cpp:248 LUA script parse/execute error!

isql -v smepbx smepbx smeswitch
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL>

In directory.lua script in 164 line the lines below were present

local dsn = "smepbx"
local dbh = freeswitch.Dbh(dsn, "smepbx", "smeswitch")

Any reason why is it throwing this error in dbh?

Regards,
Archana.V

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


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