-
- Downloads
[FIX] Fixing Network connectivity issues with SIP client. (#25391)
* Clickup Task: https://app.clickup.com/t/245c0d8 Description: The previous PR did not handle the issues completely. This PR is expected to handle 1. Clearing call related UI when the network is disconnected or switched. 2. Do clean connectivity. There were few issues discovered in earlier implementation. e.g endpoint would randomly get disconnected after a while. This was due to the fact that the earlier socket disconnection caused the removal of contact on asterisk. This should be fixed in this PR. 3. This PR contains a lot of logs. This will be removed before the final merge. * Clickup Task: https://app.clickup.com/t/245c0d8 Description: Fixing error. * Clickup Task: https://app.clickup.com/t/245c0d8 Description: Removed log statents. Changed the call disconnection logic. The call now gets disconnected when the network disconnects. Earlier it would get disconnected when the network was restored back. * Clickup Task: https://app.clickup.com/t/245c0d8 Description: Cleaning VoIPUser.ts. * Clickup Task: https://app.clickup.com/t/245c0d8 Description: Handling review comments * Clickup Task: https://app.clickup.com/t/245c0d8 Description: Correctly handling the registration flag when network is restored. * Clickup Task: https://app.clickup.com/t/245c0d8 Description: Fixing review comments.
Showing
- apps/meteor/app/lib/server/startup/settings.ts 9 additions, 0 deletionsapps/meteor/app/lib/server/startup/settings.ts
- apps/meteor/client/lib/voip/SimpleVoipUser.ts 2 additions, 0 deletionsapps/meteor/client/lib/voip/SimpleVoipUser.ts
- apps/meteor/client/lib/voip/VoIPUser.ts 118 additions, 16 deletionsapps/meteor/client/lib/voip/VoIPUser.ts
- apps/meteor/client/providers/CallProvider/CallProvider.tsx 54 additions, 1 deletionapps/meteor/client/providers/CallProvider/CallProvider.tsx
- apps/meteor/client/providers/CallProvider/hooks/useVoipClient.ts 12 additions, 2 deletions...teor/client/providers/CallProvider/hooks/useVoipClient.ts
- apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json 2 additions, 0 deletionsapps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json
- packages/core-typings/src/voip/VoIPUserConfiguration.ts 6 additions, 1 deletionpackages/core-typings/src/voip/VoIPUserConfiguration.ts
Loading
Please register or sign in to comment