[asterisk-bugs] [Asterisk 0014138]: Unable to use iLBC codec under virtual machine (nor Xen, nor VMWare)

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 25 09:05:39 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14138 
====================================================================== 
Reported By:                malaiwah
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14138
Category:                   Codecs/codec_ilbc
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 166731 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-25 08:08 CST
Last Modified:              2008-12-25 09:05 CST
====================================================================== 
Summary:                    Unable to use iLBC codec under virtual machine (nor
Xen, nor VMWare)
Description: 
I'm running Asterisk (as test machines) under various virtual
environnements and am having the same problem under every virtual
environnement I tried.
I had this problem with Asterisk 1.4 before but did not bother mentionning
because I did not want to use the iLBC codec at that time. I think this
issue started when the iLBC source code went out-of-tree.

I'm running a Ubuntu 32-bit guest in a 64-bit server, this one is running
under VMWare Server on Linux.

If I try to run Asterisk with the iLBC codec enabled (with the contrib
script downloading/extracting the source from the online RFC) it segfaults.
I'm currently testing it with asterisk-trunk.

I can successfully start asterisk if I add a noload directive in the
modules.conf configuration file, but I'm missing the ilbc codec in the
supported translations report.

In "additionnal informations", I have the gdb stacktrace (bt) of my core
dump file.
====================================================================== 

---------------------------------------------------------------------- 
 (0096950) malaiwah (reporter) - 2008-12-25 09:05
 http://bugs.digium.com/view.php?id=14138#c96950 
---------------------------------------------------------------------- 
changing the ilbc function name works like a charm, looks like there was a
confusion between the window() function of VPB and the one of iLBC.

I can now use iLBC on my asterisk server.

*CLI> core show translation recalc 60
         Recalculating Codec Translation (number of sample seconds: 60)

         Translation times between formats (in microseconds) for one
second of data
          Source Format (Rows) Destination Format (Columns)

           g723   gsm  ulaw  alaw g726aal2 adpcm  slin lpc10  g729 speex 
ilbc  g726  g722 slin16
     g723     -  1134     2     2        2     2     1  1801     2 11068 
4667     2     2      3
      gsm  3466     -   467   467      467   467   466  2266   467 11533 
5132   467   467    468
     ulaw  3001  1134     -     1        2     2     1  1801     2 11068 
4667     2     2      3
     alaw  3001  1134     1     -        2     2     1  1801     2 11068 
4667     2     2      3
 g726aal2  3001  1134     2     2        -     2     1  1801     2 11068 
4667     1     2      3
    adpcm  3001  1134     2     2        2     -     1  1801     2 11068 
4667     2     2      3
     slin  3000  1133     1     1        1     1     -  1800     1 11067 
4666     1     1      2
    lpc10  4666  2799  1667  1667     1667  1667  1666     -  1667 12733 
6332  1667  1667   1668
     g729  3001  1134     2     2        2     2     1  1801     - 11068 
4667     2     2      3
    speex  3001  1134     2     2        2     2     1  1801     2     - 
4667     2     2      3
     ilbc  3001  1134     2     2        2     2     1  1801     2 11068  
  -     2     2      3
     g726  3001  1134     2     2        1     2     1  1801     2 11068 
4667     -     2      3
     g722  3001  1134     2     2        2     2     1  1801     2 11068 
4667     2     -      1
   slin16  3002  1135     3     3        3     3     2  1802     3 11069 
4668     3     1      - 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-25 09:05 malaiwah       Note Added: 0096950                          
======================================================================




More information about the asterisk-bugs mailing list