--- /usr/src/asterisk-1.2.14/include/asterisk/cdr.h 2006-03-22 15:38:32.000000000 -0600 +++ /usr/src/asterisk/include/asterisk/cdr.h 2007-01-26 18:38:50.000000000 -0600 @@ -69,10 +69,14 @@ char lastdata[AST_MAX_EXTENSION]; struct timeval start; + + struct timeval pdd; /* LES */ struct timeval answer; struct timeval end; + /*! Total PDD time, in seconds */ + long int pddsec; /* LES */ /*! Total time in system, in seconds */ long int duration; /*! Total time call is up, in seconds */ @@ -162,6 +166,14 @@ */ extern void ast_cdr_start(struct ast_cdr *cdr); +/*! Mark PDD on call */ +/*! + * \param cdr the cdr you wish to associate with the call + * Marks the PDD on the call + * Returns nothing important + */ +extern void ast_cdr_pdd(struct ast_cdr *cdr); /* LES */ + /*! Answer a call */ /*! * \param cdr the cdr you wish to associate with the call