<!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.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I do it in AGI...don't use the asterisk CDR table
for anything...make your own table and write whatever you want in it via
AGI.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=william.piper@gmail.com href="mailto:william.piper@gmail.com">William
Piper</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 24, 2006 4:40 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [asterisk-users] create custom
cdr's</DIV>
<DIV><BR></DIV>
<DIV>List,</DIV>
<DIV> </DIV>
<DIV>I'd like to create custom cdr columns in the database.</DIV>
<DIV> </DIV>
<DIV>Here is what I'm trying to do:</DIV>
<DIV>exten => s,2,Set(CDR(ipaddress)=${ipaddress})<BR> </DIV>
<DIV>
<DIV>I'm able to get the ipaddress and set it to a variable but
I'm not sure how to record the IP address to the CDR's. I know
it has something to do with cdr_custom.conf but I'm not sure how to put it all
together. </DIV>
<DIV> </DIV>
<DIV>FYI, I don't have cdr_custom.conf, is it something that was supposed to
be installed with asterisk?</DIV>
<DIV>FYI2, I'm using ver <A href="http://1.2.7.1">1.2.7.1</A></DIV>
<DIV> </DIV>
<DIV>I know this is possible but I'd love it if someone could give me step by
step directions on how to set it up or point me to a website that show
this.</DIV>
<DIV> </DIV>
<DIV>Thanks for the help,</DIV>
<DIV> </DIV>
<DIV>bp</DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users<BR>
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date:
7/24/2006<BR></BLOCKQUOTE></BODY></HTML>