Voicemail not saved Failed to obtain database obje

I managed to get asterisk up and running but it does not save my VM.

The error that I am seeing every few seconds on “asterisk -r” is:

[Sep 30 13:29:10] WARNING[2762]: app_voicemail.c:2274 inboxcount: Failed to obtain database object for 'asterisk'!
[Sep 30 13:29:16] WARNING[2762]: app_voicemail.c:2274 inboxcount: Failed to obtain database object for 'asterisk'!

I dig up a conf file for VM and it is simple (I cleaned it up):

[general]
format = wav49|gsm|wav
serveremail = asterisk
attach = yes
skipms = 3000
maxsilence = 10
silencethreshold = 128
emaildateformat = %A, %B %d, %Y at %r
sendvoicemail = yes  ; Allow the user to compose and send a voicemail while inside
operator = no
maxmessage = 300
saycid = no
sayduration = no
envelope = no
review = yes

[zonemessages]
eastern = America/New_York|'vm-received' Q 'digits/at' IMp
central = America/Chicago|'vm-received' Q 'digits/at' IMp
central24 = America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military = Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european = Europe/Copenhagen|'vm-received' a d b 'digits/at' HM

odbc.ini is empty and I did not configure odbc access but it seems to be trying to connect to DB.
I do not want to have odbc managing my DB I just want to have VM working.

Any suggestions?

That error appears in retrieve_file in app_voicemail.c. Looking further at the code, it will use that option when ODBC_STORAGE is set in the menuselect options.

Thank you for help I did

make clean
make menuselect
make
make install

And it is now working correctly.[/code]