[Asterisk-cvs] asterisk/res res_features.c,1.54,1.55
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Fri Jun 3 08:47:06 CDT 2005
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv8283/res
Modified Files:
res_features.c
Log Message:
correct case of file type for one-touch monitoring (bug #4443)
Index: res_features.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_features.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- res_features.c 16 May 2005 00:43:16 -0000 1.54
+++ res_features.c 3 Jun 2005 12:50:05 -0000 1.55
@@ -476,13 +476,13 @@
if (touch_monitor) {
len = strlen(touch_monitor) + 50;
args = alloca(len);
- snprintf(args, len, "%s|auto-%ld-%s|m", (touch_format) ? touch_format : "WAV", time(NULL), touch_monitor);
+ snprintf(args, len, "%s|auto-%ld-%s|m", (touch_format) ? touch_format : "wav", time(NULL), touch_monitor);
} else {
caller_chan_id = ast_strdupa(caller_chan->cid.cid_num ? caller_chan->cid.cid_num : caller_chan->name);
callee_chan_id = ast_strdupa(callee_chan->cid.cid_num ? callee_chan->cid.cid_num : callee_chan->name);
len = strlen(caller_chan_id) + strlen(callee_chan_id) + 50;
args = alloca(len);
- snprintf(args, len, "%s|auto-%ld-%s-%s|m", (touch_format) ? touch_format : "WAV", time(NULL), caller_chan_id, callee_chan_id);
+ snprintf(args, len, "%s|auto-%ld-%s-%s|m", (touch_format) ? touch_format : "wav", time(NULL), caller_chan_id, callee_chan_id);
}
for( x = 0; x < strlen(args); x++)
More information about the svn-commits
mailing list