[Asterisk-Users] Playback Volume for Record Application

Steven Critchfield critch at basesys.com
Mon Mar 22 10:17:12 MST 2004


On Mon, 2004-03-22 at 09:11, Hadar Pedhazur wrote:
> The Asterisk Demo prompts come through "loud and clear" on any phone 
> that I use to call in on. When someone leaves me voicemail, it also 
> comes through loud and clear.
> 
> When I use the "Record" application and then use the recorded file in 
> a "Playback" or "Background" application, it is very soft (clear, but 
> the volume is cranked way down). This is true for all format types 
> (I've tried wav, WAV and gsm). Also, from a number of different input 
> devices (headset using an DIAX, real phone connected on the lan to *, 
> etc.).
> 
> Just curious whether there is anything I can do to improve the volume, 
> other than recording the prompts in another application and dropping 
> in the resulting files (it's obviously ultra-convenient to be able to 
> change prompts just by dialing the correct extension) :-).

I've not experienced the low volume when using record, but I have when
using the record command in AGI. Upon looking around to see what it was
that caused voicemail to be of such a passable volume, but not our AGI
apps, I noticed that there is a section in format_wav.c that will bit
shift the audio data up to increase volume. When I changed our
application from recording in GSM to recording in WAV, it fixed some of
our volume problems.

Not necessarily a solution to your problem but a few data points to help
sort the problem out.
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list