[asterisk-users] peer IP address in CDR

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


Remco Bressers wrote:
> Hi,
> 
> Sorry, but i forgot to notice that i am already using the 'userfield'
> column so that's not a possibility. Is there any way i can add the IP
> address to a custom MySQL field in CDR? With AGI possibly? The problem
> is, that the CDR entry is written in MySQL when the call is hungup, so i
> have no possibility to write the IP address after a call.
> 
> Regards,
> 
> Remco
> 

See my earlier post. You can certenly write the information after the 
call is hung up by using the 'h' extension. I do this myself to write 
the calculated call cost to a custom column in the mysql table.



More information about the asterisk-users mailing list