NethServer Version: NethServer release 7.9.2009 (final)
Kernel Release: 3.10.0-1160.15.2.el7.x86_64
Module: Asterisk 13.38.1 / FreePBX 188.8.131.52
I have some trouble with Asterisks/FreePBX database connection so the Error: “app_voicemail_odbcstorage.c:5901 inboxcount2: Failed to obtain database object for ‘asteriskcdrdb’!” repeats often.
“asterisk -rx “odbc show”” shows me there are no ODBC DSN Settings in Asterisk.
Compared with an testing installation i have found, that the “/etc/asterisk/res_odbc_additional.conf” of my installation ist “empty”, except the lines generated from FreePBX.
I would fill in the needed sections and informations like:
but the edited config will overwritten from FreePBX.
As described in FreePBX Wiki, the based config file should be “/etc/odbc.ini”, but this file generates from e-smith in Nethserver. Now i am confused.
I cant find the e-smith template AND i cant find the source where e-smith gets the needed information for database connection like username and password for generating the config file.