Legacy Dev Forum Posts

 View Only

Sign Up

How to Create/ Destroy Persistent Connections using API?

  • 1.  How to Create/ Destroy Persistent Connections using API?

    Posted 06-05-2025 18:04

    Furqan | 2024-03-27 03:24:09 UTC | #1

    I have been looking into this Call Control Support Blog to create persistent connections using JS SDK. I created the architect flow and established the persistent connection, but just curios,

    1. is there a direct API call to create/destroy WebRTC persistent connections.
    2. How do we close the WebRTC persistent connection using API ?
    3. is there a way to keep persistent connection active, if we close the browser and open a new browser instance of purecloud ?

    Thanks, Furqan


    Jerome.Saint-Marc | 2024-03-27 14:30:06 UTC | #2

    Hello,

    Furqan, post:1, topic:25424
    is there a direct API call to create/destroy WebRTC persistent connections.

    No. There is not.

    Furqan, post:1, topic:25424
    How do we close the WebRTC persistent connection using API ?

    It is not possible to terminate the WebRTC Phone persistent connection using the API. It is only available from the Genesys Desktop UI.

    Furqan, post:1, topic:25424
    is there a way to keep persistent connection active, if we close the browser and open a new browser instance of purecloud ?

    No. Closing the browser will close the embedded WebRTC Phone and will terminate the WebRTC call with that phone. This will end the persistent connection.

    Regards,


    Furqan | 2024-03-28 22:16:19 UTC | #3

    Thanks @Jerome.Saint-Marc for the update.


    system | 2024-04-28 22:16:47 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 25424