iLBC for asterisk-1.4 x86 & x64

Discussion in 'General' started by Chilling_Silence, Aug 18, 2009.

  1. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
    Hi all,

    This has been useful to me so I thought I should post it up here.

    Generic binaries I've created for both x86 asterisk-1.4 & x64 asterisk-1.4
    Both tested on Elastix-1.5

    Approx 282KB (Also attached to this post)
    http://www.megaupload.com/?d=N7UL3QJ2

    Save the file, copy it to the server, then extract with:
    tar xvzf ilbc_x86_x64.tar.gz
    then cp x86/codec_ilbc.so /usr/lib/asterisk/modules
    chmod 755 /usr/lib/asterisk/modules/codec_ilbc.so

    Replace x86 with x64 for 64-bit versions of Elastix / Asterisk.
    Compiled on an Atom 330 -- But has tested working with other non-Atom x86 & x64 CPU's :)

    To confirm working, run:
    asterisk -r
    core show translation recalc 10

    It should look like this:
    Code:
    localhost*CLI> core show translation recalc 10
             Recalculating Codec Translation (number of sample seconds: 10)
    
             Translation times between formats (in milliseconds) for one second of data
              Source Format (Rows) Destination Format (Columns)
    
              g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
         g723    -   -    -    -        -     -    -     -    -     -    -    -    -
          gsm    -   -    3    3        4     3    2     7   14     -   31    4    -
         ulaw    -  11    -    1        3     2    1     6   13     -   30    3    -
         alaw    -  11    1    -        3     2    1     6   13     -   30    3    -
     g726aal2    -  12    3    3        -     3    2     7   14     -   31    1    -
        adpcm    -  11    2    2        3     -    1     6   13     -   30    3    -
         slin    -  10    1    1        2     1    -     5   12     -   29    2    -
        lpc10    -  14    5    5        6     5    4     -   16     -   33    6    -
         g729    -  14    5    5        6     5    4     9    -     -   33    6    -
        speex    -   -    -    -        -     -    -     -    -     -    -    -    -
         ilbc    -  14    5    5        6     5    4     9   16     -    -    6    -
         g726    -  12    3    3        1     3    2     7   14     -   31    -    -
         g722    -   -    -    -        -     -    -     -    -     -    -    -    -
    
    Cheers, and enjoy!


    Chill.
     
  2. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
    What a pain, it didnt attach.. Lets try that again.
    Nope, not working, what a pain ... 120KB is *just* not enough :(
     
  3. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
  4. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
  5. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
    Good stuff, thanks mate :)
     
  6. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    It's good to see you here again!

    Thanks a lot!!
     

Share This Page