Roll-out your own click-to-call service

Posted on April 15, 2008 
Filed Under Demo, click-to-call

Convenience of Click-to-call service has created so much buzz in the media that a lot of individual users and companies who have a web-presence (Blogs, Social Networking profiles, Customer support etc) are interested in using such a service. For e.g. An online directory service or a local search engine or even an individual user wants to have click-to-call callback based service available via their websites. For those who are unaware, a web-based click-to-call service based on callback technology allows users to click a button embedded on a Website, an e-mail, an online directory, or a social networking profile and then immediately speak with an user or a customer service representative on another end. It works by requiring user to type in their number, type in the destination number and then click on the ‘call’ button to be connected.

However, building a reliable click-to-call callback requires substantial amount of knowledge in VoIP, good backend infrastructure and maintenance. Good news is that now it is easy to build such a service in a matter of few minutes with just a few lines of code (php, perl, AJAX etc) using TringMe APIs.

Since the release of our APIs, we got several requests from developers who were interested in knowing how they could build their own click-to-call services. You can have the button/widget running without getting into the complex world of VoIP or any expensive setup. The complete source code to implement such a service is now available for download, completely free of cost and free of royalties!!!

To use the code as it is, put the script on your web server. Replace the variables with your own API keys & phone number and you are done. You can add more spices to it as you like – for example, AJAX, forms etc.

Complete code below:

<?php
include_once (”tringmeapi.php”);

$publickey = “yourpublicapikey”;
$privatekey = “yourprivateapikey”;

$parameters=array();
$parameters[’op’]=’c2c’;
$parameters[’apikey’]=$publickey;
$parameters[’callsrc’]=’18585551111′;
$parameters[’calldest’]=’18585552222′;

$response = TringMeAPI($parameters, $privatekey);

?>

Download TringMe API & Source Code

Click-to-call also allows you to offer VoIP services under your brand. We offer bulk rate and extended APIs to all who like to implement such services.

To know more about TringMe APIs and how to build many more innovative services, visit our developer’s page here.

Comments

2 Responses to “Roll-out your own click-to-call service”

  1. muthukumar kochadai on April 26th, 2008 12:01 am

    how to call through google talk? how to transfer my accound balance to other accound.

  2. Paul on May 22nd, 2008 5:24 pm

    Hi. I am interested in using your click to call service. Do you have a private label program? I am starting a Voip service and would like to offer your service together with my voip service.
    Please let me have feedback as soon as possible.

    Regards,
    Paul.

Leave a Reply