<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<tt>Hey Pete,<br>
<br>
If you do an xlog on $fs after the lookup, what do you see there ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 6/16/20 4:37 PM, Pete Kelly wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEWH9M9XCYO1i0gkChRakJQPQx=+dFtCczgn1AJ_ANmO4JBjsQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi
<div><br>
</div>
<div>I am running a Registrar in a natted location (AWS) which
is currently accessed via a tls socket.</div>
<div><br>
</div>
<div>The listen parameter for the tls socket uses an alias to
set the publicly advertised address, along the lines of:</div>
<div><br>
</div>
<div>listen=tls:<a href="http://172.3.4.5:5061"
moz-do-not-send="true">172.3.4.5:5061</a> AS tls:<a
href="http://99.88.77.66:5061" moz-do-not-send="true">99.88.77.66:5061</a></div>
<div><br>
</div>
<div>however this public alias is also being set as the Socket
when the AOR is stored in the usrloc module.</div>
<div><br>
</div>
<div> "Socket": "tls:<a href="http://99.88.77.66:5061"
moz-do-not-send="true">99.88.77.66:5061</a>"<br>
</div>
<div><br>
</div>
<div>When I then do a lookup() on a registered user, it is
failing to route as I believe the socket is being set to the
public alias. It was working fine when there was no TLS
involved.</div>
<div><br>
</div>
<div>Is there an obvious way I can try to fix this? (I've tried
using force_send_socket(tls:<a href="http://172.3.4.5:5061"
moz-do-not-send="true">172.3.4.5:5061</a>) after the lookup,
but that isn't helping either)</div>
<div><br>
</div>
<div>Pete</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>