[asterisk-users] peer IP address in CDR

Zeeshan Zakaria zishanov at gmail.com
Tue Jun 29 08:53:14 CDT 2010


Hi,

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:

Set(CDR(userfield)="user IP address")

And this will automatically add this information into the userfield column.

Do you already have script to capture user's IP address? If not, check it
here how I am capturing it:

http://www.ilovetovoip.com/2010/05/getting-users-ip-address-remaining-within-the-dialplan

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-29 8:20 AM, "Faisal Hanif" <faisal at vopium.com> wrote:

 Simply set it to costume field of cdrs in dialplan and you will have it a
part of native cdr
 Regards,

*Faisal Hanif*

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100629/1f3544d5/attachment.htm 


More information about the asterisk-users mailing list