>>>>> "John" == John Todd <[EMAIL PROTECTED]> writes:
 >> What is the state of speex support in asterisk? I saw the codec
 >> seems to be there.

 John> Install the Speex library support, and re-compile Asterisk.
 John> There's probably a pre-compiled version of Speex for your system;
 John> look around in whatever package manager you use for your Linux
 John> distro.

I do have the libraries installed.

 >> Can speex be used on IAX2 links? Is there much work still to be
 >> done?

John> Yes, it can be used. No work required to get functionality.

Really? Have you tried it? I have. It doesn't work -- and a quick look
at chan_iax2.c shows that there is a good reason for this --
get_samples() doesn't know how to calculate the number of samples for an
incoming speex format frame. This results in chopped sound and hundreds
of warnings:
[snip]

--J.
PS: bad advice is worse than no advice...

I take it that comment was directed at me.


Yes, really, Speex does work, and yes, I did try it without any of the modifications you describe above. Feel free to ask for help if it doesn't work, but don't assume that others haven't made it work or that I'm giving you intentionally bad advice - it's insulting.

PS: Did you not see my recent post about IAX2 bandwidth utilizations using all the major protocols, including Speex?

ms1*CLI> iax2 show channels
Peer             Username    ID (Lo/Rem)  Seq (Tx/Rx)  Lag      Jitter  Format
10.0.3.2         pdx1        16384/16384  00021/00024  00120ms  0030ms  512
1 active IAX channel(s)
ms1*CLI>

JT

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to