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

gather information to improve destination algorithm #129

Open
iameru opened this issue Sep 20, 2023 · 1 comment
Open

gather information to improve destination algorithm #129

iameru opened this issue Sep 20, 2023 · 1 comment
Assignees
Labels
area:backend Related to the server component prio:C Nice to have, but optional type:enhancement New feature or request

Comments

@iameru
Copy link
Collaborator

iameru commented Sep 20, 2023

concerns api endpoint for 46elks on_hangup

When a phone call is finished, either successful or unsuccessful, gather information for the Destination Algorithm.

Gather Basic Infos on:

  • Which MEP was called.
  • Was the call connected successful.
  • Who was connected to the MEP (in hashed format, to not suggest the MEP again).
  • How long was the connected call

also find a way to somewhat accurately tell, if an MEP is already in a call initiated by us. Easiest implementation would be a timestamp. In this case the algorithm doesn't rely on the backend to always correctly trigger a boolean in the database and can use sane values as a fallback, i.e. occupied for 8 minutes.

For metrics it might also be useful to gather information for prometheus on:

  • how much did the call cost us
  • which of our numbers made the call
  • was the call successful
@iameru
Copy link
Collaborator Author

iameru commented Sep 20, 2023

Personally I myself wouldn't be annoyed by getting suggested the same MEP twice in a row and would ask for another random one again in the rare case this happens. Thats why I'd prioritize this item less and focus on the more relevant data for the moment

@iameru iameru self-assigned this Sep 20, 2023
@iameru iameru added type:enhancement New feature or request area:backend Related to the server component labels Sep 20, 2023
@scy scy added the prio:C Nice to have, but optional label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:backend Related to the server component prio:C Nice to have, but optional type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants