Minor Fix to disposition on clone routine
authorAnthony Minessale II <anthmct@yahoo.com>
Fri, 19 Nov 2004 17:52:53 +0000 (17:52 +0000)
committerAnthony Minessale II <anthmct@yahoo.com>
Fri, 19 Nov 2004 17:52:53 +0000 (17:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4298 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_forkcdr.c

index bf493d5..4fd0953 100755 (executable)
@@ -40,6 +40,7 @@ static void ast_cdr_clone(struct ast_cdr *cdr) {
        ast_cdr_append(cdr,newcdr);
        gettimeofday(&newcdr->start, NULL);
        memset(&newcdr->answer, 0, sizeof(newcdr->answer));
+       newcdr->disposition = AST_CDR_NOANSWER;
        ast_cdr_add_flag(cdr,AST_CDR_FLAG_CHILD|AST_CDR_FLAG_LOCKED);
 }