On Tue, 6 Apr 2004, Leo Ann Boon wrote:

> I've looked into cdr_csv.c, cdr_pgsql.c, cdr_addon_mysql.c from 0.7.2. 
> So far, only cdr_csv has it as a #define.  The others all support 
> userfield by default.
> 
> One other observation, cdr->uniqueid is the only field that's controlled 
> via #define in all the 3 cdr modules. By default uniqueid is not logged, 
> which I find is counter-intuitive.
> 
> Any cdr guru out there care to enlighten everyone?

uniqueid was added long after the original cdr code was released, so it
was added as a define to explicitly enable it.  At some point it might end
up enabled by default, but being backwards compatible by default is a good
thing.

James

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to