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