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.

10 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

    Reply
  • 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!

    Reply
  • February 10, 2015 at 4:19 am
    Permalink

    This piece of writing gives clear idea designed for the new viewers of blogging,
    that actually how to do running a blog.

    Reply
  • February 17, 2015 at 8:31 am
    Permalink

    I all the time used to read paragraph in news papers but
    now as I am a user of net thus from now I am using net for articles or reviews, thanks to web.

    Reply
  • 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.

    Reply
  • 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!

    Reply
  • February 21, 2015 at 12:31 am
    Permalink

    Hi there to every body, it’s my first visit of
    this weblog; this website contains amazing and in fact good information for
    visitors.

    Reply
  • 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.

    Reply
  • 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

    Reply
  • Pingback: cvudjikpolitro

Leave a Reply

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

%d bloggers like this: