Click2Dial not working in Freshdesk app

Using manifest version 2.3 and below code to trigger Click 2 dial from Freshdesk Contacts page. However Click2Dial event is not getting triggered

var client = null;
$(document).ready( function() {
app.initialized()
.then(function(_client) {
client = _client;
client.events.on(‘app.activated’, function (event) {
console.log(‘app.activated triggered’ + JSON.stringify(event));
addEventListeners();
});
}).catch(function (error) {
console.error(‘The app failed to get initialized’);
console.error(error);
});
});

function addEventListeners() {
/* Click-to-call functionality */
console.log(“addEventListeners”);
client.events.on(“cti.triggerDialer”, clickToCallEvent); // this event is not getting called
}
function clickToCallEvent(event) {
console.log("clickToCallEvent : "+JSON.stringify(event));
var data = event.helper.getData();
console.log(data.number);
var url = “https://dummyurl/click2dial.html?phone=” + data.number;
console.log(url);
window = window.open(url, “theFrame”, “width=260, height=600”);
setTimeout(function() {
window.close();
}, 1000);
};

Please check on this

Hi @Platform-Services-De,

Greetings!

Could you please let me know the placeholders that your app is currently configured to?

Thank you.

Hi Benny,

It is placed in cti_global_sidebar

“freshdesk”: {
“location”: {
“cti_global_sidebar”: {
“url”: “index.html”,
“icon”: “icon.svg”
}
}
}

Hi @Platform-Services-De folks,

I’m able to reproduce this issue in local testing and as a custom app. To get it troubleshooter and fixed, I have created a support ticket for the respective team here (#15843317).

Please provide your response via email when any query is asked while troubleshooting this issue. Thanks.