function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mike @ BlackTabMike @ BlackTab 

<support:clickToDial> "Click to Dial Disabled" message

I'm trying to implement the <support:clickToDial> component on a visualforce page, and it won't connect to the CTI adapter (Shoretel). It just has a greyed out phone icon and when you hover over it it says "Click to Dial Disabled". We know that the CTI adapter is set up correctly because we can click on normal phone fields within salesforce. 

Best Answer chosen by Admin (Salesforce Developers) 
amarcuteamarcute

are you including the the following java script in your VisualForce page?

 

<apex:includeScript value="/support/console/24.0/integration.js"/>

 

you can refer to a working example here.

All Answers

sherod1sherod1

I'm having the same issue, did you find a resolution?

Mike @ BlackTabMike @ BlackTab
Nope, I opened a case with Salesforce and they told me to contact ShoreTel
Support. I will keep you posted though.
sherod1sherod1
We're on Genesys and having the same issue. Only on VF pages, normal pages work fine... and guess what, when you use the old style 'embed some JS in the page and don't use the VF page'.... it works fine.
MohaMoha

Hello, i'm stuck with the Same thing, i don't know if you found any solution ???

amarcuteamarcute

are you including the the following java script in your VisualForce page?

 

<apex:includeScript value="/support/console/24.0/integration.js"/>

 

you can refer to a working example here.

This was selected as the best answer
Hemant ThakkarHemant Thakkar
Hi, me too stuck in the same thing. Here is my code

<apex:page StandardController="Authentication__c"   extensions="LoginController">
    <html>
    <head>
        <apex:includeScript value="/support/console/24.0/integration.js"/>
    </head>
    <apex:image value="{!$Resource.Sogtphoneimg}" height="200" width="300"/>
    <apex:sectionHeader title="User Details"/>
    <apex:form >
    <center><div style="width:600px;height:500px;">
    <apex:pageBlock title="Hello  {!Authentication__c.Name__c}!">
        <apex:pageBlockSection >
            <apex:outputField value="{!Authentication__c.Name__c}"/>
            <apex:outputField value="{!Authentication__c.Email_Address__c}"/>
            <apex:outputLabel value="Phone Number">
            <support:clickToDial number="{!Authentication__c.Phone_Number__c}" entityId="{!Authentication__c.id}"/>
            <!-- <a href="javascript:sforce.console.cti.sendCTIMessage('http://localhost:11000/CLICK_TO_DIAL?DN='+encodeURIComponent({!JSENCODE(Authentication__c.Phone_Number__c)})+'&ID={!Authentication__c.id}&ENTITY_NAME=Authentication__c');">{!Authentication__c.Phone_Number__c}&nbsp;&nbsp;</a> -->
            </apex:outputLabel>
            <apex:outputField value="{!Authentication__c.Address__c}"/>
            <apex:outputLabel value="Announce Flag"></apex:outputLabel>
            <apex:inputCheckbox value="{!Announceflag }" />
            <apex:outputLabel value="Auto Answer Flag"></apex:outputLabel>
            <apex:inputCheckbox value="{!AutoAnswerFlag}"/>
        </apex:pageBlockSection>
    </apex:pageBlock>
    </div></center>
    </apex:form>
    </html>
</apex:page>
John SpinarskiJohn Spinarski
The ClickToDial function appears to be disabled when you are in development mode on a VisualForce page.  When I turned off development mode, the ClickToDial functionality, when setup correctly, worked like a champ!
Greg CookGreg Cook
Try not disabling the header in your <apex:page... tag.  I am able to produce this problem at will by enabling or disabling the header.

When showHeader="false" the clickToDial functionality does NOT work.  When showHeader="true" (or omitted completely) the clickToDial support works as it should.

Dipak Sonawane 24Dipak Sonawane 24
Please try adding both the JavaScript files

<apex:includeScript value="https://cs17.salesforce.com/support/api/35.0/interaction.js"/> <apex:includeScript value="https://cs17.salesforce.com/support/console/35.0/integration.js"/>