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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers