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 comments

  1. eduguru

    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

  2. how to delete google plus account on ipad

    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!

  3. antichrist trailer

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

  4. antler spray side effects

    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.

  5. Battle Camp Cheats

    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.

  6. 163.22.168.6

    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!

  7. antichrist trailer

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

  8. what is google authorship

    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.

  9. youronlinesildenafil.com

    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

  10. cvudjikpolitro

    Gems form the internet…

    […]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[…]……

  11. Google

    Google

    Here is a great Blog You might Find Intriguing that we encourage you to visit.

Leave a Reply