Summary:ASTERISK-00639: Sometimes 0-size audio files are left around
Reporter:Thorsten Lockert (tholo)Labels:
Date Opened:2003-12-07 16:24:09.000-0600Date Closed:2004-09-25 02:20:05
Versions:Frequency of
Description:We have seen several times that empty audio files are stored in mailboxes on the system.  That is, GSM files of zero size and WAV/wav files holding only a file header.


When you try to listen to voice mail, these greatly upset ast_streamfile / app_voicemail, apparently, and causes Asterisk to hang up on the user.

app_voicemail should probably check for the fiels not containing any audio after recording them, and remove them again if they are empty.
Comments:By: Brian West (bkw918) 2003-12-08 13:38:55.000-0600

How can you duplicate this.  I tried duplicate this and cant.

By: philipp2 (philipp2) 2003-12-12 11:22:04.000-0600

See also here:

I see this sometimes when dialing a SIP extension with X-Lite and then hanging up in the right moment (around the beep of the voicemail notification after which I am supposed to leave my message). Configured voicemail formats are gsm and wav49 only, but I think that doesn't matter.

By the way I also remember a vm patch that was supposed to eliminate "too short" voicemail messages. Not sure if that is already in the CVS.

edited on: 12-12-03 11:14

By: philipp2 (philipp2) 2003-12-12 11:36:09.000-0600

Here it is, the still pending patch with "short message removal":

By: Brian West (bkw918) 2003-12-12 18:45:19.000-0600

Any way we can break out the short message stuff for now into a standalone patch?  I might look into it later this week.

By: Brian West (bkw918) 2004-01-07 00:04:02.000-0600

Can someone help provide a patch for this?

By: jrollyson (jrollyson) 2004-01-12 21:34:44.000-0600

can anyone still reproduce this?

By: jrollyson (jrollyson) 2004-01-14 01:02:37.000-0600

Duplicate of http://bugs.digium.com/bug_view_page.php?bug_id=0000594