[Serusers] flatstore log rotation question

Jan Janak jan at iptel.org
Tue Oct 26 23:32:27 CEST 2004


1) Rename the files
2) Tell ser to rotate them (serctl fifo flat_rotate) (it will close the
   renamed files and create new ones with the original name)
3) Move/process the renamed files.

  Jan.

On 19-10 07:33, Java Rockx wrote:
> Hi All.
> 
> I'm using ser-0.8.99-dev10 with flatstore.so.
> 
> Can anyone tell me how to determine when a flatstore log file will no longer be
> written to? 
> 
> The reason I ask is that I need to move these flatstore files periodically to
> my billing system and I need to make sure that I don't interfere with flatstore
> when doing so. I also need to make sure I remove CDRs that I've already sent to
> my billing server.
> 
> So for example, I want to grab all CDRs every hour - on the hour. So I would
> copy the previous hour's call records to my billing server. Then I would delete
> these calls from the ser flatstore directory to avoid getting duplicate CDRs in
> my billing system. How can I achieve this?
> 
> I'm very unclear on how flatstore.so decides to rotate logs.
> 
> Regards,
> Paul
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list