On Tue, 13 Apr 2010, Ricardo Coelho wrote:

> Does asterisk keeps the master.csv open between writes? Right now I have 
> 2 asterisk nodes sharing every configuration file (by using a 
> distributed filesystem) except the master.csv files. If asterisk does 
> not keep master.csv file open between writes, then I can share the 
> master.csv file between both nodes right?If not, then any suggestions to 
> merge both master.csv files?

It is not worth the effort to find out if Asterisk closes the file -- it's 
a major league bad idea.

At some point, you will discover a race condition at the application, 
network daemon, file system, or OS level.

Dumping the CDRs into a database is a much better idea. The benefits go 
way beyond concurrency.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to