Show ip on cdr-csv master

Friends, I configured cdr.conf to generate Master.csv with the parameters below:

[csv]
usegmtime=no
loguniqueid=yes
loguserfield=yes

And it correctly displays the information. I would like to know if there is any variable that can include the IP of the extension used at the time of the call?
Thanks

No, but you can indirectly query it’s current ip with

rasterisk -x   'sip show peer nnnn':grep Addr

The problem is that I needed this information to be stored for 1 year, if 3 months ago I needed to check who made the call to the number, master.csv would already give me all the complete information with the IP of the extension used at the time of the call , on the freeswitch it already shows on the master with the ip, but on asterisk I don’t know if there is a way to do it?

With cdr-csv you have to basically work with

http://asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/asterisk-SysAdmin-SECT-1.html

but contemporaneously you could add the current IP after querying for it in a customfield as that link shows