Right here: https://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#rai_-_received_advertised_ip_address
Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 6, 2020 at 12:08 PM Mark Farmer <farm...@gmail.com> wrote: > Many thanks for the reply. > > $Ri is certainly useful when the request comes from a non-natted > interface. Thanks for pointing that out :) > > Is there a way to reference the advertised IP address defined in the > listen statement? > > listen=udp:xxx.xxx.xxx.xxx:5060 as xxx.xxx.xxx.xxx:5060 > > Thanks > Mark. > > > On Thu, 2 Apr 2020 at 17:32, Sharad Kumar via Users < > users@lists.opensips.org> wrote: > >> Hi Mark, >> >> If your initial goal is to get the interface IP where request is >> received then you can try these variables. >> >> *$Ri* - reference to IP address of the interface where the request has >> been received >> >> *$Rp* - reference to the port where the message was received >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > > -- > Mark Farmer > farm...@gmail.com > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users