Legacy Dev Forum Posts

 View Only

Sign Up

V2.users.{id}.conversations.calls notification when secure pause

  • 1.  V2.users.{id}.conversations.calls notification when secure pause

    Posted 06-05-2025 18:31

    frank_AOD | 2024-06-27 00:46:10 UTC | #1

    Hi all, Subscribing to the WebSocket v2.users.{id}.conversations.calls API does not send a message when a call is placed into secure pause. If in this state and another action is taken (hold, mute etc...) that triggers a message from the API then the 'secrePause' flag is shows true, and the recordingState shows "none" but entering or exiting the secure pause state itself does not trigger a notification message. This does not feel right, but I may be missing something. Do I need to subscribe to another topic to receive a message when the secure pause state changes on the active call?


    natereprogle | 2024-06-27 16:13:06 UTC | #2

    Hey Frank!

    You should be receiving a notification when secure pause is enabled. When I tested this on a test user, as soon as secure pause was activated I received a notification over the webhook which showed the "securePause" flag was switched to true. I've removed the participants from the response, but this is pretty much exactly what I received the moment I clicked the secure pause button:

    {
        "topicName": "v2.users.2f1ca3f8-330c-48c2-98f0-a6f189be11ef.conversations.calls",
        "version": "2",
        "eventBody": {
            "recordingState": "paused",
            "securePause": true,
            "participants": [
                ...
            ],
            "address": "tel:+1<REDACTED>",
            "utilizationLabelId": "631f0939-be32-495a-baf9-970abb039192",
            "id": "b91c232d-e5a9-4d88-95b7-2f1166c6b30a"
        },
        "metadata": {
            "CorrelationId": "3a367431-527e-4166-abda-a97003408150"
        }
    }

    I received a similar response when I disabled secure pause, the only difference was that "securePause" was false and "recordingState" was true again. I'd recommend testing with a dummy user in a dummy queue just to validate the subscription is working as expected.


    frank_AOD | 2024-06-27 23:19:37 UTC | #3

    Hi, Thank you for the response - pleased to hear that it should be talking to me at that point. I was expecting a response too, but the API is silent in both the test queue and the live queue. Might be time to raise a ticket, I think!


    system | 2024-07-27 23:20:02 UTC | #4

    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: 26974