Custom CDR fields

Hey,

I’m currently using mysql_cdr module for my CDR stats. I’m thinking of switching to mysql through ODBC instead.

Anyway, I would like to write my own custom CDR field… The QUEUE_MIN_PENALTY value when a user finishes the call. I’m sure this is possible but not really sure how to go about it.

Could someone tell me how to add custom cdr fields for either mysql or odbc cdr modules.

Thanks :smile:

You can use the userfield in the database to add your own data there
the userfield in cdr_mysql is a field where the user can add his own stuff. Rename the field to what ever u want. I hope u get the idea ! :smile:


Sameer

Hey,

Yeh I know about the userfield. Unfortunatly, I need more than one field so I want userfield1, userfield2 etc.