[SR-Users] Kamailio Cluster

Gholamreza Sabery gr.sabery at gmail.com
Wed Feb 3 11:18:50 CET 2016


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?

Regards

On Wed, Feb 3, 2016 at 12:55 PM, Daniel Tryba <d.tryba at pocos.nl> wrote:

> On Mon, Feb 01, 2016 at 09:17:41AM +0100, Federico Cabiddu wrote:
> > a solution in this case could be making usage of Path header (
> > https://tools.ietf.org/html/rfc3327).
> > You have to load the path module
> > http://www.kamailio.org/docs/modules/devel/modules/path.html
> > and enabled its usage in registrar module
>
> Be warned that any stateful firewall or NATed client will not accept the
> messages from any other sipserver to that client. My solution was to use
> edge/loadbalancer proxies which add the Path header using
> add_path_received to store both the edge/loadbalancer ip and client
> source before passing the request to the backends (using dispatcher).
>
> Any backend will send messages based on the Path headers to the
> edge/loadbalancer and that will pass it to the client to appease
> statefull firewalls.
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160203/f232a3b6/attachment.html>


More information about the sr-users mailing list