webresellers
11-16-06, 07:05 PM
I dont know about the rest of the users, but we use Vonage for our business line, and this is also where we got our 1-800#.
Their prices are VERY resonable. This is not a sales pitch for vonage at all, but if you are interested in getting Vonage, PM me your email address for discount coupon... To see a working demo outside of whmcs, your can enter your phone# and my vonange line will ring and we be connected for free at: http://www.webresellers.net/call.htm
Let me get this back on topic....
It would be very nice if WHMCS would link the clients phone number in the client area (admin section only) to Vonages Click2Call service.... Which is basically a link you can click on, then your Vonage phone will ring, and call the customer automatically. Since long distance calls are free from Vonange this solution has worked very well for us, plus we offer our customers a 1800# to call us for free if they want.
VARIABLES:
username = vonage account username
password = vonage account password
fromnumber = your vonage phone#
tonumber = phone # to dial
(This works will ALL Vonage accounts, nothing special is needed)
Here is the basic code for getting the click to call to work:
HTML:
<form action="https://secure.click2callu.com/tpcc/makecall" method="POST">
username <input name="username">
password <input name="password" type="password">
fromnumber <input name="fromnumber">
tonumber <input name="tonumber">
<input type="submit">
</form>
PHP:
<?php
$username = urlencode("username");
$password = urlencode("password");
$fromnumber = "fromNumber";
$tonumber = preg_replace("/\\D/", "", $_REQUEST['tonumber']);
$ch = curl_init("https://secure.click2callu.com/tpcc/makecall");
curl_setopt($ch, CURLOPT_MUTE, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "username=$username&password=$password&fromnumber=$fromnumber&tonumber=$tonumber");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
if (strncmp($output, "000:", 4) == 0)
echo "Calling $tonumber, please answer your phone when it rings.";
else
echo "Sorry, an error has occurred: $output";
?>
Their prices are VERY resonable. This is not a sales pitch for vonage at all, but if you are interested in getting Vonage, PM me your email address for discount coupon... To see a working demo outside of whmcs, your can enter your phone# and my vonange line will ring and we be connected for free at: http://www.webresellers.net/call.htm
Let me get this back on topic....
It would be very nice if WHMCS would link the clients phone number in the client area (admin section only) to Vonages Click2Call service.... Which is basically a link you can click on, then your Vonage phone will ring, and call the customer automatically. Since long distance calls are free from Vonange this solution has worked very well for us, plus we offer our customers a 1800# to call us for free if they want.
VARIABLES:
username = vonage account username
password = vonage account password
fromnumber = your vonage phone#
tonumber = phone # to dial
(This works will ALL Vonage accounts, nothing special is needed)
Here is the basic code for getting the click to call to work:
HTML:
<form action="https://secure.click2callu.com/tpcc/makecall" method="POST">
username <input name="username">
password <input name="password" type="password">
fromnumber <input name="fromnumber">
tonumber <input name="tonumber">
<input type="submit">
</form>
PHP:
<?php
$username = urlencode("username");
$password = urlencode("password");
$fromnumber = "fromNumber";
$tonumber = preg_replace("/\\D/", "", $_REQUEST['tonumber']);
$ch = curl_init("https://secure.click2callu.com/tpcc/makecall");
curl_setopt($ch, CURLOPT_MUTE, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "username=$username&password=$password&fromnumber=$fromnumber&tonumber=$tonumber");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
if (strncmp($output, "000:", 4) == 0)
echo "Calling $tonumber, please answer your phone when it rings.";
else
echo "Sorry, an error has occurred: $output";
?>