diff options
Diffstat (limited to 'funcs/func_cdr.c')
-rw-r--r-- | funcs/func_cdr.c | 2 |
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 |