[asterisk-commits] trunk r27269 - /trunk/funcs/func_cdr.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon May 15 20:18:22 MST 2006
Author: russell
Date: Mon May 15 22:18:22 2006
New Revision: 27269
URL: http://svn.digium.com/view/asterisk?rev=27269&view=rev
Log:
fix bogus patch to allow setting the CDR amaflags. (The original patch in
issue #7166 was fine.)
Modified:
trunk/funcs/func_cdr.c
Modified: trunk/funcs/func_cdr.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_cdr.c?rev=27269&r1=27268&r2=27269&view=diff
==============================================================================
--- trunk/funcs/func_cdr.c (original)
+++ trunk/funcs/func_cdr.c Mon May 15 22:18:22 2006
@@ -99,7 +99,7 @@
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
More information about the asterisk-commits
mailing list