[OpenSIPS-Users] CDRTool - Purge Mediaproxy's media_sessions records

Adrian Georgescu ag at ag-projects.com
Tue Nov 6 09:53:18 CET 2012


There is no automatic purge mechanism in place, you can easily script a cron job to purge them using a mysql query.

Adrian


On Nov 5, 2012, at 11:27 PM, Duane Larson wrote:

> I have a good amount of rows in my "media_sessions" table and was curious how these fields get purged.  I see that with sip_trace you can do "purgeRecordsAfter"  => "7".  Is this possible with media_trace or does media_trace depend on the "purgeCDRsAfter" setting that you configure for your "opensips_radius" datasource? _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list