Skip to content

Conversation

@pierre-lehnen-rc
Copy link
Contributor

@pierre-lehnen-rc pierre-lehnen-rc commented Jan 22, 2025

Proposed changes (including videos or screenshots)

Issue(s)

Several problems with the data currently stored on the VoIP call history:

  • It doesn't always identify the right caller / callee.
    - It logs too many "empty" calls that didn't happen (Still unknown why freeswitch is sending the events that are causing those in the first place)
    - If the same freeswitch server is used elsewhere, it is logging all of its calls as if the rocket.chat workspace had been involved on them.
    - If the same freeswitch server is used in multiple workspaces, it will log every call in every workspace, each of them with their own users.

VSTAB-36

Steps to test or reproduce

Further comments

  • moved the event parsing code from the freeswitch service to the freeswitch package as it was getting too big.
  • dropped the collections that were saving invalid data and created new ones to start from scratch.
  • changed the client to send custom data to the freeswitch server, such as the workspace url
  • 100% test coverage for the event parsing code.

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Jan 22, 2025

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is targeting the wrong base branch. It should target 7.9.0, but it targets 7.8.0

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2025

🦋 Changeset detected

Latest commit: 846ee05

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 38 packages
Name Type
@rocket.chat/model-typings Patch
@rocket.chat/core-typings Patch
@rocket.chat/freeswitch Patch
@rocket.chat/ui-voip Patch
@rocket.chat/models Patch
@rocket.chat/tools Patch
@rocket.chat/meteor Patch
@rocket.chat/apps Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/omnichannel-services Patch
rocketchat-services Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/http-router Patch
@rocket.chat/livechat Patch
@rocket.chat/rest-typings Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/license Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
@rocket.chat/instance-status Patch
@rocket.chat/i18n Patch
@rocket.chat/mock-providers Patch
@rocket.chat/network-broker Patch
@rocket.chat/ui-video-conf Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Jan 22, 2025

PR Preview Action v1.6.1

🚀 View preview at
https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-35006/

Built to branch gh-pages at 2025-07-02 18:01 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 24.00000% with 19 lines in your changes missing coverage. Please review.

Project coverage is 64.80%. Comparing base (ba0cbd3) to head (846ee05).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #35006      +/-   ##
===========================================
+ Coverage    64.79%   64.80%   +0.01%     
===========================================
  Files         3153     3304     +151     
  Lines       104884   107875    +2991     
  Branches     19990    20295     +305     
===========================================
+ Hits         67959    69911    +1952     
- Misses       34237    35147     +910     
- Partials      2688     2817     +129     
Flag Coverage Δ
e2e 57.68% <0.00%> (-0.01%) ⬇️
unit 69.70% <25.00%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pierre-lehnen-rc pierre-lehnen-rc marked this pull request as ready for review June 15, 2025 06:34
@pierre-lehnen-rc pierre-lehnen-rc requested review from a team as code owners June 15, 2025 06:34
@pierre-lehnen-rc pierre-lehnen-rc added this to the 7.8.0 milestone Jun 16, 2025
@pierre-lehnen-rc pierre-lehnen-rc added the stat: QA assured Means it has been tested and approved by a company insider label Jun 16, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Jun 16, 2025
@pierre-lehnen-rc pierre-lehnen-rc requested a review from cardoso June 17, 2025 15:45
cardoso
cardoso previously approved these changes Jun 17, 2025
@pierre-lehnen-rc pierre-lehnen-rc modified the milestones: 7.8.0, 7.9.0 Jun 24, 2025
dougfabris
dougfabris previously approved these changes Jun 24, 2025
Copy link
Member

@dougfabris dougfabris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FE looks good!

@kodiakhq kodiakhq bot removed the stat: ready to merge PR tested and approved waiting for merge label Jun 27, 2025
@kodiakhq
Copy link
Contributor

kodiakhq bot commented Jun 27, 2025

This PR currently has a merge conflict. Please resolve this and then re-add the ['stat: ready to merge', 'automerge'] label.

@pierre-lehnen-rc pierre-lehnen-rc added the stat: ready to merge PR tested and approved waiting for merge label Jul 2, 2025
@kodiakhq kodiakhq bot merged commit fd478a7 into develop Jul 2, 2025
85 of 89 checks passed
@kodiakhq kodiakhq bot deleted the fix/voip-log-parser branch July 2, 2025 19:28
sem22-dev pushed a commit to sem22-dev/Rocket.Chat that referenced this pull request Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants