How It Works?

How It Works?

Before we jump into the details of how all of it comes together, lets quickly write and deploy a VoicePHP application to get a taste of it. We will use TringMe's free hosted platform to run this application.

Get Started

Write Your VoicePHP Application

Write your PHP application as you usually do. Visit VoicePHP code-a-day for sample applications and code snippets.
VoicePHP code snippet The above diagram represents a very simple application. In VoicePHP, line 3 speaks the content specified in the echo. Line 4 initiates a call transfer and the application exits.

Let TringMe Know About Your Application

If you don't already have one, get a free account on TringMe.

Login to your TringMe account. Change the "reachability" setting to VoicePHP, specify the URL of the VoicePHP script and Save. How It Works?

That’s all. Now you application is available when called from a regular phone, from Internet (via Adobe Flash), over TringMe MobileVoIP or via Instant Messenger.

Accessing Your Application

Using Flash

Create your own flash widget or get one pre-made from TringMe. Put it on your website, blog, social network etc. When anyone clicks on it, the VoicePHP application will be invoked. It's that simple!

Flash Widgets?

You can copy the source code for the widget from your TringMe account.

Using a Phone (Landline, Mobile)

Dial the phone number shown in your "My Account" page (as marked in the diagram above). You can share this phone number with your users, friends and colleagues.

Using Phone Callback (Click 2 Call)

From your TringMe's "My Account" page, go to Click 2 Call section. Enter the callback number you desire to be called back at. In the "Enter your friends number here ..", specify the phone number assigned to you (as shown in your "My Account"). You will receive a callback and the call will then be terminated on the script as specified in your settings.

Using TringMe MobileVoIP

TringMe Mobile VoIP is easily customizable to your business needs. Anyone can freely dial your TringMe number and reach your VoicePHP application.

Using SIP

Simply call SIP URI for your VoicePHP given by TringMe.

Using Gtalk

Add tringmegtalk@gmail.com as your friend and just type ‘call <number>'. This will invoke your VoicePHP application as well. The number here is the number that is assigned to you by TringMe.
How It Works?

So, as you can see, apart from being PHP language itself, VoicePHP platform provides speech recognition, text-to-speech, telephony, messaging and all such components that are integral to supporting Voice and Telephony. Leverage all your existing development tools and technology to now develop compelling voice applications

Click here to read more on how it all fits together.