I know Asterisk 11 is near its EOL (or maybe passed it by few weeks!), but it's still stable and usable, specially for home server with 5 to 6 expansions like in my case!
I chose version 11 in particular because it's that last version to support Asterisk GUI. I know the gui has been abandoned by Digium, but again it's very stable and usable for small installations like mine.
Here is a tutorial on how to install Asterisk 11 and its GUI on the latest clearOS 7.3.
First, yum update then reboot the server.
Download asterisk code and compile:
In Asterisk Module and Build Option Selection, disable: Channel Drivers -> [ ] chan_mgcp for better performance especially in loaded server.
Start asterisk 11 and make sure it's lisning to port 5060 (asterisk 1.8 did not!):
install Asterisk GUI:
Edit /etc/asterisk/http.conf and make the following modifications:
Edit /etc/asterisk/manager.conf and make the following modifications:
Edit /etc/asterisk/asterisk.conf and make the following modifications:
Compile the GUI and load it:
Now, you can visit the GUI and start configuraing your new PBX:
Goto: http://192.168.0.1:8088/asterisk/static/config/index.html then:
1. Add VOIP SIP Truck: spa, 192.168.1.12 (SPA3102 IP in my case)
2. Add Outgoing Calling Rule: viaSPA, _., Use Trunk: spa, Strip: 0
3. Add new Dial Plan: choose all options
4. Add users
5. Add Incoming Calling Rule: _xxxxx (your phone number as entered in SPA page), any Destination
Finally, allow incoming SIP in clearOS firewall.