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 74f6a0ab1..e6742dee0 100644 --- a/include/asterisk/cdr.h +++ b/include/asterisk/cdr.h @@ -266,6 +266,24 @@ void ast_cdr_setdestchan(struct ast_cdr *cdr, const char *chan); */ void ast_cdr_setapp(struct ast_cdr *cdr, char *app, char *data); +/*! 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); + +/*! 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); + /*! Convert a string to a detail record AMA flag */ /*! * \param flag string form of flag |