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

Record call feature #251

Closed
davehorton opened this issue May 10, 2023 · 0 comments
Closed

Record call feature #251

davehorton opened this issue May 10, 2023 · 0 comments
Assignees

Comments

@davehorton
Copy link
Contributor

I would like to add the option of recording calls as a feature that a user can provision via the webapp. There shall be an env variable which can disable this feature completely if set. If this variable is not set, the following requirements apply:

Account Edit view
There shall be a checkbox labeled "Enable call recording for this account". If checked, the following controls shall become visible

  • checkbox: "Record all calls" (note: if checked, all calls for the account are recorded; if not set, then only calls to specified applications are recorded)
  • dropdown: "Recording storage". This dropdown for now will have only one option: "AWS S3 Bucket". The options below are specific to AWS S3, but we should keep in mind that in the future there will be other storage options beyond S3 and so they would have a different set of controls
  • input: "Bucket name"
  • input: "AWS Access Key ID"
  • input: "AWS Secret Access Key"
  • button: "Test". This button is enabled only when the items above have been filled in and will test that using those credentials we are able to access S3 and write a test file to that bucket (delete it afterwards to cleanup)

Application Edit view
IF call recording is enabled for the account AND the account "record all calls" setting is false, then have a checkbox titled "Record all calls to this application". If set, then we will record calls made to this specific application.

Recent Calls
When retrieving recent call data, we should have an additional property containing the bucket and name of the call recording for this call, if one exists. (Note that we need to save the bucket and file name with the call data, because a user may at some point want to change the account recording setting to a new bucket, but we should still be able to retrieve audio files from the older bucket).

If there IS a recording for a call then to the right of "Download pcap" there should be an audio control allowing the user to play back the recording from the browser. Ideally, I would like this to be shown as an audio strip similar to below if we can find some code or a library to do that.

image

There should be controls to play, pause, resume and if possible to drag the current audio pointer to some place in the audio and play it.

Finally, there should the ability to download the audio to an mp3 or wav file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants