Showing posts with label click-to-call. Show all posts
Showing posts with label click-to-call. Show all posts

Wednesday, March 3, 2010

gaducha.pl - the click to call based service !

Gaducha.pl was launched on February 24. We have actually planned to launch a web based click to call VoIP offering for few years now but there were always things to do which had higher priority and those were mostly to do with the never ending MVNO project. So after launching the MVNO service last year and after things settled down - we've decided to dust off the idea again.



The service is very straight forward to use. On the web page you enter two telephone numbers - yours and the person you are calling, click call and that's it! You can also trigger a phone call by sending a premium sms - we call you back and connect you to the number in the sms message. It makes VoIP more user friendly - without the need of microphones, headsets or tieing the user to the pc.

The service is quite revolutionary when it comes to charging - a flat fee is charged per call, with very low rates. Basically it is assumed that statistically not every call will be max duration.

Great work by the GG VoIP team!

Sunday, October 18, 2009

SIP applications ...in PHP

With basic SIP knowledge and a few lines of code any PHP developer can develop SIP applications. PHP-SIP is a PHP implementation of a SIP UA that allows to implement things like click-to-call, message waiting indications or SIMPLE based instant messages.

On Level 7 Systems' blog they show how to implement click-to-call functionality
triggered from a web page - in a relatively simple PHP script.


$api = new PhpSIP();

$api->setDebug(true);

$api->addHeader('Subject: click2call');
$api->setMethod('INVITE');
$api->setFrom('sip:c2c@'.$api->getSrcIp());
$api->setUri($from);

$res = $api->send();

if ($res == 200)
{
$api->setMethod('REFER');
$api->addHeader('Refer-to: '.$to);
$api->addHeader('Referred-By: sip:c2c@'.$api->getSrcIp());
$api->send();

$api->setMethod('BYE');
$api->send();

$api->listen('NOTIFY');
$api->reply(481,'Call Leg/Transaction Does Not Exist');
}



Check it out the full application here:
Click to Call with PHP-SIP