hi peter,
thanks for pointing that out ... i'll check with the folks who
configured the server to see what encoding they're using.
in the meantime, i was able to get it working with GSM, which is good
news.
all the best,
jeremy
On May 27, 2008, at 11:22 AM, Peter Grayson wrote:
> Hi Jeremy,
>
> On Mon, May 26, 2008 at 7:48 PM, Jeremy Rotsztain
> <je...@ma...> wrote:
>>
>> i've made some progress getting iaxclient to compile with speex.
>>
>> configuring iaxclient worked when using ./configure --with-speex=/
>> usr/
>> local
>>
>> however, i'm now running into codec problems when i call the asterisk
>> server:
>>
>> warning: Invalid wideband mode encountered. Corrupted stream?
>> decode_int returned non-zero => -2
>>
>> can't find much documentation for this error online.
>
> That error can occur if asterisk sends voice frames encoded with
> something other than speex. It's not clear why this might be
> happening. I don't think this error would happen given a valid
> [narrowband] speex bitstream. Is there anything interesting about the
> asterisk server configuration?
>
> By the way, setting the PKG_CONFIG_PATH environment variable is the
> preferred way of allowing configure to find third-party libraries such
> as speex and portaudio. You probably need to set
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig -- the relevant .pc files
> should be in that directory.
>
> Pete
>
|