Asterisk can't play recorded .wav files
Hi! I have the tovoicemail.pl script working and the recordings are sent to the correct voicemail account but the verbose output of Asterisk is saying it can't play the .wav format. Possibly something to do with the voicemail.conf? I'm recording normal voicemails as wav|gsm|wav49.
Here are the error logs from Asterisk:
[May 11 08:53:30] WARNING[23941]: format_wav.c:148 check_header: Not in mono 2
[May 11 08:53:30] WARNING[23941]: file.c:385 fn_wrapper: Unable to open format wav
[May 11 08:53:30] WARNING[23941]: file.c:991 ast_streamfile: Unable to open /var/spool/asterisk/voicemail/default/39/INBOX/msg0000 (format 0x4 (ulaw)): No such file or directory
[May 11 08:53:30] WARNING[23941]: app_voicemail.c:5814 play_message: Playback of message /var/spool/asterisk/voicemail/default/39/INBOX/msg0000 failed
I can play the .wav file with a media player after transferring it out of the Asterisk server.
Here are the error logs from Asterisk:
[May 11 08:53:30] WARNING[23941]: format_wav.c:148 check_header: Not in mono 2
[May 11 08:53:30] WARNING[23941]: file.c:385 fn_wrapper: Unable to open format wav
[May 11 08:53:30] WARNING[23941]: file.c:991 ast_streamfile: Unable to open /var/spool/asterisk/voicemail/default/39/INBOX/msg0000 (format 0x4 (ulaw)): No such file or directory
[May 11 08:53:30] WARNING[23941]: app_voicemail.c:5814 play_message: Playback of message /var/spool/asterisk/voicemail/default/39/INBOX/msg0000 failed
I can play the .wav file with a media player after transferring it out of the Asterisk server.
Comments
Best regards,