Can you please describe more about the problem you are facing @Mackhintoshi ?
1 Like
Hi,
I am not quite sure why my post here was saved as empty.
My problem is basically, all the event callbacks are working except cti.triggerDialer
here is my code
var c2dcallback = function (event) {
var data = event.helper.getData();
console.log("C2D Initiated")
console.log(data)
// processing logic that uses data
};
app.initialized().then(function (client) {
window.client = client;
client.events.on("app.activated", function () {
console.log("ACTIVATED")
//all event handlers
//resize the softphone
client.instance.resize({ height: "500px",});
client.events.on("cti.triggerDialer", c2dcallback);
client.events.on("ticket.forwardClick", forwardClicked);
client.events.on("ticket.replyClick",replyClicked)
});
});