<div dir="ltr"><div><div><div>Hi Daniel & Adam,<br><br></div>First of all I would like to apologies for mess.<br><br></div>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.<br><br></div><div>If subscribers are behind NAT, then in this case such set-up will not work, as described here:<br><br><a href="http://kb.smartvox.co.uk/opensips/clustering-opensips-part-2/">http://kb.smartvox.co.uk/opensips/clustering-opensips-part-2/</a><br><br></div><div>Please check diagram under "Far-end NAT traversal on multi-homed or clustered servers".<br><br></div><div>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.<br><br></div><div>With kind regards,<br><br></div><div>Jurijs<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-21 9:36 GMT+03:00 Adam Romanek <span dir="ltr"><<a href="mailto:a.romanek@fibargroup.com" target="_blank">a.romanek@fibargroup.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Daniel,<br>
<br>
Does this assume that both Kamailios are connected to the same MySQL database?<br>
<br>
I must admit I don't understand how it should work. What's the background behind this technique with "path"?<br>
<br>
Best regards,<br>
Adam Romanek<br>
<br>
On 20.07.2015 18:15, Daniel Tryba wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Monday 20 July 2015 17:11:38 Jurijs Ivolga wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Could you please let me know where exactly I need to add path header? I'm<br>
using default config, with almost no changes.<br>
</blockquote>
Just before the save() like in<br>
<a href="http://lists.sip-router.org/pipermail/sr-users/2015-April/087872.html" rel="noreferrer" target="_blank">http://lists.sip-router.org/pipermail/sr-users/2015-April/087872.html</a><br>
  <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Additionally it is little bit confusing about parameters what I should add.<br>
<br>
Should I add following parameters to config file or not?<br>
<br>
modparam("usrloc", "matching_mode", 1)<br>
modparam("registrar", "use_path", 1)<br>
</blockquote>
modparam("usrloc", "matching_mode", 2)<br>
modparam("registrar", "use_path", 1)<br>
modparam("registrar", "path_mode", 1)<br>
<br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">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>
</blockquote></div><br></div>