[SR-Users] logging destination IP and proto on reponse

Sergiu Pojoga pojogas at gmail.com
Thu Jan 3 02:01:06 CET 2019


$sel(via[2].host) should give the 'destination' of the reply, provided that
the original request wasn't from behind NAT and one single proxy in between
UAs.

Don't take my answer for granted, as I don't think it's complete and/or
accurate.


On Wed, Jan 2, 2019 at 5:11 PM Andrew Chen <achen at fuze.com> wrote:

> Hey all,
>
> Any way to log destination IP and proto of SIP responses?  I'd tried to
> use majority of the pseudovars, but they all just return <null>.
>
> Thanks.
>
> --
> Andy Chen
> achen@ <achen at thinkingphones.com>fuze.com
>
>
> *Confidentiality Notice: The information contained in this e-mail and any
> attachments may be confidential. If you are not an intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> e-mail is strictly prohibited. If you have received this e-mail in error,
> please notify the sender and permanently delete the e-mail and any
> attachments immediately. You should not retain, copy or use this e-mail or
> any attachment for any purpose, nor disclose all or any part of the
> contents to any other person. Thank you.*
> _______________________________________________
> 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/20190102/ad12f595/attachment.html>


More information about the sr-users mailing list