diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/cdr.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h index 312c2546e..9cd65713a 100644 --- a/include/asterisk/cdr.h +++ b/include/asterisk/cdr.h @@ -284,6 +284,24 @@ void ast_cdr_setdestchan(struct ast_cdr *cdr, const char *chan); */ void ast_cdr_setapp(struct ast_cdr *cdr, const char *app, const char *data); +/*! + * \brief Set the answer time for a call + * \param cdr the cdr you wish to associate with the call + * \param t the answer time + * Starts all CDR stuff necessary for doing CDR when answering a call + * NULL argument is just fine. + */ +void ast_cdr_setanswer(struct ast_cdr *cdr, struct timeval t); + +/*! + * \brief Set the disposition for a call + * \param cdr the cdr you wish to associate with the call + * \param disposition the new disposition + * Set the disposition on a call. + * NULL argument is just fine. + */ +void ast_cdr_setdisposition(struct ast_cdr *cdr, long int disposition); + /*! * \brief Convert a string to a detail record AMA flag * \param flag string form of flag |