[SR-Users] CDRs

Sergiu Pojoga pojogas at gmail.com
Sat Jun 2 18:07:36 CEST 2018


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 at 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
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180602/dab957d7/attachment.html>


More information about the sr-users mailing list