[asterisk-commits] trunk r27231 - /trunk/funcs/func_cdr.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 15 12:46:26 MST 2006


Author: mogorman
Date: Mon May 15 14:46:26 2006
New Revision: 27231

URL: http://svn.digium.com/view/asterisk?rev=27231&view=rev
Log:
allow func_cdr to set amaflags patch provided by
bug 7166

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=27231&r1=27230&r2=27231&view=diff
==============================================================================
--- trunk/funcs/func_cdr.c (original)
+++ trunk/funcs/func_cdr.c Mon May 15 14:46:26 2006
@@ -98,6 +98,8 @@
 		ast_cdr_setaccount(chan, value);
 	else if (!strcasecmp(args.variable, "userfield"))
 		ast_cdr_setuserfield(chan, value);
+	else if (!strcasecmp(args.variable, "amaflags"))
+		ast_cdr_setuserfield(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