[asterisk-users] Setting custom field in CDR

Mike list at virtutel.ca
Thu Dec 6 09:37:33 CST 2007


Hi,
 
The Asterisk Wiki (page:
http://www.voip-info.org/wiki/view/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/asterisk-users/attachments/20071206/9427c4c6/attachment.htm 


More information about the asterisk-users mailing list