Skip to content

Instantly share code, notes, and snippets.

@dontdieych
Created April 11, 2015 09:04
Show Gist options
  • Save dontdieych/e15561c835d30b858ab8 to your computer and use it in GitHub Desktop.
Save dontdieych/e15561c835d30b858ab8 to your computer and use it in GitHub Desktop.
How could I build ubuntu asterisk package with opus patch?

ENV, References

What I did

git clone https://github.com/meetecho/asterisk-opus
bzr branch ubuntu:trusty/asterisk

cd asterisk

quilt import ../asterisk-opus/asterisk_opus+vp8.diff # successfully done
quilt push
quilt refresh
bzr status
bzr add (everything changed)
dch -i "blah blah"
bzr commit

bzr builddeb -- -S -us -uc
pbuilder-dist trusty build ../asterisk_11.7.0~dfsg-1ubuntu3.dsc
sudo apt-get install ../pbuilder/trusty_result/asterisk{,-config,-modules}....deb

I've connected successfully from my android phone using csipsimple app. Connection detail said opus@16kHz.

The problem is there is no 'codec_opus.so' and 'format_opus.so' in /usr/lib/asterisk/modules. So no translation path from or to opus at all.

Opus patch says I should make menuselct opus codec. How can I tell this to bzr or pbuilder?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment