Displaying 2 results from an estimated 2 matches for "myfavoritesong".
2007 Dec 06
3
Setting custom field in CDR
...Asterisk+func+cdr) mentions I can set any
custom CDR field I want. Here is the example it gives:
; Update our accountcode field and then save some random music facts too
exten => s,1,Set(CDR(accountcode)=8675309)
exten => s,2,Set(CDR(MyFavoriteBand)=Foo Fighters)
exten => s,3,Set(CDR(MyFavoriteSong)=Hero)
I am using CDR on MySQL. I tried this, with a new colum called
MyFavoriteSong. Guess what? That field wasn`t populated at all.
Anything else I should be doing?
Mick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/as...
2007 Jun 07
1
custom cdr fields and cdr_mysql, howto?
Hi All,
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+cdr
Under example:
exten => s,2,Set(CDR(MyFavoriteBand)=Foo Fighters)
exten => s,3,Set(CDR(MyFavoriteSong)=Hero)
and under description:
-userfield: The channel's user specified field.
""-any custom value that you wish to store.""
My question is how do you setup more custom fields in the cdr and be
able to write to them through cdr_addon_mysql.so? I know how to add
columns to...