On Tue, Sep 11, 2012 at 8:22 AM, Krishna Kurapati <kkurapat@gmail.com> wrote:
Hi,

We have been using homer for some time. The logging is stopping once
the disk is full, which make sense.
However, it would nice if either kamailio or homer has an option to
auto-truncate the siptrace database tables once
they grow large. Is there such a feature?

Regards.
Krishn Kura


Homer provides a script partrotate_unixtimestamp.pl that manages rotating the tables and keeping X days logs available, it's a good starting place and you should be able to extend it to consider available diskspace.

http://code.google.com/p/homer/source/browse/scripts/partrotate_unixtimestamp.pl

Robin