mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user