[Asterisk-Dev] False echo created by large read buffer inchan_zap.c

Joel Daniels joeld at invtools.com
Fri Nov 19 16:10:59 MST 2004


> On Fri, 19 Nov 2004, Kevin P. Fleming wrote:
>
> > Joel Daniels wrote:
> > >    Theoretically, there might be a way to force Asterisk IAX to have very
low
> > > latency.  However this would only work on a very good LAN, and would
represent
> > > a huge bandwidth wastage, because you would have to send a whole IP
packet for
> > > every 2-5 milliseconds of data.  This would mean that you would have only
16-40
> > > bytes of audio on each packet!  You can always try, but I don't know how
much
> > > success you will have.
> >
> > Yeah, that would require a dedicated Ethernet between the machines I'm
> > sure, and even then you'd be dramatically increasing the interrupt load
> > on the PRI server, which already has to handle the Zaptel interrupts. I
> > don't think I'll try that!
>
> You could use the Asterisk TDMoE protocol in that case. One frame every
> ms, with a lot of channels in each frame. I have not tried it myself.
>
> Peter
>

Well I don't know a thing about IAX, but if Asterisk could really pull of a
trick like that, it would be really cool!  And certainly, I think that lowering
READ_SIZE and using TDMoE would stand a good chance of dealing with Kevin P.
Fleming's echo problems.  Especially over a full duplex switched gigabit
network :-)




More information about the asterisk-dev mailing list