<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=593103515-06122007><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=593103515-06122007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=593103515-06122007><FONT face=Arial size=2>The Asterisk Wiki
(page: <A
href="http://www.voip-info.org/wiki/view/Asterisk+func+cdr">http://www.voip-info.org/wiki/view/Asterisk+func+cdr</A>)
mentions I can set any custom CDR field I want. Here is the example it
gives:</FONT></SPAN></DIV>
<DIV><SPAN class=593103515-06122007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=593103515-06122007><FONT size=2><SPAN
style="FONT-FAMILY: monospace">; Update our accountcode field and then save some random music facts too
</SPAN><BR><SPAN
style="FONT-FAMILY: monospace">exten => s,1,Set(CDR(accountcode)=8675309)
</SPAN><BR><SPAN
style="FONT-FAMILY: monospace">exten => s,2,Set(CDR(MyFavoriteBand)=Foo Fighters)
</SPAN><BR><SPAN
style="FONT-FAMILY: monospace">exten => s,3,Set(CDR(MyFavoriteSong)=Hero)
</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=593103515-06122007><FONT size=2><SPAN
style="FONT-FAMILY: monospace"></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=593103515-06122007><FONT size=2><SPAN
style="FONT-FAMILY: monospace">I am using CDR on MySQL. I tried this, with
a new colum called MyFavoriteSong. Guess what? That field wasn`t
populated at all.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=593103515-06122007><FONT size=2><SPAN
style="FONT-FAMILY: monospace"></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=593103515-06122007><FONT size=2><SPAN
style="FONT-FAMILY: monospace">Anything else I should be doing?</SPAN></DIV>
<DIV><BR></DIV></FONT></SPAN>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=593103515-06122007><FONT face=Arial
size=2>Mick</FONT></SPAN></DIV></BODY></HTML>