[Asterisk-cvs] asterisk/apps app_voicemail.c,1.248,1.249
kpfleming
kpfleming
Sat Sep 24 18:59:37 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv28510/apps
Modified Files:
app_voicemail.c
Log Message:
fix copy-and-paste error
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.248
retrieving revision 1.249
diff -u -d -r1.248 -r1.249
--- app_voicemail.c 14 Sep 2005 20:46:49 -0000 1.248
+++ app_voicemail.c 24 Sep 2005 22:56:41 -0000 1.249
@@ -3263,10 +3263,10 @@
char file[200];
snprintf(file, sizeof(file), "%s/msg%04d", curdir, curmsg);
if (record_gain)
- ast_channel_setoption(chan, AST_OPTION_TXGAIN, &record_gain, sizeof(record_gain), 0);
+ ast_channel_setoption(chan, AST_OPTION_RXGAIN, &record_gain, sizeof(record_gain), 0);
cmd = ast_play_and_prepend(chan, NULL, file, 0, vmfmts, &duration, 1, silencethreshold, maxsilence);
if (record_gain)
- ast_channel_setoption(chan, AST_OPTION_TXGAIN, &zero_gain, sizeof(zero_gain), 0);
+ ast_channel_setoption(chan, AST_OPTION_RXGAIN, &zero_gain, sizeof(zero_gain), 0);
break;
}
case '2':
More information about the svn-commits
mailing list