iLBC codec installation.

ariel_

Joined
Dec 22, 2009
Messages
5
Likes
0
Points
0
#1
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.
 

Patrick_elx

Joined
Dec 14, 2008
Messages
1,120
Likes
0
Points
0
#2

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#3
and the

get_ilbc_source.sh (from the contribs tree)
;)
 

Chilling_Silence

Joined
Sep 23, 2008
Messages
488
Likes
0
Points
0

eiger3970

Joined
Apr 29, 2009
Messages
112
Likes
0
Points
0
#5
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.
 

eiger3970

Joined
Apr 29, 2009
Messages
112
Likes
0
Points
0
#6
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
 

eiger3970

Joined
Apr 29, 2009
Messages
112
Likes
0
Points
0
#7
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!
 

ashir24

Joined
Sep 1, 2009
Messages
75
Likes
0
Points
0
#8
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.
 

ashir24

Joined
Sep 1, 2009
Messages
75
Likes
0
Points
0
#9
btw, when you compile make sure you have

gcc
gcc-c++
and ncurses-devel

Gud Luck.
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#10
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
 

Chilling_Silence

Joined
Sep 23, 2008
Messages
488
Likes
0
Points
0
#11
Thanks ashir24 :)

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

kinglyr

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

Regards,
 

eiger3970

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

Gelevera

Joined
Aug 22, 2010
Messages
143
Likes
0
Points
0
#14
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
 

echelon75

Joined
Dec 27, 2009
Messages
75
Likes
0
Points
0
#15
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
 

Members online

Latest posts

Forum statistics

Threads
30,898
Messages
130,879
Members
17,560
Latest member
manuelc
Top