<div dir="ltr">Will do but the issue is that the contacts are not added to start with, but will try 3 </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 10, 2013 at 4:12 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">That may not stop the other server from deleting its contacts.  Try using db_mode 3.<div class="im"><br>
<br>
On 09/10/2013 08:53 AM, Ali Jawad wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Dear Alex<br>
One server is for iphone users and one for android users, so technically<br>
speaking a user is registered to only one server at a time, apart from a<br>
few exceptions I guess.<br>
<br>
Please see my settings below :<br>
<br>
# ----- usrloc params -----<br>
/* enable DB persistency for location entries */<br>
#!ifdef WITH_USRLOCDB<br>
modparam("usrloc", "timer_interval", 1)<br>
modparam("usrloc", "db_url", DBURL)<br>
modparam("usrloc", "db_mode", 2)<br>
modparam("usrloc", "use_domain", MULTIDOMAIN)<br>
#!endif<br>
<br>
<br>
Thanks !<br>
<br>
<br>
On Tue, Sep 10, 2013 at 3:47 PM, Alex Balashov<br></div><div><div class="h5">
<<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a> <mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.<u></u>com</a>>> wrote:<br>
<br>
    On 09/10/2013 08:45 AM, Ali Jawad wrote:<br>
<br>
        100% positive that both are using the same db_mode parameter for<br>
        usrloc,<br>
        and yes they both share the same database and table the only<br>
        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<br>
          systems<br>
        and make calls, it is this location table issue that is killing<br>
        me as I<br>
        have scripts that do various functions by accessing the location<br>
        table.<br>
<br>
<br>
    What is the db_mode you are using, and what is the sync timer<br>
    interval?  Is it possible that these servers are removing each<br>
    others' contacts quite quickly when they get updated?<br>
<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></div></div>
    ______________________________<u></u>___________________<div class="im"><br>
    SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br></div>
    <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a> <mailto:<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-<u></u>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>
    <<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>
<br>
<br>
<br>
<br>
--<br>
*Ali Jawad<br>
*<br>
*Information Systems Manager<div class="im"><br>
CISSP - PMP - ITIL V3 - RHCE - VCP - C|EH - CCNA - MCSA<br></div>
*<br>
*Splendor Telecom (<a href="http://www.splendor.net" target="_blank">www.splendor.net</a> <<a href="http://www.splendor.net/" target="_blank">http://www.splendor.net/</a>>)<div class="im"><br>
Beirut, Lebanon<br>
Phone: +9611373725/ext 116<br>
FAX: +9611375554<br>
<br></div><div class="im">
*<br>
<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>
<br>
</div></blockquote><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>