WatsonPhone is a php5.3+ open-sourced library for connecting to phone services similar to Twilio and Plivo. It's a modular implementation that is extendable to any other services.