<div dir="ltr">Dear Alex<div>One server is for iphone users and one for android users, so technically speaking a user is registered to only one server at a time, apart from a few exceptions I guess.</div><div><br></div><div>

Please see my settings below :</div><div><br></div><div><div># ----- usrloc params -----</div><div>/* enable DB persistency for location entries */</div><div>#!ifdef WITH_USRLOCDB</div><div>modparam("usrloc", "timer_interval", 1)</div>

<div>modparam("usrloc", "db_url", DBURL)</div><div>modparam("usrloc", "db_mode", 2)</div><div>modparam("usrloc", "use_domain", MULTIDOMAIN)</div><div>#!endif</div>

<div><br></div></div><div><br></div><div>Thanks !</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 10, 2013 at 3:47 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 09/10/2013 08:45 AM, Ali Jawad wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
100% positive that both are using the same db_mode parameter for usrloc,<br>
and yes they both share the same database and table the only different<br>
table is the accounting table. Both kamailio servers work great and<br>
newly registered users through site can logon just fine to both  systems<br>
and make calls, it is this location table issue that is killing me as I<br>
have scripts that do various functions by accessing the location table.<br>
</blockquote>
<br></div>
What is the db_mode you are using, and what is the sync timer interval?  Is it possible that these servers are removing each others' contacts quite quickly when they get updated?<div class="HOEnZb"><div class="h5"><br>


<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
Tel: +1-678-954-0670<br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
<br>
______________________________<u></u>_________________<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" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font><font color="#888888"><b>Ali Jawad    <br></b></font></font><div><div><font><font color="#888888"><b>Information Systems Manager<br>

<font size="1">CISSP - PMP - ITIL V3 - RHCE - VCP - C|EH - CCNA - MCSA</font><br></b></font></font></div><div><font><font color="#888888"><b>Splendor Telecom <span style="background-color:rgb(255,255,255)">(</span><span style="background-color:rgb(51,51,255);color:rgb(51,102,255)"><a href="http://www.splendor.net/" target="_blank"><span style="background-color:rgb(255,255,255)"><font color="#3366ff">www.splendor.net</font></span></a></span><span style="background-color:rgb(255,255,255)">)</span><br>


Beirut, Lebanon<br>Phone: +9611373725/ext 116<br>FAX: +9611375554<br><br></b></font></font><div><div></div></div></div></div></div>
</div>