Skip to content

traud/asterisk-ilbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asterisk patch for iLBC 20

Asterisk already supports iLBC 30. This patch adds iLBC 20. Now, Asterisk defaults to iLBC 20 but falls back to iLBC 30, when the remote party requests this.

Installing the patch

The patch was built on top of Asterisk 13.10. If you use a newer version and the patch fails, please, report!

cd /usr/src/
wget downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
tar zxf ./asterisk*
cd ./asterisk*
sudo apt-get --assume-yes install build-essential libssl-dev libncurses-dev libnewt-dev libxml2-dev libsqlite3-dev uuid-dev libjansson-dev libblocksruntime-dev

Apply all patches:

wget github.com/traud/asterisk-ilbc/archive/master.zip
unzip -qq master.zip
rm master.zip
cp --verbose --recursive ./asterisk-ilbc*/* ./
patch -p0 <./codec_ilbc.patch

Compile and install:

make
sudo make install

Testing

You can test iLBC 20 with

However instead, please, consider Opus, AMR-WB, or AMR.

Thanks goes to

  • Asterisk team: Thanks to their efforts and architecture the changes were done in one working day.
  • Rob Gagnon provided the starting point with his patch.

About

Asterisk 13 transcoding module: iLBC 20

Resources

Stars

Watchers

Forks

Languages