I need a click to call app that works with Google Chrome. We need to have capabilities similar to Skype where a user can click on any phone number and have it dial. Has anyone had any luck with the stuff that's out there?
https://url-of-tenant/app/click_to_call/click_to_call.php?username=<USER>&password=<PASS>&src_cid_name=Web+Call+-+$NUMBER&src_cid_number=<MY-NUMBER>&dest_cid_name=&dest_cid_number=&src=<MY-XTN>&dest=$NUMBER&auto_answer=&rec=&ringback=us-ring
https://url-of-tenant/app/click_to_call/click_to_call.php?username=<USER>&password=<PASS>&src_cid_name=Web+Call+-+$0&src_cid_number=<MY-NUMBER>&dest_cid_name=&dest_cid_number=&src=<MY-XTN>&dest=$0&auto_answer=&rec=&ringback=us-ring
I have a small windows .net app that does this in all applications. PM me if interested.
Hi Yukon, I have an interest in click to call would you share your .net app (Long. Long time since I have done any .net programming).I have a small windows .net app that does this in all applications. PM me if interested.
Does anyone know how to stop the actaul fusion URL from appearing?
Hi Andy, I don't know how you've set up click to call so won't be able to comment on your specific issue.We dont want the client to see this popping.
public function ctcMakeSipCall($ext, $dest)
{
$pbxName = 'IP or Domain Name of FusionPBX';
$user = 'ctc-user';
$pass = 'TopSecret';
$url = 'https://'. $pbxName .'/app/click_to_call/click_to_call.php?';
$url .= 'username='. $user;
$url .= '&password='. $pass;
$url .= '&src_cid_name=Call to ';
$url .= '&src_cid_number=' . $dest;
$url .= '&dest_cid_name=Private';
$url .= '&dest_cid_number='. $ext;
$url .= '&src='. $ext;
$url .= '&dest='. $dest;
$url .= '&rec=false';
$url .= '&ringback=uk-ring';
$ch = curl_init();
$timeout = 5;
$userAgent = 'Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/31.0';
curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_FAILONERROR, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // return value as a string instead of outputting directly
$data = curl_exec($ch);
curl_close($ch);
return $data;
}