You can use asterisk and implement IVR stream using AGI php scripts .
Asterisk is an open source telephony project. You install the software in a Linux window, then connect some telephone lines (PSTN, ISDN, SIP, whatever).
Asterisk can be controlled using AGI php scripts to create user interactions (dial number XXX, play wave "Click one to do this, two to do this", read DTMF input from the user, etc.).
source share