NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 20 forks source link

Asterisk 18 voicemail is stored in filesystem instead of mysql DB #6672

Closed Stell0 closed 2 years ago

Stell0 commented 2 years ago

Voicemail is no more stored into mysql using odbc but is instead stored into filesystem even if asterisk18-voicemail-odbcstorage is installed and /etc/asterisk/voicemail.conf contains

[general]
odbcstorage=asteriskcdrdb
odbctable=voicemessages

Also app_voicemail_odbc asterisk module isn't linked to libodbc as it should be

# ldd /usr/lib64/asterisk/modules/app_voicemail_odbc.so 
        linux-vdso.so.1 =>  (0x00007ffe067a9000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2445412000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f2445044000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2445865000)

Steps to reproduce

Expected behavior

Message should be stored in asteriskcdrdb.voicemessages table

Actual behavior

Message is stored into /var/spool/asterisk/voicemail/...

Components

asterisk18--18.11.1-

Stell0 commented 2 years ago

This is the update note:

app_voicemail.c

nethbot commented 2 years ago

in 7.9.2009/testing:

gsanchietti commented 2 years ago

Test case

Check the issue is not reproducible

nethbot commented 2 years ago

in 7.9.2009/testing:

nethbot commented 2 years ago

in 7.9.2009/updates: