diff options
-rwxr-xr-x | apps/app_dial.c | 6 |
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; \ |