aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xChangeLog2
-rwxr-xr-xapps/app_dial.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d4befd085..3e5324fac 100755
--- 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)
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 7aa042b8c..4851e98ab 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -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: \