Callmenow
Contents
- 1What can I do here?
- 1.1Popup op website
- 1.2Uiterlijk van de popup
- 1.3Flow van een Call Me Now-gesprek
- 1.4Blacklisting
- 1.5Velden
- 2Test
- 3Upload
- 4Different Call Me Now versions
What can I do here?
Manage the details of a Call Me Now button. A Call Me Now button is the way to turn a visitor of your website into a calling customer. A Call Me Now button establishes a telephone connection between the visitor of a website and an employee of your company. The visitor enters their number on the website. Our telephone system first calls this number. When the visitor confirms that they really requested this call, the system calls your specified telephone number and establishes the conversation between the visitor and you.
Popup on website
This is done by means of a link or a form on your website that allows a visitor to open the Call Me Now popup.
Appearance of the popup
The appearance of this popup can be standard ("Basic"), but it can also be styled to match your website's branding ("Branded"). When this popup is opened, the call is initiated and the visitor can follow the status of the call through this popup.
Flow of a Call Me Now conversation
When setting up the call, the visitor is called first. They must press 1 to continue. After this, the telephone number associated with the Call Me Now button is called. As soon as you answer, you have the customer on the line!
Blacklisting
A visitor can, instead of pressing 1, also press 0. This puts them on the blacklist for that specific Call Me Now button. This helps prevent prank calls.
Fields
Name: The name displayed in the Call Me Now popup when establishing the connection.
Description: Self-explanatory; purely administrative and not required.
Type: Choice between "Basic" and "Branded". Indicates whether the style of the popup described above is standard or custom. If "Branded" is selected, it's possible to manage media files (css and images). See the Upload section below.
A-number CLI: Indicates which number is shown to the website visitor. The visitor's number is the "A-number"; the number of the Call Me Now button holder is called the "B-number". There are the following choices:
- A-number: The visitor sees their own number when they are called.
- B-number: This is the default value. The visitor sees the number of the Call Me Now button holder when they are called. In this case, the number is also visible in the Call Me Now popup when setting up the call.
- Suppressed: The visitor does not see any number in their caller ID.
Destination: The number of the Call Me Now button holder. This is also called the "B-number".
Confirmation announcement: The message that the visitor hears when they pick up the phone, before they press 1 or 0. You can choose from your own uploaded AudioFiles. You can also select a standard message at the top of the selection list.
Transfer announcement: The message that the visitor hears after they've pressed 1. Here too, you can choose from your own sound files or a standard message.
Blacklist announcement: The message that the visitor hears after they've pressed 0. And again here, you can choose from your own sound files or a standard message.
Test
In the list of Call Me Now configurations, each row has a "Test" link.
This allows you to try out the popup. There are two ways to do this: "Call me!" and "Simulate".
Call me!
This sets up a real call between the "A-number" entered in the test form and the "B-number" specified in the Call Me Now configuration. Note: this will incur call charges! The popup shows the status of the call.
Simulate
This method is useful for Branded Call Me Now buttons. It walks through all possible statuses, so you can see what this looks like for a visitor.
Upload
For Branded Call Me Now buttons, it's possible to manage media files (css and images). Click on the Upload link in the Call Me Now list for the specific Call Me Now configuration.
File structure
The current structure for media files is as follows:
css/site.css
images/bg/background.jpg
images/status/ballon_groot.gif
images/status/greenright.gif
images/status/greenleft.gif
images/status/redleft.gif
images/status/redright.gif
When you create a Branded Call Me Now button, the standard media files for Basic Call Me Now buttons are copied, after which they can be modified.
Upload .zip file
If you want to upload a lot of files and folders at once, this is possible by putting them in a .zip file. This can then be uploaded by clicking "Browse", selecting the file, and clicking "Save".
View, add, modify and delete media
In the list below the upload field, you can see which files have already been uploaded. You can view these files by clicking on them. You can also delete them by clicking on the red cross next to them. It's also possible to replace a file with another file by clicking on the edit icon. Files can also be added to a folder by clicking on the plus sign next to the folder in question.
Different Call Me Now versions
There are various Call Me Now variants. To keep the configuration and implementation of Call Me Now simple, we have written a sample code (or source code) generator for the following versions:
Call Me Now formulier
Call Me Now link
Call Me Now email
Sample code
form on website
<form name="frmCall" method="post" action="http://partner.voipgrid.nl/ctd/setupcall/" target="foo" onSubmit="return checkPhonenumber(this); ">
<input type="hidden" name="hash" value="vulhierjehashin">
<br/>
Uw telefoonnummer: <br/>
<input id="phonenumber" name="phonenumber" size="15" type="text">
<input class="submit" value="Bel nu gratis" type="submit">
</form>
<div id="messageArea" style="color: #cc0000; font-family: arial; font-size:10px;"></div>
callmenow.js
function checkPhonenumber(form) {
phonenumber = form.phonenumber.value;
phonenumber.replace(/-| /g, '');
if (phonenumber == "") {
document.getElementById('messageArea').innerHTML = "Geen telefoonnummer ingevuld";
form.phonenumber.focus();
return false;
} else if (phonenumber.length < 8 || phonenumber.length > 12) {
document.getElementById('messageArea').innerHTML = "Ongeldig telefoonnummer ingevuld";
form.phonenumber.focus();
return false;
} else if (phonenumber.charAt(1) == 8) {
document.getElementById('messageArea').innerHTML = "Geen servicenummers toegestaan";
form.phonenumber.focus();
return false;
} else if (phonenumber.charAt(1) == 9) {
if (phonenumber.substring(2, 4) == 91) {
return true;
} else {
document.getElementById('messageArea').innerHTML = "Geen servicenummers toegestaan";
form.phonenumber.focus();
return false;
}
} else if (phonenumber.charAt(0)Â != '+' && phonenumber.charAt(0)Â != 0) {
document.getElementById('messageArea').innerHTML = "Ongeldig telefoonnummer ingevuld";
form.phonenumber.focus();
return false;
} else {
document.getElementById('messageArea').innerHTML = "";
window.open(null, 'foo', 'width=460, height=460, status=no,resizable=no,scrollbars=no');
return true;
}
}
Call me now without popup
It's also possible to use Call Me Now without a popup. You do this by calling the following URL:
https://partner.voipgrid.nl/ctd/call/[call-me-now-hash]/[a-nummer]/
The A-number should be in E.164 (+31501234567) format.
The URL returns a call_id. By calling http://partner.voipgrid.nl/ctd/status/[call_id]/ you can monitor the status of the call. These are all the possible statuses you can get:
# Ideal situation
'dialing_a', # dialing
'confirm', # request confirmation (optional) [a has answered]
'dialing_b', # dialing (confirmed)
'connected', # a is connected to b [b has answered]
'disconnected', # a or b hung up (normal clearing)
# Error conditions
'failed_a', # failed to call a (congestion, busy, abort during confirm)
'blacklisted', # a chose to actively blacklist these calls (pressed 0)
'failed_b', # failed to call b (congestion, busy)