Preliminary notes
- Very few customers use G729, fewer every year, mainly because alternative codecs give better performance, without requiring a license. Unless you really need to use the G729 codec, skip this page.
- Since 2017 the patents for the G729 codec have expired, then you may want to find and install an open source or royalty-free version of the G729 codec that works with Asterisk. In this case, please skip this page.
To install the G.729 codec, you must first order licenses from Digium. They will then send you an email with the license key. When you have received it, then:
- enswitch install g729-18 # If running Asterisk 18
- enswitch install g729-16 # If running Asterisk 16
- enswitch install g729-13 # If running Asterisk 13
Then follow the menus to register the license key. When finished, add the following line to the bottom of the [general] section in /etc/asterisk/sip.conf and /etc/asterisk/iax.conf:
allow = g729
then restart Asterisk if you have already started it.