<div>I don't believe there is any quick & simple way of doing this. </div>
<div>You would need to add the column in the DB and modify cdr.c.</div>
<div> </div>
<div>I'm sure someone out there has a "step by step" doc on how to do this. You may try the #asterisk channel on irc.</div>
<div> </div>
<div>bp<br><br> </div>
<div><span class="gmail_quote">On 10/19/06, <b class="gmail_sendername">unplug</b> <<a href="mailto:maillisting@gmail.com">maillisting@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Thanks!!<br>Just one more question. Can I do the same "add fieldname=1" if I add<br>a field "fieldname" in the cdr table to perform the same action?
<br><br>On 10/19/06, William Piper <<a href="mailto:william.piper@gmail.com">william.piper@gmail.com</a>> wrote:<br>> In cdr_mysql.conf add "userfield=1" under the globals setting.<br>><br>> bp<br>
><br>><br>> On 10/18/06, unplug <<a href="mailto:maillisting@gmail.com">maillisting@gmail.com</a>> wrote:<br>> ><br>> > I want to set some custom data in the field of userfield in table CDR<br>> > as following.
<br>> > exten => s,19,Set(CDR(userfield)=1234)<br>> > exten => s,20,Dial(SIP/1234)<br>> ><br>> > However, the userfield doesn't get update after making the call.<br>> > After that, I relocate the command as following.
<br>> ><br>> > exten => s,19,Dial(SIP/1234)<br>> > exten => s,20,Set(CDR(userfield)=1234)<br>> ><br>> > The userfield doens't get update at all. I don't know why the field<br>> > can't update after issuing the command. Anyone can help?
<br>> > _______________________________________________<br>> > --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>> ><br>> > asterisk-users mailing list<br>
> > To UNSUBSCRIBE or update options visit:<br>> ><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> ><br>><br>
><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:
<br>><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>><br>><br>_______________________________________________<br>
--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>