If you upgraded the kernel, first reboot. This is to ensure that the kernel running matches the kernel source installed.

To install Asterisk 1.6.2.X (recommended) from source, along with supporting packages:

  • enswitch install asterisk-162

To install Asterisk 1.8.X (not yet recommended) from source, along with supporting packages:

  • enswitch install asterisk-18