It should be 3 in your case.<div><br></div><div>Regards,</div><div>Ali Pey</div><div><br><br><div class="gmail_quote">On Wed, Sep 5, 2012 at 10:15 AM, 張鴻憲 <span dir="ltr"><<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Dear Ali</div><div> </div><div>My db mode setting:</div><div>modparam("usrloc", "db_mode", 1)</div>
<div> </div><div>Thanks for your support</div><span class="HOEnZb"><font color="#888888"><div>Nick<br><br></div></font></span><div class="HOEnZb"><div class="h5"><div class="gmail_quote">2012/9/5 Ali Pey <span dir="ltr"><<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>></span><br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Re-evaluate your db mode setting:<div><br></div><div><a href="http://www.opensips.org/html/docs/modules/1.8.x/usrloc.html#id293049" target="_blank">http://www.opensips.org/html/docs/modules/1.8.x/usrloc.html#id293049</a> </div>
<div><br></div>
<div>Regards,</div><div>Ali Pey<br><br><br><div class="gmail_quote"><div><div>On Wed, Sep 5, 2012 at 3:44 AM, Nick Chang <span dir="ltr"><<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>></span> wrote:<br>
</div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div><div>
<div lang="ZH-TW" vlink="purple" link="blue"><div><p class="MsoNormal"><span lang="EN-US">Hello<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I have two opensips server.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">User A </span><span style="font-family:Wingdings" lang="EN-US">à</span><span lang="EN-US">register</span><span style="font-family:Wingdings" lang="EN-US">à</span><span lang="EN-US"> Opensips A<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">User B </span><span style="font-family:Wingdings" lang="EN-US">à</span><span lang="EN-US">register</span><span style="font-family:Wingdings" lang="EN-US">à</span><span lang="EN-US"> Opensips B<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Two User used the same domain, may be <a href="http://aaa.com" target="_blank">aaa.com</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">When I input “opensipsctl online”<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I can see UserA on the Opensips A, UserB on the OpensipsB.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">But When UserA call to UserB. It’s failed. It tell me “user not register”.<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I have check MySQL table “ location”<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Two user both on the location.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">If I restart OpensipsB.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Then, I input “opensipsctl online”<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I can see UserA and UserB is online.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">But in the OpensipsA.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Only UserA online.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I guess, it have cache it.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Have to solve this problem??<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks for your support.<span><font color="#888888"><u></u><u></u></font></span></span></p>
<span><font color="#888888"><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Nick<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></font></span></div></div><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>