Inphonite Wiki
Image



Edit

1 - Introduction

Click-to-Call functionality allows users to create a link on their website to make a call to a number of their choice. The way it works is, the link will initiate a call to your personal phone number, and then transfers the call to another number, connecting the two.

In order to implement Click-to-Call, there is a bit of coding involved. And the coding must be done in a language that can call web services. The examples below use C-Sharp.

NOTE: This article is intended for website developers and explains only how to create a method that can initiate Click-to-Call functionality. It does not attempt to assist you with implementing the functionality into your website.


Edit

2 - More Information

First, you'll want to create a new project (i.e. Windows Form Application) in Visual Studio. Then you would add a Service Reference for https://voice.inphonite.com/services/VoiceServiceLite.svc by rightclicking on "References" in the tree. Enter the URL and click "Go". The VoiceServiceLite service should be returned. The window will look like this:

Image

Change the namespace if you wish, and click OK.

Now in your form, use the Visual Studio Toolbox to add two Textboxes and a button to your form. After adding these to your form, double click the button object, and modify the method to include something like this:

private void button1_Click(object sender, EventArgs e)
{
MyServiceReference.VoiceServiceLiteClient client = newClicktoCallSample.ServiceReference1.VoiceServiceLiteClient();
client.SendClickToCall("myIVUser", "myIVPassword", textBox1.Text, textBox2.Text);
MessageBox.Show("Message sent.");
}


When a call is made, a test contact will be created in InphoniteVoice, and a Click-to-Call message will be created. The results of the call will be shown on call session reports generated from InphoniteVoice.

What remains now is to integrate this method into your website.


Edit

3 - Applies To

InphoniteVoice 2010


Edit

4 - Support

If you are unable to find answers to your question, our Technical Support Department offers per-incident support and annual maintenance contracts.

- OPEN A SUPPORT CASE -

All requests received between 9:00am and 6:00pm Eastern (6:00am and 3:00pm Pacific), Monday through Friday, will be responded to that same day. Our Technical Support team responds to requests in the order received. Requests from customers with Premium Support will be placed at the head of the queue and attended to by the next available Support Technician.

PLEASE NOTE: Before contacting our Technical Support Team, please review our article "Before You Contact Support".

For more tips and useful information, be sure to checkout the InphoniteBlog at blog.inphonite.com

Top

Keywords: click-to-call,clicktocall,integration,website

Inphonite - Main Web Site | Company Blog | Forums