Andrea, Here is a little patch for compiling chan_capi.0.3.1 with latest asterisk CVS.
I could read in the lists that a new chan_capi.0.3.2 will soon arrive. In the wait time you can use this patch. put the patch in the chan_capi directory and tip: # patch -p1 < patch.chan_capi-against-0.3.1.diff It should compile now. Have fun ! On Tue, 2004-04-20 at 17:32, Andreas Anderson wrote: > Hi Guys, > > does anyone know how to fix chan_capi to work with the current CVS HEAD? > It's no > longer possible to compile after the recent changes in the locking... > > > Regards, > > Andreas > > _________________________________________________________________ > Theres never been a better time to get Xtra JetStream @ > http://xtra.co.nz/jetstream > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
--- chan_capi.bad/chan_capi.c 2004-04-22 20:18:03.000000000 +0200 +++ chan_capi/chan_capi.c 2004-04-22 20:18:35.000000000 +0200 @@ -1184,7 +1184,7 @@ tv.tv_sec = 0; tv.tv_usec = 10; if ((f->frametype == AST_FRAME_VOICE) && (p->i->doDTMF == 1) && (p->i->vad != NULL)) { - f = ast_dsp_process(p->c,p->i->vad,f,0); + f = ast_dsp_process(p->c,p->i->vad,f); if (f->frametype == AST_FRAME_NULL) { return 0; }