Michael Jerris a33b576e70 copy mod_gsmopen from branch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17138 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-30 05:59:43 +00:00

14 lines
321 B
Bash
Executable File

#!/bin/bash
# ALSA can manage a max of 8 cards
CARD_LIST="0 1 2 3 4 5 6 7"
for i in $CARD_LIST; do
#amixer -c ${i} -q set Mic 0% mute
amixer -c ${i} -q set Speaker 70% unmute >/dev/null 2>&1
amixer -c ${i} -q set Mic cap mute 70% >/dev/null 2>&1
amixer -c ${i} -q set "Auto Gain Control" off >/dev/null 2>&1
done