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
Austin VillanuevaAustin Villanueva 

opencti doesn't register or call the callback methods why? need help ASAP

Hi guys, I've been struggling why the opencti callback doesnt trigger.

Here is the situation that it works: 
If I put the url of our third party webphone in the call center definition as opencti adapter url. It works fine(all callbacks works) this use the absolute path to use the opencti api.

Now because we needed an email of the user each time the webphone refreshes, what I did is create a simple VisualForce page that gets email address using "{!$User.Email}"(because I can't access it in our site directly) then, inside the visual page I put a javacript code that changes the window location, using window.location="urlPathOfOurWebphone"+emailAddress; then it redirects the current iframe to our page but when I look at the logs in browser. The callbacks are not being called. There is no error but callbacks are not being called. 

Can you guys help me figure it out why? All I did was get the email and pass it to our url and do the redirect page. That's all but why the callbacks stops working. 

I hope you can help me guys. Thank you. 

-Austin