<div dir="ltr">Hi,<br>Can you share the config file. Seems you've made changes to configuration file. Using save("location") w/o any authentication above it will result in anyone getting 200OK for a REGISTER. <div><br></div><div>Looking at the config will help point you to the right way.</div><div><br></div><div>Regards,</div><div>Sammy</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 5, 2017 at 10:56 AM, Iskren Hadzhinedev <span dir="ltr"><<a href="mailto:iskren.hadzhinedev@ikiji.com" target="_blank">iskren.hadzhinedev@ikiji.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list!<br>
<br>
I'm using kamailio 4.2 for load-balancing and failover via dispatcher, but I'm having some NAT related issues and I was hoping that someone might point me in the right direction.<br>
My setup is the following:<br>
<br>
PSTN - PBX - kamailio - NAT - client<br>
<br>
Calls from the NATed client to PSTN and/or PBX features (e.g. voicemail) work just fine.<br>
However, when a call comes from PSTN to the client, kamailio sends the INVITE to the client's RFC1918 IP and I can't figure out how to send it to the correct destination. I tried loading the registrar and usrloc modules and used save("location") during REGISTER and lookup("location") just before loose_route(), but the end result was that kamailio replied to REGISTERs with any username/password with a 200 OK and the endpoints never registered with the PBX.<br>
I can attach the config file if that will help.<br>
<br>
Thanks for all input in advance!<br>
<br>
Regards,<br>
Iskren<br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>