Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microservices/recordings: use hashid for temporal MP3 filename #2708

Merged

Conversation

Kaian
Copy link
Member

@Kaian Kaian commented Jul 26, 2024

Type Of Change

  • Small bug fix
  • New feature or enhancement
  • Breaking change

Checklist:

  • Commits are named and have tag following commit rules
  • Commits are split per component (schema, portal/platform, kamusers, agis, ..)
  • Changes have been tested locally
  • Fixes an existing issue (Fixes #XXXX)
  • Upport from existing Pull request #XXXX

Description

Before this change, Call-Id header value was used for the temporal mp3 file of recordings. This value can contain characters that breaks the avconv command (like '/') so, we could encode this value or just replace it for another one. This is a temporal file that will be deleted by FSO core logic, so the easiest was to change its value to hashid, a partial md5 of Call-Id.

Additional information

@Kaian Kaian added +bug Bug microservices Microservices *tempest* IvozProvider 4.x Tempest Release labels Jul 26, 2024
@Kaian Kaian requested a review from danigargar July 26, 2024 07:10
@Kaian Kaian self-assigned this Jul 26, 2024
@Kaian Kaian marked this pull request as ready for review July 26, 2024 07:11
Before this change, Call-Id header value was used for the
temporal mp3 file of recordings. This value can contain characters
that breaks the avconv command (like '/') so, we could encode this
value or just replace it for another one. This is a temporal file
that will be deleted by FSO core logic, so the easiest was to change
its value to hashid, a partial md5 of Call-Id.
@Kaian Kaian force-pushed the PROVIDER-1943-microservice-recordings-temp-mp3-filename branch from 2b8dd6b to 97cda00 Compare July 26, 2024 11:02
@Kaian Kaian merged commit 4a5c0ee into bleeding Jul 26, 2024
2 checks passed
@Kaian Kaian deleted the PROVIDER-1943-microservice-recordings-temp-mp3-filename branch July 26, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
+bug Bug microservices Microservices *tempest* IvozProvider 4.x Tempest Release
Development

Successfully merging this pull request may close these issues.

2 participants