saving data into custom cdr field – add new filed in cdr

I created custom field “rec_name” id table “cdr”, database “asteriskcdrdb”. In this field I want to store recording name. I know i should do it by adding this line in one of .conf files, but where?

exten => s,1,set(CDR(rec_name)=${CALLFILENAME})

I can do it by sql statement, too, but i don’t know where is the file that saves details of call into database.

Help me, please, I’ll by grateful.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: