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

Open CTI Implemntation using Visual force page

Hi All,

I am trying to Implement the Open CTI using visualforce pages and it doen't seems working.

I refer the documentation:

I installed the package on on my dev account but that demo call interface doesn't seems working, when I call any of the Open CTI standard methods nothing happens for example if I call :

sforce.interaction.isInConsole(mycallback); it never comes back to my callback method.

If I make dummy html page on my machine and define that as my Open CTI interface and call this js

on some button click got response.


I try googling lot on this but with no result is anybody have any idea on making this work using the visual force page.







Have you set up your CTI adapter URL correctly - that was the issue when I tried this out.  If you don't get the correct value, then the cross site messaging doesn't work and the adapter can't interact with the rest of the system.


Open CTI : Callback function not getting called


Getting error: Blocked a frame with origin "" from accessing a frame with origin "https://xyz". Protocols, domains, and ports must match.
Need to get inside the callback function but it is reloading the entire frame.
getting this error in some main.js
Please help.


I am having the same issue. were you able to figure it out? What is the correct CTI Adapter URL then?

RAJ K.ax936RAJ K.ax936

You guys have to whitelist you CTI adapter URL domain. You can find this option under service cloud app you created. I am working on same thing and using Dev account so for me option is available in Create->App->Service Cloud console app->Whitelisted Domains.


Hope this helps you..

Manuel KochManuel Koch
Does anybody has a solution for this?
I have one working user but with another user its the described problem.
Manuel KochManuel Koch
Do you have a namespace set for your package?
If so add the namespace infront of your CTI Adapter Url i.e.