---
schema_version: "1"
id: 01e2807c26bc878a84cf58464b44bdeaf5cf8e8b8c21bcca82a51cf76192e693
title: support:clickToDial
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/components/pages-compref-support-clicktodial.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-support-clicktodial.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2a96037f3c101c7308cc4cb783b9bb9e2c1b34b7f9e687b7d053dc7fecb216d9
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# support:clickToDial

A component that renders a valid phone number as click-to-dial enabled for Open CTI for Salesforce Classic or Salesforce CRM Call Center. This field respects any existing click-to-dial commands for computer-telephony integrations (CTI) with Salesforce.

**Note:**

- If you create a Visualforce page with a custom console component, you must set the showHeader attribute to true. If this attribute is set to false, click-to-dial is disabled.
- This component works with Open CTI for Lightning Experience.
- This component doesn't support Open CTI Phone iFrames.
- This component works with the `enableClickToDial`, `disableClickToDial`, and `onClickToDial` Open CTI methods.
- This component doesn’t work with embedded Visualforce pages within standard page layouts in Salesforce Classic.

## Example

This example displays the click to dial component.

```visualforce

            <apex:page standardController="Account" showHeader="true">
                <support:clickToDial
                    number="415-555-1234"
                    entityId="001XB000000HFUM"
                    params="myparam1,myparam2"
                />
            </apex:page>


```

## Attributes

| Attribute Name | Attribute Type | Description                                                                                                                  | Required? | API Version | Access |
| -------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------- | --------- | ----------- | ------ |
| `entityId`     | String         | The entity ID of the record from which to invoke click-to-dial.                                                              |           | 28.0        |        |
| `id`           | String         | An identifier that allows the component to be referenced by other components in the page.                                    |           | 14.0        | global |
| `number`       | String         | The phone number that invokes click-to-dial functionality.                                                                   | Yes       | 28.0        |        |
| `params`       | String         | Optional parameters related to when click-to-dial is invoked, such as any case or account parameters.                        |           | 28.0        |        |
| `rendered`     | Boolean        | A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. |           | 14.0        | global |

**See Also**

- [_Open CTI Developer Guide_: Methods for Lightning Experience](https://developer.salesforce.com/docs/atlas.en-us.api_cti.meta/api_cti/sforce_api_cti_methods_intro_lightning.htm)
