Merged revisions 189465 via svnmerge from
authorTerry Wilson <twilson@digium.com>
Mon, 20 Apr 2009 21:29:29 +0000 (21:29 +0000)
committerTerry Wilson <twilson@digium.com>
Mon, 20 Apr 2009 21:29:29 +0000 (21:29 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r189465 | twilson | 2009-04-20 16:10:27 -0500 (Mon, 20 Apr 2009) | 2 lines

  Update CDR appropriately when AST_CAUSE_NO_ANSWER is set
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@189516 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index d93064a..44c1228 100644 (file)
@@ -636,6 +636,10 @@ static void handle_cause(int cause, struct cause_args *num)
                break;
 
        case AST_CAUSE_NO_ANSWER:
+               if (cdr) {
+                       ast_cdr_noanswer(cdr);
+               }
+               break;
        case AST_CAUSE_NORMAL_CLEARING:
                break;