We generally get our voicemails emailed to us from asterisk, but some people's messages are extraordinarily loud or quiet. I don't suppose there is any feature to even out the volume level is there?
There's an rxgain feature in voicemail.conf you can use to amplify or muffle the recording at call time. Your best bet would be to make the default format be wav49 instead of wav, then pass the file through sox to remove white noise and level out the volume. Check out voip-info.org -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Adam Moffett Sent: Friday, June 26, 2009 9:44 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Normalize Voicemail Volume? We generally get our voicemails emailed to us from asterisk, but some people's messages are extraordinarily loud or quiet. I don't suppose there is any feature to even out the volume level is there? _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
I use the following script to perform compression and normalization on e-mailed voicemails. I put the script in as /usr/local/bin/sox and pre-pend /usr/local/bin to the PATH before asterisk runs in the startup script. The values for the compressor are not scientific, I monkeyed with them until I thought it sounded like a good volume, YMMV. Daniel #!/bin/sh # # $1 = -v # $2 = number # $3 = inFile # $4 = outFile # REALSOX="/usr/bin/sox" if [ "$1" != "-v" ]; then $REALSOX $* exit $? fi INFILE="$3" OUTFILE="$4" # # Perform the gain adjustment. # $REALSOX "$INFILE" "$OUTFILE" compand 0.1,0.3 -60,-60,-30,-15,-20,-12,-4,-8,-2,-7 0 0 0.2 On Jun 26, 2009, at 7:44 AM, Adam Moffett wrote:> We generally get our voicemails emailed to us from asterisk, but some > people's messages are extraordinarily loud or quiet. I don't suppose > there is any feature to even out the volume level is there? > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >