On Mon, 5 Apr 2004, Leo Ann Boon wrote:> I'm trying to add custom billing info into the CDR records. I did a
> SetCDRUserField from my agi. Asterisk seems to acknowledge the call, but
> the value is not anywhere in the CDR record. I checked the CSV and Mysql
> CDR table. The field is always blank.
>
> Anyone had any success with this?
I don't have recent source near me, but in cdr/cdr_csv.c, there's a
commented-out #define amongst the #includes. It's CDR_LOGUSERFIELD or
something along the lines of that. Uncomment that and recompile.
Mileage with MySQL may vary. -rt