$ sudo add-apt-repository "deb
http://packages.asterisk.org/deb `lsb_release -cs` main"
$ sudo add-apt-repository "deb-src
http://packages.asterisk.org/deb `lsb_release -cs` main"
$ sudo apt-get update
All DAHDI related components of Asterisk have been moved to a separate package. For example if you want to use app_meetme.so, then you need to install this package.
$ sudo apt-get install asterisk-dahdi
Upgrade:
$ sudo apt-get update
$ sudo apt-get upgrade
Note
Due to a bug in asterisk-1.8.3 of the packages, upgrading to later versions of Asterisk will not work. Unfortunately you will need to purge the previous version and install asterisk again.
$ sudo apt-get purge asterisk*
$ sudo apt-get install asterisk