Friends, I configured cdr.conf to generate Master.csv with the parameters below:
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?
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
but contemporaneously you could add the current IP after querying for it in a customfield as that link shows