Summary: | ASTERISK-17724: Voicemail messages are 0-byte when Hangup without # when cache_record_files=yes | ||
Reporter: | Adrien P. (adri) | Labels: | |
Date Opened: | 2011-04-20 04:54:47 | Date Closed: | 2011-08-05 15:54:54 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk.conf ( 1) asteriskLog.txt ( 2) dialplan.conf ( 3) modules.conf ( 4) sip.conf ( 5) voicemail.conf | |
Description: | Asterisk don't move all tmp files (/var/spool/asterisk/voicemail/default/X/tmp*.wav) to the INBOX (/var/spool/asterisk/voicemail/default/X/INBOX/*.wav) when the phone is hung up without pressing #. One file is ok when "format=wav49|gsm|wav" specified in voicemail.conf but if I only specify one codec (like format=wav or other) I have only one empty file in INBOX and the tmp file stay in the tmp/ dir. I don't use IMAP or ODBC store, only files. ****** ADDITIONAL INFORMATION ****** With "format=wav49|gsm|wav" specified in voicemail.conf root@ij-test:/var/spool/asterisk/voicemail/default/60# ls -la INBOX/ tmp/ INBOX/: total 20 drwxrwxr-x 2 root root 4096 20 avril 11:38 . drwxrwxr-x 6 root root 4096 20 avril 11:13 .. -rw-r--r-- 1 root root 0 20 avril 11:38 msg0000.gsm -rw-rw-rw- 1 root root 274 20 avril 11:38 msg0000.txt -rw-r--r-- 1 root root 0 20 avril 11:38 msg0000.wav -rw-r--r-- 1 root root 5325 20 avril 11:38 msg0000.WAV tmp/: total 72 drwxrwxr-x 2 root root 4096 20 avril 11:38 . drwxrwxr-x 6 root root 4096 20 avril 11:13 .. -rw-r--r-- 1 root root 5379 20 avril 11:38 i4WcrX.gsm -rw-r--r-- 1 root root 52204 20 avril 11:38 i4WcrX.wav ------ with format=wav specified in voicemail.conf root@ij-test:/var/spool/asterisk/voicemail/default/60# ls -la INBOX/ tmp/ INBOX/: total 12 drwxrwxr-x 2 root root 4096 20 avril 11:43 . drwxrwxr-x 6 root root 4096 20 avril 11:13 .. -rw-rw-rw- 1 root root 274 20 avril 11:43 msg0000.txt tmp/: total 56 drwxrwxr-x 2 root root 4096 20 avril 11:43 . drwxrwxr-x 6 root root 4096 20 avril 11:13 .. -rw-r--r-- 1 root root 45804 20 avril 11:43 VpcZEv.wav | ||
Comments: | By: Michael L. Young (elguero) 2011-04-20 16:11:54 I checked out vanilla 1.8 svn branch and tried to reproduce this. I was unable to do so. Can you provide the dialplan or any other clues as to how to reproduce? Thanks By: Adrien P. (adri) 2011-04-21 03:35:19 I have attached the dialplan, sip.conf and modules.conf My problem is I do not know how to NOT reproduce the problem ! It append every time /w every configuration I have tried. By: Adrien P. (adri) 2011-04-21 04:53:52 I have tried with -very- minimal config and the problem is still here, I don't understand what's happening and why others (elguero?) don't have the same problem. Asterisk run as root, so this is not a permission problem. By: Alec Davis (alecdavis) 2011-04-21 06:36:53 in asterisk.conf cache_record_files is causing the problem By: Adrien P. (adri) 2011-04-21 06:51:05 Ok confirmed here, if I set "cache_record_files = off" everything works fine. By: Nikolay Engyozov (senser) 2011-06-08 08:50:20.704-0500 Same problem here - Asterisk version 1.8.4. I've noticed something strange - if Asterisk is configured TO cache recorded files, and during message has been recorded, msg0000.wav (filename is not important) file is NOT empty, but after message has been moved to INBOX folder, .wav file is 0 bytes. By: Matt Jordan (mjordan) 2011-08-05 15:36:10.695-0500 Issue status was never updated to In Progress. This was added to 1.8, 10, and trunk on 07/05/11. By: Matt Jordan (mjordan) 2011-08-05 15:54:54.516-0500 Committed on 7/5/11 |