Hi,
If you have following:
UA A ====> Kamilio 1
UA B ====> Kamailio 2
With path you just make sure that all calls are routed to that server where
UA initially registered.
So if UA A is calling UA B, call will go in such way: UA A=> Kamilio 1 =>
Kamailio 2 => UA B.
I hope I answered your question.
With kind regards,
2016-02-03 12:18 GMT+02:00 Gholamreza Sabery <gr.sabery(a)gmail.com>om>:
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(a)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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users