<div dir="ltr">Hi David,<div><br></div><div>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.<div><br></div><div><a href="https://kamailio.org/docs/modules/5.1.x/modules/ipops.html#ipops.f.dns_query">https://kamailio.org/docs/modules/5.1.x/modules/ipops.html#ipops.f.dns_query</a><br></div><div><br></div><div>Store the result in a variable and log its value using ACC's extra accounting.</div><div><br></div><div><a href="https://kamailio.org/docs/modules/5.1.x/modules/acc.html#acc.i.extra-accounting">https://kamailio.org/docs/modules/5.1.x/modules/acc.html#acc.i.extra-accounting</a></div><div><br></div><div>Cheers!</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 1, 2018 at 1:27 PM, David Villasmil <span dir="ltr"><<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello guys,</div><div><br></div><div>I setup the CDRs according to the instructions on <a href="https://kb.asipto.com/siremis:install40x:accounting" target="_blank">https://kb.asipto.com/<wbr>siremis:install40x:accounting</a></div><div>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...</div><div><br></div><div>What do i need to do to get that in the cdr?</div><br clear="all"><div><div class="m_1599530718121128724gmail_signature"><div dir="ltr"><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></font></span></div></div></div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=e3d67913-a967-418e-90d7-086aaf69edbf"><font color="#ffffff" size="1">ᐧ</font></div>
</font></span><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>