Hi Daniel & Adam,

First of all I would like to apologies for mess.

My set-up is working as it is with default settings, when 2 servers share same DB in case if our subscribers do not use NAT.

If subscribers are behind NAT, then in this case such set-up will not work, as described here:

http://kb.smartvox.co.uk/opensips/clustering-opensips-part-2/

Please check diagram under "Far-end NAT traversal on multi-homed or clustered servers".

I believe in my case solution will be only when I will have one more Kamailio in front of my servers and it will dispatch all request to 2 servers, in this case I will eliminate this NAT issue.

With kind regards,

Jurijs

2015-07-21 9:36 GMT+03:00 Adam Romanek <a.romanek@fibargroup.com>:
Hi Daniel,

Does this assume that both Kamailios are connected to the same MySQL database?

I must admit I don't understand how it should work. What's the background behind this technique with "path"?

Best regards,
Adam Romanek

On 20.07.2015 18:15, Daniel Tryba wrote:
On Monday 20 July 2015 17:11:38 Jurijs Ivolga wrote:
Could you please let me know where exactly I need to add path header? I'm
using default config, with almost no changes.
Just before the save() like in
http://lists.sip-router.org/pipermail/sr-users/2015-April/087872.html
 
Additionally it is little bit confusing about parameters what I should add.

Should I add following parameters to config file or not?

modparam("usrloc", "matching_mode", 1)
modparam("registrar", "use_path", 1)
modparam("usrloc", "matching_mode", 2)
modparam("registrar", "use_path", 1)
modparam("registrar", "path_mode", 1)




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users