aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapps/app_dial.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 6855ac33e..bc0bb9c26 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -189,11 +189,15 @@ static void hanguptree(struct localuser *outgoing, struct ast_channel *exception
numbusy++; \
break; \
case AST_CAUSE_CONGESTION: \
- case AST_CAUSE_UNREGISTERED: \
if (chan->cdr) \
ast_cdr_busy(chan->cdr); \
numcongestion++; \
break; \
+ case AST_CAUSE_UNREGISTERED: \
+ if (chan->cdr) \
+ ast_cdr_busy(chan->cdr); \
+ numnochan++; \
+ break; \
default: \
numnochan++; \
break; \