[asterisk-users] write some custom values to CDR table

Tomás Laureano Peralta Tormey tomas.laureano.peralta.tormey at gmail.com
Tue Jun 12 07:44:11 CDT 2007


Ricardo:
By default, the module cdr_addon_mysql doesn't store the userfield in the
table. You should configure this option by adding to the configuration file
cdr_mysql.conf the next line:
 userfield=1

Hope this helps.
Tomás.

2007/6/12, rjcarvalho at reit.up.pt <rjcarvalho at reit.up.pt>:
>
> Hi,
>
> I write the CDR of my Asterisk 1.2.17 server in MySQL database using
> cdr_addon_mysql.so.
>
> Now I'm trying to write some custom values to userfield column by the *
> Set(CDR(userfiled)=some_text)* sintax, but nothing gets writeen in MySQL
> cdr table!!
>
> Why? I'm I skeeping something or what?
>
> Taking a look at the URL:
> http://www.voip-info.org/wiki/index.php?page=Asterisk+func+cdr
> it seems to be this, the purpose of this *Set(CDR(<name>))* sintax,
> right?!
>
> Regards,
> Ricardo.
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070612/b7bb9c8c/attachment.htm


More information about the asterisk-users mailing list