iLBC codec installation.

Discussion in 'General' started by ariel_, Dec 22, 2009.

  1. ariel_

    Joined:
    Dec 22, 2009
    Messages:
    5
    Likes Received:
    0
    Hello,

    I would like to install iLBC codec into my elastix installation. I am running 1.6 x64 from the ISO, I have also upgraded manually the Freepbx to 2.6.

    All is working fine. Only bug I found during the update was a extra line feed in asterisk.conf that would not allow me to save system recordings.

    But now I am trying to install the iLBC codec. Here are the basic setup directions.

    cd /usr/src/asterisk/
    ./contrib/scripts/get_ilbc_source.sh

    ./menuselect/menuselect
    selection 4 (codecs)
    to make sure ilbc selected
    exit + save

    make
    cp /usr/src/asterisk/codecs/codec_ilbc.so /usr/lib/asterisk/modules/

    cd /usr/lib/asterisk/modules
    asterisk -rvvvvvvvvvvvv
    load codec_ilbc.so
    core show translations

    But there is no /usr/src/asterisk files or modules installed. Do I need to get these files from some place else? Or do we need to do this in a different directory?

    Thank you for any help with thism.
     
  2. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
  3. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    and the

    get_ilbc_source.sh (from the contribs tree)
    ;)
     
  4. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
  5. eiger3970

    Joined:
    Apr 29, 2009
    Messages:
    112
    Likes Received:
    0
    The links to install ilbc are all broken. Is there any other way of installing ilbc easily into Elastix?
    My alaw and ulaw give poor quality calls, so my only other hope is to try ilbc codec.
     
  6. eiger3970

    Joined:
    Apr 29, 2009
    Messages:
    112
    Likes Received:
    0
    OK, so I found this script for Asterisk from this link: http://www.voip-info.org/wiki/view/iLBC

    I've tried writing a few commands in Elastix under PBX\Tools\Asterisk-Cli\Command. Once executed, the error 'No such command' always comes up. What I am doing wrong?

    2008-04-02 - iLBC no longer included with Asterisk source (1.4.19 and 1.6);
    to install ilbc codec translation:

    cd /usr/src/asterisk/
    ./contrib/scripts/get_ilbc_source.sh

    ./menuselect/menuselect
    selection 4 (codecs)
    to make sure ilbc selected
    exit + save

    make
    cp /usr/src/asterisk/codecs/codec_ilbc.so /usr/lib/asterisk/modules/

    cd /usr/lib/asterisk/modules
    asterisk -rvvvvvvvvvvvv
    load codec_ilbc.so
     
  7. eiger3970

    Joined:
    Apr 29, 2009
    Messages:
    112
    Likes Received:
    0
    Well, looks like no-one knows how to solve this one. I have now downloaded a new Asterisk.iso and will try installing this into Elastix and see if this installs ilbc...or destroys my whole pbx!
     
  8. ashir24

    Joined:
    Sep 1, 2009
    Messages:
    75
    Likes Received:
    0
    Have you tried the first link given by Chilling_Silence.
    that works perfectly, i have tried myself today and it worked well.
    Please try again, it should work.

    Gud Luck.
     
  9. ashir24

    Joined:
    Sep 1, 2009
    Messages:
    75
    Likes Received:
    0
    btw, when you compile make sure you have

    gcc
    gcc-c++
    and ncurses-devel

    Gud Luck.
     
  10. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    hi there all directions given in this post are good

    but calm down you need to recompile correctly all code to get you specific ilbc driver to work correclty in your asterisk version

    the most correct form to do this is get asterisk code from digium...(1.4.29)
    download and install all requierements gcc gcc-c++ autoconf, etc etc etc
    use /contrib/scripts get_ilbc_source script and replace codecs folder in /usr/src/asterisk with whe one that ilbc has created in the contrib folders...then make menuselect, mark ilbc compile and copy .so..it just work

    but remember ilbc is not in wide use..most carriers and people use gsm instead...and ilbs is not free or gpl thats why its not anymore in asterisk code or elastix. licensing issues....

    best regards
     
  11. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
    Thanks ashir24 :)

    Yeah the idea is you *literally* just copy the files to /usr/lib/asterisk/modules or /usr/lib64/asterisk/modules . Easy!
     
  12. kinglyr

    Joined:
    May 19, 2009
    Messages:
    39
    Likes Received:
    0
    Thank guys, very useful thread.
    Reading it i managed to install ilbc on my system!!!

    Regards,
     
  13. eiger3970

    Joined:
    Apr 29, 2009
    Messages:
    112
    Likes Received:
    0
    Well, finally fixed the codec issue. For those interested, I picked up another post showing how to download the binaries.
     
  14. Gelevera

    Joined:
    Aug 22, 2010
    Messages:
    143
    Likes Received:
    0
    Re: Re:iLBC codec installation.

    Hi. I have to install ilbc codec in my elastix 2.0
    which version of asterisk I have to download?

    1.6
     
  15. echelon75

    Joined:
    Dec 27, 2009
    Messages:
    75
    Likes Received:
    0
    Hi,

    >Well, finally fixed the codec issue. For those interested, I picked up another post >showing how to download the binaries.
    Would be possible to have link of this over post ?

    Regards

    Richard
     

Share This Page