Legacy Dev Forum Posts

 View Only

Sign Up

Best way to decline a call?

  • 1.  Best way to decline a call?

    Posted 06-05-2025 18:15

    Biniyam_Asnake | 2019-07-14 19:38:58 UTC | #1

    Hi,

    I was wondering what the best way is using the purecloud webrtc sdk to decline an incoming call? My specific use case is when there is ongoing call or another pending call. For now, I am comparing the session id of the current call or current pending call with the new pending call which works fine. However, I would like to outright reject the new pending call so the purecloud IVR can redispatch to another operator, as opposed to currently the pending call is just ignored and the user has to wait for the call to finish ringing.

    I'm not sure if purecloud webrtc sdk offers any support or if I would have to use the Conversations API.

    Any guidance would be appreciated.

    Biniyam


    tim.smith | 2019-07-15 19:17:24 UTC | #2

    Biniyam_Asnake, post:1, topic:5557
    I would like to outright reject the new pending call

    Disconnect yourself using PATCH /api/v2/conversations/{conversationId}/participants/{participantId}.


    system | 2019-08-15 19:17:26 UTC | #3

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