ILBC - get_ilbc_source.sh - Installation Question

All:

I am trying to install/compile ILBC support for asterisk.

I just installed asterisk using svn:

usflhi01aCLI> core show version
Asterisk SVN-trunk-r122766 built by root @ usflhi01a.foo.com on a i686 running Linux on 2008-06-14 23:12:08 UTC
usflhi01a
CLI>

I also ran the get_ilbc_source.sh script and re-compiled asterisk as well as re-started it. However I am not seeing support for ILBC. See below:

usflhi01a*CLI> core show translation
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     -     -     -     -        -     -     -     -     -     -     -     -     -      -
  gsm     -     -  2001  2001     4000  3000  2000  8999     -     -     -  3999  4000   5999
 ulaw     -  4000     -     2     2001  1001     1  7000     -     -     -  2000  2001   4000
 alaw     -  4000     1     -     2001  1001     1  7000     -     -     -  2000  2001   4000

g726aal2 - 5999 2001 2001 - 3000 2000 8999 - - - 1 4000 5999
adpcm - 4998 1000 1000 2999 - 999 7998 - - - 2998 2999 4998
slin - 3999 1 1 2000 1000 - 6999 - - - 1999 2000 3999
lpc10 - 7998 4000 4000 5999 4999 3999 - - - - 5998 5999 7998
g729 - - - - - - - - - - - - - -
speex - - - - - - - - - - - - - -
ilbc - - - - - - - - - - - - - -
g726 - 5999 2001 2001 1 3000 2000 8999 - - - - 4000 5999
g722 - 7998 4000 4000 5999 4999 3999 10998 - - - 5998 - 3999
slin16 - 9998 6000 6000 7999 6999 5999 12998 - - - 7998 4000 -
usflhi01a*CLI>

Could someone please point me in the right direction ?

Thanks in advance,

Alfredo

Run make menuselect and check if codec_ilbc is selected in Codec Translators.

Thanks Andrew, appreciate your help. I resolved this last night. I am putting all the steps below in case someone needs them.

If I recall correctly these are the steps I followed:

  • Download * source code using wget or svn
  • run get_ilbc_source.sh
  • In the directory where the source code was extracted, run:

make clean

./configure

make menuselect

( here is where you can then select the codecs you want, select ilbc so it’s compiled with *)

make install

make samples

make config

Fedora:

service asterisk start
asterisk -r

CLI>core show translations to verify ilbc is operational.

Alfredo

Hi alfredo your topic is very useful, i need to use ilbc too, for study reason but I’m new in asterisk can you explain me better these point that you have writed in your post?

-Download * source code using wget or svn

  • run get_ilbc_source.sh
  • In the directory where the source code was extracted, run:

where I have ti download and where I have to put this library in etc/asterisk
thank you very much…
bye
Giacomo