Asterisk 13.20 ODBC to MS SQL. When I check voicemail it plays back a blank msg0000.wav file in the spool directory. I can manually extract the voicemail file from SQL and the audio is there. When Asterisk spools the file, it is blank.
Solved. I removed FreeTDS and installed the latest version from source. Also removed “Setup” from odbc.inst.