Index: dsp.c =================================================================== RCS file: /usr/cvsroot/asterisk/dsp.c,v retrieving revision 1.30 diff -u -r1.30 dsp.c --- dsp.c 10 Nov 2004 20:20:18 -0000 1.30 +++ dsp.c 11 Nov 2004 18:27:02 -0000 @@ -1742,3 +1742,13 @@ } return -1; } + +int ast_dsp_get_tstate(struct ast_dsp *dsp) { + return dsp->tstate; +} + + +int ast_dsp_get_tcount(struct ast_dsp *dsp) { + return dsp->tcount; +} + Index: include/asterisk/dsp.h =================================================================== RCS file: /usr/cvsroot/asterisk/include/asterisk/dsp.h,v retrieving revision 1.4 diff -u -r1.4 dsp.h --- include/asterisk/dsp.h 7 Jun 2004 23:38:39 -0000 1.4 +++ include/asterisk/dsp.h 11 Nov 2004 18:26:33 -0000 @@ -74,4 +74,9 @@ /* Set digit mode */ int ast_dsp_digitmode(struct ast_dsp *dsp, int digitmode); +/* get dsp->tstate */ +int ast_dsp_get_tstate(struct ast_dsp *dsp); + +/* get dsp->tcount */ +int ast_dsp_get_tcount(struct ast_dsp *dsp); #endif