issue #5602
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 01:05:52 +0000 (01:05 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 01:05:52 +0000 (01:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
apps/app_dial.c

index d4befd0..3e5324f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-11-07  Kevin P. Fleming  <kpfleming@digium.com>
 
+       * apps/app_dial.c (HANDLE_CAUSE): set CDR disposition to match cause code (issue #5602)
+
        * asterisk.c: support 'runuser' and 'rungroup' options in asterisk.conf (issue #5621)
 
        * res/Makefile, apps/Makefile, channels/Makefile, Makefile: support WITHOUT_ZAPTEL define to forcibly avoid building Zaptel support (issue #5634)
index 7aa042b..4851e98 100755 (executable)
@@ -265,12 +265,12 @@ static void hanguptree(struct localuser *outgoing, struct ast_channel *exception
                break; \
        case AST_CAUSE_CONGESTION: \
                if (chan->cdr) \
-                       ast_cdr_busy(chan->cdr); \
+                       ast_cdr_failed(chan->cdr); \
                numcongestion++; \
                break; \
        case AST_CAUSE_UNREGISTERED: \
                if (chan->cdr) \
-                       ast_cdr_busy(chan->cdr); \
+                       ast_cdr_failed(chan->cdr); \
                numnochan++; \
                break; \
        default: \