Project

General

Profile

Actions

Support #2083

closed

Medflyt - conference using switchVoiceAppliction

Added by Czimer Daniel over 1 year ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
2023-08-17
Due date:
% Done:

0%

Estimated time:
Session tokens:

Description

We have noticed an intermittent issue and I saw it live while doing some tests.
Here's the situation: When the client initiates a call and an agent answers, we aren't adding it to the call - we create a new conference and add the agent. Then, we utilize the "switchVoiceApplication" function to include the client in the conference. However, there are instances where the agent is in the conference, and the call abruptly ends for the client. This occurrence happens multiple times a day.
It seems that the problem might be related to the "switchVoiceApplication" function? Could you please investigate further? The session legs involved in this issue are: 9f410e4d31394a94a8718311e0469730 ( caller ) and 20061b2b552841a5b1deb669367e0736 ( agent ).

This is the technical flow:

  1. Client calls
  2. Agent using "sipStartCall" with a conference token ( the "voiceApplication" webhook creates a new conference with "startConferenceOnEnter: false" property ).
  3. On "onSessionConnected" function - we are calling our server, create a new response with dial conference ( to the relevant conference number ), property "startConferenceOnEnter: true" and then using "switchVoiceApplication" function with the response and the caller source session token to connect the client to the conference.

It works 95% of the time, but 5% fails with the scenario I mentioned.

Actions

Also available in: Atom PDF