aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/cdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/cdr.h')
-rw-r--r--include/asterisk/cdr.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index ae10ac13a..5817603c2 100644
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -30,9 +30,10 @@
#define AST_CDR_FLAG_CHILD (1 << 3)
#define AST_CDR_FLAG_POST_DISABLED (1 << 4)
-#define AST_CDR_NOANSWER (1 << 0)
+#define AST_CDR_NULL 0
+#define AST_CDR_FAILED (1 << 0)
#define AST_CDR_BUSY (1 << 1)
-#define AST_CDR_FAILED (1 << 2)
+#define AST_CDR_NOANSWER (1 << 2)
#define AST_CDR_ANSWERED (1 << 3)
/*! AMA Flags */
@@ -169,6 +170,13 @@ extern void ast_cdr_start(struct ast_cdr *cdr);
*/
extern void ast_cdr_answer(struct ast_cdr *cdr);
+/*! A call wasn't answered */
+/*!
+ * \param cdr the cdr you wish to associate with the call
+ * Marks the channel disposition as "NO ANSWER"
+ */
+extern void ast_cdr_noanswer(struct ast_cdr *cdr);
+
/*! Busy a call */
/*!
* \param cdr the cdr you wish to associate with the call