Update CDR appropriately when AST_CAUSE_NO_ANSWER is set

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@189465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Terry Wilson
2009-04-20 21:10:27 +00:00
parent ef9ef40c19
commit 59ee389e31

View File

@@ -357,6 +357,9 @@ static void hanguptree(struct dial_localuser *outgoing, struct ast_channel *exce
numnochan++; \
break; \
case AST_CAUSE_NO_ANSWER: \
if (chan->cdr) \
ast_cdr_noanswer(chan->cdr); \
break; \
case AST_CAUSE_NORMAL_CLEARING: \
break; \
default: \