<div dir="ltr"><div>Actually I think something is not clear here. Suppose I want to use two Kamailio servers such that a client which is registered on server A is able to call another client registered on server B. In this case I use DB_MODE 3. Both servers have access to location database but sockets are non-local and cleints are behind symmetric NATs.Now  only the server on which the client is registered and sent it's request to is able to respond(because of symmetric NAT). Is it possible to implement this scenario using Path header?<br><br></div>Regards<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 12:55 PM, Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Feb 01, 2016 at 09:17:41AM +0100, Federico Cabiddu wrote:<br>
> a solution in this case could be making usage of Path header (<br>
> <a href="https://tools.ietf.org/html/rfc3327" rel="noreferrer" target="_blank">https://tools.ietf.org/html/rfc3327</a>).<br>
> You have to load the path module<br>
> <a href="http://www.kamailio.org/docs/modules/devel/modules/path.html" rel="noreferrer" target="_blank">http://www.kamailio.org/docs/modules/devel/modules/path.html</a><br>
> and enabled its usage in registrar module<br>
<br>
</span>Be warned that any stateful firewall or NATed client will not accept the<br>
messages from any other sipserver to that client. My solution was to use<br>
edge/loadbalancer proxies which add the Path header using<br>
add_path_received to store both the edge/loadbalancer ip and client<br>
source before passing the request to the backends (using dispatcher).<br>
<br>
Any backend will send messages based on the Path headers to the<br>
edge/loadbalancer and that will pass it to the client to appease<br>
statefull firewalls.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>