[asterisk-users] Setting custom field in CDR

Steve Edwards asterisk.org at sedwards.com
Thu Dec 6 11:06:14 CST 2007


On Thu, 6 Dec 2007, Atis Lezdins wrote:

> Only custom field you can use for now is CDR(userfield) and if you want
> multiple values, you can separate them by something like #

Adding multiple fields using userfield is a major hack that will 
repeatedly bite you for years.

cdr_addon_mysql.c in the Asterisk addons package works great. It will take 
a minor bit of C skills to cut and paste to add new columns.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list