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.

11 thoughts on “saving data into custom cdr field – add new filed in cdr

  • January 3, 2014 at 1:31 pm
    Permalink

    For mysql you need add into /etc/asterisk/cdr_mysql.conf

    [aliases]
    rec_name=rec_name

    If you HAVE aliases section, just add to it

    rec_name=rec_name

  • February 4, 2015 at 7:26 am
    Permalink

    Hey superb website! Does running a blog similar
    to this take a large amount of work? I’ve virtually no expertise in coding but I had been hoping to start my own blog soon.
    Anyway, should you have any suggestions or tips for new blog owners
    please share. I understand this is off topic however I simply had
    to ask. Cheers!

  • February 17, 2015 at 1:04 pm
    Permalink

    I am no longer sure the place you are getting your information, but great topic.
    I must spend a while studying more or working out more. Thank you for excellent info I
    used to be on the lookout for this info for my mission.

  • February 20, 2015 at 6:33 am
    Permalink

    Hi! This is my first comment here so I just wanted to give a quick shout out and tell you I really
    enjoy reading through your blog posts. Can you suggest any other
    blogs/websites/forums that deal with the same subjects?
    Thank you so much!

  • February 24, 2015 at 10:32 pm
    Permalink

    Hello I am so happy I found your webpage, I really found you by mistake, while I was looking on Yahoo for something else, Anyhow I am here now and would just like to say thanks
    a lot for a tremendous post and a all round interesting blog (I also love the theme/design), I don’t have time to read it all at the moment but I have bookmarked it and also included your RSS feeds, so when I have time I will be back
    to read more, Please do keep up the excellent work.

  • February 28, 2015 at 10:32 pm
    Permalink

    I really like your blog.. very nice colors & theme.
    Did you design this website yourself or did you hire someone to do it for you?
    Plz respond as I’m looking to create my own blog and would like
    to know where u got this from. appreciate it

  • Pingback: cvudjikpolitro

  • Pingback: Google

Leave a Reply