<div dir="ltr"><div dir="ltr">Many thanks for the reply.<br><div><br></div><div>$Ri is certainly useful when the request comes from a non-natted interface. Thanks for pointing that out :)</div><div><br></div><div>Is there a way to reference the advertised IP address defined in the listen statement?</div><div><br></div><div>listen=udp:xxx.xxx.xxx.xxx:5060 as xxx.xxx.xxx.xxx:5060<br></div><div><br></div><div>Thanks</div><div>Mark.</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 2 Apr 2020 at 17:32, Sharad Kumar via Users <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
  

    
  
  <div>
    <p>Hi Mark, <br>
    </p>
    <p> If your initial goal is to get the interface IP where request is
      received then you can try these variables.<br>
    </p>
    <p><strong>$Ri</strong> - reference to IP address of the interface
      where the request has been received
    </p>
    <p><strong>$Rp</strong> - reference to the port where the message
      was received <br>
    </p>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>