There is solution present in asterisk and these solution are widely used. We will try to focus on technical of asterisk.
Details for installation of asterisk
Details about the available solution for PBX
Opensip Installation and load Balance Setting
IVR solution based on asterisk