aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-26 14:51:21 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-26 14:51:21 +0000
commit34c3f397e3b4efb4f30ccda45b58735f70556ca1 (patch)
tree000496d1f486fc0f6f452aa2322d3e358a333876 /main
parent48f20af14d96bd25a75ff3aa345626507a85d60d (diff)
Remove more hardcoded pipe symbols and replace with commas.
(closes issue #12072) Reported by: SimonSharman Patches: features.patch uploaded by SimonSharman (license 410) Tested by: SimonSharman git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104127 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/features.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/features.c b/main/features.c
index 800dc89e5..5518e0083 100644
--- a/main/features.c
+++ b/main/features.c
@@ -694,7 +694,7 @@ static int builtin_automonitor(struct ast_channel *chan, struct ast_channel *pee
args = alloca(len);
touch_filename = alloca(len);
snprintf(touch_filename, len, "%s-%ld-%s", S_OR(touch_monitor_prefix, "auto"), (long)time(NULL), touch_monitor);
- snprintf(args, len, "%s|%s|m", S_OR(touch_format, "wav"), touch_filename);
+ snprintf(args, len, "%s,%s,m", S_OR(touch_format, "wav"), touch_filename);
} else {
caller_chan_id = ast_strdupa(S_OR(caller_chan->cid.cid_num, caller_chan->name));
callee_chan_id = ast_strdupa(S_OR(callee_chan->cid.cid_num, callee_chan->name));
@@ -702,7 +702,7 @@ static int builtin_automonitor(struct ast_channel *chan, struct ast_channel *pee
args = alloca(len);
touch_filename = alloca(len);
snprintf(touch_filename, len, "%s-%ld-%s-%s", S_OR(touch_monitor_prefix, "auto"), (long)time(NULL), caller_chan_id, callee_chan_id);
- snprintf(args, len, "%s|%s|m", S_OR(touch_format, "wav"), touch_filename);
+ snprintf(args, len, "%s,%s,m", S_OR(touch_format, "wav"), touch_filename);
}
for(x = 0; x < strlen(args); x++) {