<p>Hi,</p>
<p>There is usually an empty column in the cdr table named 'userfield'. You can also add a column of your own. Then in the dialplan use:</p>
<p>Set(CDR(userfield)="user IP address")</p>
<p>And this will automatically add this information into the userfield column.</p>
<p>Do you already have script to capture user's IP address? If not, check it here how I am capturing it:</p>
<p><a href="http://www.ilovetovoip.com/2010/05/getting-users-ip-address-remaining-within-the-dialplan">http://www.ilovetovoip.com/2010/05/getting-users-ip-address-remaining-within-the-dialplan</a><br></p>
<p>Zeeshan A Zakaria</p>
<p>--<br>
<a href="http://www.ilovetovoip.com">www.ilovetovoip.com</a></p>
<p><blockquote type="cite">On 2010-06-29 8:20 AM, "Faisal Hanif" <<a href="mailto:faisal@vopium.com">faisal@vopium.com</a>> wrote:<br><br>
<div bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Simply set it to costume field
of cdrs in dialplan and you will have it a part of native cdr </font></font><br>
<div><font color="#000000" face="Verdana" size="2">
Regards,<br><font color="#888888">
<br>
<b>Faisal Hanif</b></font></font></div>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></p>