aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-16 03:18:22 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-16 03:18:22 +0000
commit45bce86540fc5967f0faeca8cb5be717d190c40c (patch)
tree76f798ee26492cf50c2fcc2d9a20db8b3f76165f /funcs
parent2da5b6f35579535c6076c85bea0b06553cf00d5e (diff)
fix bogus patch to allow setting the CDR amaflags. (The original patch in
issue #7166 was fine.) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27269 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_cdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c
index c2a4569a2..1b46ad79c 100644
--- a/funcs/func_cdr.c
+++ b/funcs/func_cdr.c
@@ -99,7 +99,7 @@ static int cdr_write(struct ast_channel *chan, char *cmd, char *parse,
else if (!strcasecmp(args.variable, "userfield"))
ast_cdr_setuserfield(chan, value);
else if (!strcasecmp(args.variable, "amaflags"))
- ast_cdr_setuserfield(chan, value);
+ ast_cdr_setamaflags(chan, value);
else if (chan->cdr)
ast_cdr_setvar(chan->cdr, args.variable, value, ast_test_flag(&flags, OPT_RECURSIVE));
/* No need to worry about the u flag, as all fields for which setting