Hi David,

Column 'dst_domain' = $rd logs the destination, except that if $rd is a FQDN and you wanted specifically IP address, you might need to use IPOPS module to lookup the hostname's IP address.

https://kamailio.org/docs/modules/5.1.x/modules/ipops.html#ipops.f.dns_query

Store the result in a variable and log its value using ACC's extra accounting.

https://kamailio.org/docs/modules/5.1.x/modules/acc.html#acc.i.extra-accounting

Cheers!

On Fri, Jun 1, 2018 at 1:27 PM, David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello guys,

I setup the CDRs according to the instructions on https://kb.asipto.com/siremis:install40x:accounting
I get CDRs nicely, but the cdrs, even though they have a src_ip, there's no dest_ip, I mean I need the IP where the call was forwarded to...

What do i need to do to get that in the cdr?

Thanks!

David Villasmil
phone: +34669448337

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users