[Asterisk-Users] SetCDRUserField actually works?

Ryan Tucker rtucker at netacc.net
Sun Apr 4 16:14:43 MST 2004


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





More information about the asterisk-users mailing list