On Thursday 06 December 2007 10:39:47 Atis Lezdins wrote: > Mike wrote: > > 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? > > Won't work yet, not implemented for MySQL CDR engine. Maybe in 1.6. > > Only custom field you can use for now is CDR(userfield) and if you want > multiple values, you can separate them by something like #
Or you can use the cdr_adaptive_odbc backport for 1.4, found at http://svncommunity.digium.com/view/tilghman/branches/1.4/ -- Tilghman _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
