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

Alejandro Recarey alexrecarey at gmail.com
Thu Mar 11 00:16:30 CST 2010


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



More information about the asterisk-users mailing list