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

Make calls searchable by duration #642

Open
fredrik-dahlgren opened this issue May 17, 2024 · 3 comments
Open

Make calls searchable by duration #642

fredrik-dahlgren opened this issue May 17, 2024 · 3 comments

Comments

@fredrik-dahlgren
Copy link

I'd like to make a feature request to search for calls based on duration or relative times. For example:

  • Any answered calls from source 1.2.3.4 shorter than 15 seconds
  • Any calls where a CANCEL was received in the first 5 seconds
  • Any calls where the difference between the initial INVITE and the first 200 OK is more than 60 seconds
    etc

Basically mostly things you usually record in CDRs (ringing time and call duration) but without the extra step of searching cdrs -> extracting callid -> searching in homer.

Copy link

Please star this repository to motivate the developers and to get higher priority! ⭐

@lmangani
Copy link
Member

Hi @fredrik-dahlgren If you have CDRs expressing this already, the best way is to ingest them in HOMER with a Mapping and use them for searching - the SIP correlation would be automatic and so would the correlation.

@fredrik-dahlgren
Copy link
Author

I actually don't save the ringing time in CDRs and i'd prefer not to duplicate (quite a lot of) data into homer if possible.
But in any case, where can i find the documentation for correlating CDRs in Homer? I've added a correlation for X-CID according to this: https://github.com/sipcapture/homer/wiki/Custom-Header-Searching-and-Correlation but i'm not sure how to add and correlate other sources.

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