On Tuesday 22 March 2011 00:56:05 Nikhil wrote: > Hi all > In asterisk source code we can see lots of places > AST_CDR_FLAG_LOCKED flags is used.This is for CDR purpose. Does anyone > what is exact usage of this lock in CDR.If I remove this flags where it > will impact,any data overwrite will happen..?
Yes. The purpose of the lock is to force a record to become a snapshot at the time the record was locked. If you remove that flag, then almost any update to the CDR will overwrite the entire record with a new snapshot. -- Tilghman -- _____________________________________________________________________ -- 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
