Legacy Dev Forum Posts

 View Only

Sign Up

Can't get call event when Calling on New Interaction View

  • 1.  Can't get call event when Calling on New Interaction View

    Posted 06-05-2025 19:04

    JavierVRT | 2024-03-01 14:46:26 UTC | #1

    I'm trying to catch event when I click on Call button in an New Interaction View, but I can't find it.

    I need to get it, like in other interactions who call clicToDial method (framework.js), because I want to pass phone number and an specific queueId.

        window.addEventListener('message', function (event) {
          try {
            var message = JSON.parse(event.data)
            if (message) {
              if (message.type == 'clickToDial') {
                window.PureCloud.clickToDial(message.data)

    Is in this case a different method?


    JavierVRT | 2024-03-04 17:45:55 UTC | #2

    Can I please get a response on this?

    Thanks.


    tim.smith | 2024-03-04 17:51:12 UTC | #3

    The events you can subscribe to are documented here: https://developer.genesys.cloud/platform/embeddable-framework/actions/subscribe. You can't generally hook into arbitrary click events, but you may find one of the documented events can meet your need.


    JavierVRT | 2024-03-20 08:32:49 UTC | #4

    I finally did a workaround with "clickToDial", but thanks anyway.


    system | 2024-04-19 08:33:03 UTC | #5

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 24966