aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/cdr.h6
-rw-r--r--include/asterisk/channel.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index 1f71039eb..1e3a36d26 100644
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -120,6 +120,12 @@ int ast_cdr_serialize_variables(struct ast_cdr *cdr, struct ast_str **buf, char
void ast_cdr_free_vars(struct ast_cdr *cdr, int recur);
int ast_cdr_copy_vars(struct ast_cdr *to_cdr, struct ast_cdr *from_cdr);
+/*!
+ * \brief CDR backend callback
+ * \warning CDR backends should NOT attempt to access the channel associated
+ * with a CDR record. This channel is not guaranteed to exist when the CDR
+ * backend is invoked.
+ */
typedef int (*ast_cdrbe)(struct ast_cdr *cdr);
/*! \brief Return TRUE if CDR subsystem is enabled */
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 1156b3270..f0ff3d09c 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -563,6 +563,8 @@ enum {
* bridge terminates, this will allow the hangup in the pbx loop to be run instead.
* */
AST_FLAG_BRIDGE_HANGUP_DONT = (1 << 18),
+ /*! This flag indicates whether the channel is in the channel list or not. */
+ AST_FLAG_IN_CHANNEL_LIST = (1 << 19),
};
/*! \brief ast_bridge_config flags */