---
title: Visualforce Page for outbound calls
slug: voice-german/visualforce-page-for-outbound-calls
docTags: 
createdAt: 2024-03-19T23:48:32.262Z
---

This solution is for Salesforce **Classic** only

In case you want to create on an own Visualforce page for **outbound** calls, you can add phone number fields supporting the full outbound functionality like on a standard page layout.

Find below sample code which explains how to add a phone number from a contact record on an own Visualforce page.

## Step 1 - Add Visualforce page

Navigate to *Setup > AppSetup > Develop >&#x20;****Visualforce Pages*** and click on the button *New*

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/visualforce-new1.png)

Contact support to obtain the sample source code and paste it.&#x20;

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/visualforce-new2.png)

## Step 2 - Change view of contact

For testing, change the behavior of the contact page. Clicking on the contact name will open the visualforce page.

Navigate to *Setup > AppSetup > Customize > contacts >&#x20;***Buttons, Links, and Actions** and click on the link *Edit View*

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/visualforce-button1.png)

Replace the default action with the visualforce page

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/visualforce-button2.png)



## Step 3 - Test

Every time a contact record is loaded, the visualforce page with the clickable phone number will appear.

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/visualforce-dial.png)

