[asterisk-users] Adding custom fields (more than one) to CDR DB

Matt Riddell (IT) matt.riddell at sineapps.com
Tue Sep 5 14:59:21 MST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steven Ringwald wrote:
> Mike wrote:
>> Hi all,
>>  
>> I just found out how to set the column userfield, in the CDR DB to
>> whatever I desired.  Can I add multiple custom columns to the DB and
>> fill them from the dialplan, or is it limited to one column?
>>  
>> I am using Asterisk 1.2.4 and MYSQL for the CDR DB.
> 
> 
> As far as I know, it is just userfield.

Although, it's not impossible to do if you edit the C file for cdr_mysql.

Don't forget to post patches back though!

- --
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://wap.sineapps.com (Daily Asterisk News for your cellphone)
http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE/fM4S6d5vy0jeVcRApDOAJ94SJwR7jR4zG8Mg7U/Mz4ualBk7wCdF3xP
1WgX9AjUnKCRBGAFyCjIad8=
=RX/l
-----END PGP SIGNATURE-----


More information about the asterisk-users mailing list