[asterisk-users] How to add custom CDR fields to MySQL

Emanuele Carbone carbeman at gmail.com
Fri Mar 12 01:07:50 CST 2010


Hi,

i think that you should modify the cdr_addon_mysql module, otherwise you can
add it in the userfield.

2010/3/11 Alejandro Recarey <alexrecarey at gmail.com>

> Hi all,
>
> I've been trying to add a custom mysql field to my CDR's, but I must
> be doing something wrong.
>
> I am using asterisk 1.4 and asterisk 1.6, in extensions.conf I add:
>
> exten => h,1,Set(CDR(q931)=${HANGUPCAUSE})
>
> This extension is executed, I can see it in the asterisk console.
>
> I have added a new column in my MySQL database called q931. However,
> the new field does not show up in my database or in the Master.csv
> file.
>
> Any help would be greatly appreciated.
>
> Regards,
>
> Alex
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> 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/20100312/ff099c52/attachment.htm 


More information about the asterisk-users mailing list