]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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 d4befd085ad532076627b2007ee07acffa55ef9d..3e5324facbe57144810f6480f00079a3fcdb1e78 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 7aa042b8c8f0f6545fc33ac93952cccae8ccc23f..4851e98ab15323cb571b47848ac61f4921221d9e 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: \