From 0ac4bbfdd92fe5229bb0616da951baaf712d6a0f Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 8 Nov 2005 01:05:52 +0000 Subject: [PATCH] issue #5602 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7006 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- ChangeLog | 2 ++ apps/app_dial.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d4befd085a..3e5324facb 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-11-07 Kevin P. Fleming + * 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 7aa042b8c8..4851e98ab1 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: \