[asterisk-users] peer IP address in CDR

Gareth Blades list-asterisk at skycomuk.com
Tue Jun 29 09:14:38 CDT 2010


Remco Bressers wrote:
> Hi,
> 
> The subject says it all. Is it possible to put the IP address of the
> peer in the CDR records? Using AGI maybe?
> 

Yes you can either put the information in the userfield if you are using 
a plain text file.

If you are storing to a mysql table for example then you can create 
additional columns and write whatever information you want to them. See 
http://www.voip-info.org/wiki/view/Asterisk+cdr+mysql for an example of 
how to do this.



More information about the asterisk-users mailing list