Merged revisions 79049 via svnmerge from
authorSteve Murphy <murf@digium.com>
Fri, 10 Aug 2007 18:35:15 +0000 (18:35 +0000)
committerSteve Murphy <murf@digium.com>
Fri, 10 Aug 2007 18:35:15 +0000 (18:35 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r79049 | murf | 2007-08-10 12:25:51 -0600 (Fri, 10 Aug 2007) | 1 line

Re bug behavior mentioned in #asterisk, made this tweak to code, to prevent hundreds of log messages from being generated
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79068 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/cdr.c

index 042c943..6f0d75a 100644 (file)
@@ -748,6 +748,7 @@ int ast_cdr_disposition(struct ast_cdr *cdr, int cause)
                        ast_cdr_busy(cdr);
                        break;
                case AST_CAUSE_FAILURE:
+               case AST_CAUSE_NORMAL_CIRCUIT_CONGESTION:
                        ast_cdr_failed(cdr);
                        break;
                case AST_CAUSE_NORMAL: