sipcapture / homer-app

HOMER 7.x Front-End and API Server
http://sipcapture.io
GNU Affero General Public License v3.0
204 stars 79 forks source link

DB Limit #423

Closed snsh1n3 closed 3 years ago

snsh1n3 commented 3 years ago

Hi there, me again.

I'm looking for a way to put a limit in the database, for example 2 or 3 days. Any idea?

adubovikov commented 3 years ago

https://github.com/sipcapture/heplify-server/blob/master/example/homer7_config/heplify-server.toml#L31

snsh1n3 commented 3 years ago

https://github.com/sipcapture/heplify-server/blob/master/example/homer7_config/heplify-server.toml#L31

But I use captagent

lmangani commented 3 years ago

@JuanUnited the agents are not responsible for rotation, they only send data. the capture server receiving them is responsible for the database storage and rotation, so what you're looking for is built in on the other side of the circuit. Just read through the link and apply to your usecase.

snsh1n3 commented 3 years ago

@JuanUnited the agents are not responsible for rotation, they only send data. the capture server receiving them is responsible for the database storage and rotation, so what you're looking for is built in on the other side of the circuit. Just read through the link and apply to your usecase.

Understood, thank you