[asterisk-bugs] [Asterisk 0012321]: Unable to record Speex

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 18 00:10:48 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12321 
====================================================================== 
Reported By:                nblasgen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12321
Category:                   Codecs/codec_speex
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 111565 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-03-28 04:08 CDT
Last Modified:              2008-11-18 00:10 CST
====================================================================== 
Summary:                    Unable to record Speex
Description: 
    -- Executing [500 at realtimedb:3] Record("SIP/test-091a8d58",
"test-account:wav,0,30") in new stack
    -- <SIP/test-091a8d58> Playing 'beep.gsm' (language 'en')
[Mar 28 02:00:58] WARNING[12563]: codec_speex.c:232 speextolin_framein:
Out of buffer space
[Mar 28 02:00:58] WARNING[12563]: codec_speex.c:232 speextolin_framein:
Out of buffer space

I have no issues playing files, just recording.  I've tested with Asterisk
1.4-SVN and Asterisk Trunk, both compiled tonight.  I've tested with Speex
1.1.12 as well as Speex 1.0.5.  I've tried recording from X-Lite and a self
made pjlib based client.  I've really tried everything.  Searching the web
I've found references to this exact issue from 2004.  Maybe it's an X-Lite
issue, but pjlib is an open source library that I would have expected to
work if it was a simple issue with X-Lite missunderstanding the SpeeX RFC.

So again, no issue listening to files in a broad range of formats (though
I focused on WAV files).  But I can't record to WAV.  Other posts say the
same is true with recording voice mails.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0013556 WARNING: Out of buffer space (IAX-Trunk...
====================================================================== 

---------------------------------------------------------------------- 
 (0094967) nblasgen (reporter) - 2008-11-18 00:10
 http://bugs.digium.com/view.php?id=12321#c94967 
---------------------------------------------------------------------- 
Close this case.  It works perfectly right now and might have worked
perfectly for a long time too--I'm not going to bother to check unless
requested.

I feel stupid but at the same time Asterisk didn't detect it either. 
CentOS repo uses 1.0.5 and installs to /usr/lib/libspeex.so.1.  SpeeX on
tarbar compile installs to /usr/local/lib/libspeex.so.1.  So it seems for
quite a while I had two versions installed in different locations.  When
compiling Asterisk, the ./configure program was looking in /usr/local/lib/
it seems and using that codec.  After install, Asterisk I noticed was
looking for the /usr/lib/ file--not the one the ./configure app had decided
to use.

Anyways, it just ended up being a cluster f*ck.  Everything seems to work
right now.  I'm not sure why the previous versions failed, but if for the
past 6 months I've had multiple versions of SpeeX installed, I can only
blame myself.

Tested:

Asterisk SVN-branch-1.4-r157163
eyeBeam 1.5 (rev 47069 on Mac OS X)

And I had tested eyeBeam on the system before upgrading and finding this
additional issue, and it failed at that time.  So case closed.  Very likely
my fault but now we know there is a fix if this comes up again. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-18 00:10 nblasgen       Note Added: 0094967                          
======================================================================




More information about the asterisk-bugs mailing list