Skip to content
Snippets Groups Projects
Commit 8047e806 authored by Russell Bryant's avatar Russell Bryant
Browse files

fix bogus patch to allow setting the CDR amaflags. (The original patch in

issue #7166 was fine.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent dd0ee630
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment