Summary: | ASTERISK-00588: voicemail terminates when attempting to play a 0 byte gsm message | ||
Reporter: | philipp2 (philipp2) | Labels: | |
Date Opened: | 2003-11-27 16:39:31.000-0600 | Date Closed: | 2011-06-07 14:10:00 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Enter Voicemail2 to leave a message and hang up immediately. While the recorded wav file has 60 bytes or so the gsm file has 0 bytes. vm2 doesn't appear to like that. ****** STEPS TO REPRODUCE ****** philipp2: Now as to how I can recreate: I use X-Lite build 1082 with GSM codec to call a mailbox extension. Then I wait for Allison's announcement, wait until the beep is completely finished, but then hang-up immediatly. That gives me a .gsm file of 0 bytes size, and a .WAV file of 60 bytes size. Maybe the problem is in the fact that the .WAV file is not of zero length. Asterisk CVS-01/07/04-11:05:52 | ||
Comments: | By: Brian West (bkw918) 2003-11-27 17:12:43.000-0600 Are you using latest CVS? What linux distro... because I can't recreate this bug. By: philipp2 (philipp2) 2003-11-27 17:45:50.000-0600 Asterisk CVS-11/22/03-22:06:30 Distro: RH 7.3, kernel 2.4.22 So a 0 byte .gsm file in the mailbox is not problem for you? Hm... By: Brian West (bkw918) 2003-11-27 19:17:22.000-0600 I can't get it to generate a 0 byte file. I have tried. By: Brian West (bkw918) 2003-12-02 10:16:56.000-0600 Can anyone else recreate this? By: Brian West (bkw918) 2003-12-06 11:54:26.000-0600 I can't get anyone else to beable to recreate this ... If you can get exact steps please find me on #asterisk (bkw_) irc.freenode.net and we will reopen this. By: philipp2 (philipp2) 2004-01-13 05:25:04.000-0600 Yes, I can reproduce this still. Guys: This is now the third bug that was closed prematurley. I understand there is a rush for getting rid of bugs in the view of 0.7.0, but that release doesn't get better by just *declaring* a bug as solved without actually changing any code! Besides this creates extra effort because we need to re-create a bug, confirm again etc. I am not so happy about what is currently going on. Now as to how I can recreate: I use X-Lite build 1082 with GSM codec to call a mailbox extension. Then I wait for Allison's announcement, wait until the beep is completely finished, but then hang-up immediatly. That gives me a .gsm file of 0 bytes size, and a .WAV file of 60 bytes size. Maybe the problem is in the fact that the .WAV file is not of zero length. Asterisk CVS-01/07/04-11:05:52 [voicemail.conf] format=gsm|wav49 serveremail=asterisk attach=no skipms=3000 maxsilence=10 silencethreshold=128 maxlogins=3 [zonemessages] central=Europe/Brussels|'vm-received' q 'digits/at' k 'digits/hundred' M 'digits /hours' central2=Europe/Brussels|'vm-received' Q 'digits/at' IMp [default] 8602 => 8602,User name,name@provider.de,,tz=central2 bearbeitet am: 01-13-04 05:12 By: jrollyson (jrollyson) 2004-01-14 01:04:25.000-0600 See also duplicate bug ASTERISK-639 By: philipp2 (philipp2) 2004-01-25 10:38:05.000-0600 Sample CLI output with error "Does not say data" - * hangs up upon playing this. Note that the CLI output is based upon CVS-01/13/04-19:02:42 while the recording in question dates back to Oct. 2003. == Parsing '/var/spool/asterisk/voicemail/default/8755/Old/msg0002.txt': == Parsing '/var/spool/asterisk/voicemail/default/8755/Old/msg0002.txt': Found -- Playing '/var/lib/asterisk/sounds/vm-received' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/day-0' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/mon-11' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/h-7' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/2' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/thousand' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/3' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/at' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/8' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/50' (language 'en') -- Playing '/var/lib/asterisk/sounds/digits/p-m' (language 'en') Jan 25 16:25:47 WARNING[26643]: format_wav_gsm.c:194 check_header: Does not say data Jan 25 16:25:47 WARNING[26643]: file.c:379 ast_filehelper: Unable to open fd on /var/spool/asterisk/voicemail/default/8755/Old/msg0002 Jan 25 16:25:47 WARNING[26643]: file.c:734 ast_streamfile: Unable to open /var/spool/asterisk/voicemail/default/8755/Old/msg0002 (format ULAW): No such file or directory Jan 25 16:25:47 WARNING[26643]: app_voicemail.c:2315 wait_file: Unable to play message /var/spool/asterisk/voicemail/default/8755/Old/msg0002 By: Olle Johansson (oej) 2004-03-21 10:22:51.000-0600 Is this still unresolved? By: twisted (twisted) 2004-03-23 04:38:38.000-0600 see ASTERISK-1274 for patch for possible fix for this issue, and advise. By: Olle Johansson (oej) 2004-04-06 03:32:57 Philipp - can you please comment on Twisteds note? Does the patch ASTERISK-1274 solve your problem? By: Brian West (bkw918) 2004-04-17 22:52:31 If this is till a problem please post back and we will reopen. Thanks, House Keeping |