Summary:ASTERISK-00075: Voicemail2 App doesn't properly record audio
Reporter:pcheng (pcheng)Labels:
Date Opened:2003-08-09 17:23:06Date Closed:2008-01-15 14:32:14.000-0600
Versions:Frequency of
Description:The Voicemail2 application does not record audio properly. Upon starting Asterisk, if a user records a message (either into a voicemailbox or changing his/her name, unavailable or busy message), subsequent attempts to record audio result in either a blank file or truncated audio file. This happens regardless of audio format selected for recording.

App Voicemail does not seem to have this problem, but it has other issues like an error in the menu prompts, no time/date stamp for messages, etc.


Asterisk CVS (8/9/2003)
Kernel 2.4.20-19.9
Comments:By: oacyscom (oacyscom) 2003-08-15 21:44:59

Try this... It seems to resolve the problem on my installation. I've only been using asterisk for a couple of days, so I don't know what else this may break.

@@@ app_voicemail2.c
< if (totalsilence)
<   ast_stream_rewind(others[x], totalsilence-200);
< else
<   ast_stream_rewind(others[x], 1000);
> if (totalsilence > 200)
>   ast_stream_rewind(others[x], totalsilence-200);
> // else
> //  ast_stream_rewind(others[x], 1000);

edited on: 08-15-03 21:29

By: Mark Spencer (markster) 2003-08-16 10:45:07

Does this occur if the lenghts of the files is longer than 1 or 2 seconds?

By: oacyscom (oacyscom) 2003-08-16 12:11:36

Yes. If the file is short (<1 or <2 seconds) the result is a zero-length message. If the file is long, the last one or two seconds are truncated.

edited on: 08-16-03 11:55

By: Mark Spencer (markster) 2003-08-16 12:34:06

Reduced amount of "shave" time in CVS. Still shave a little for zap interfaces

By: Digium Subversion (svnbot) 2008-01-15 14:32:14.000-0600

Repository: asterisk
Revision: 1356

U   trunk/CHANGES
U   trunk/apps/app_voicemail2.c

r1356 | markster | 2008-01-15 14:32:13 -0600 (Tue, 15 Jan 2008) | 2 lines

Shave off a smaller amount of time (bug ASTERISK-75)