[SR-Users] Location table issue

Alex Balashov abalashov at evaristesys.com
Tue Sep 10 15:12:18 CEST 2013


That may not stop the other server from deleting its contacts.  Try 
using db_mode 3.

On 09/10/2013 08:53 AM, Ali Jawad wrote:

> Dear Alex
> 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.
>
> Please see my settings below :
>
> # ----- usrloc params -----
> /* enable DB persistency for location entries */
> #!ifdef WITH_USRLOCDB
> modparam("usrloc", "timer_interval", 1)
> modparam("usrloc", "db_url", DBURL)
> modparam("usrloc", "db_mode", 2)
> modparam("usrloc", "use_domain", MULTIDOMAIN)
> #!endif
>
>
> Thanks !
>
>
> On Tue, Sep 10, 2013 at 3:47 PM, Alex Balashov
> <abalashov at evaristesys.com <mailto:abalashov at evaristesys.com>> wrote:
>
>     On 09/10/2013 08:45 AM, Ali Jawad wrote:
>
>         100% positive that both are using the same db_mode parameter for
>         usrloc,
>         and yes they both share the same database and table the only
>         different
>         table is the accounting table. Both kamailio servers work great and
>         newly registered users through site can logon just fine to both
>           systems
>         and make calls, it is this location table issue that is killing
>         me as I
>         have scripts that do various functions by accessing the location
>         table.
>
>
>     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?
>
>
>     --
>     Alex Balashov - Principal
>     Evariste Systems LLC
>     235 E Ponce de Leon Ave
>     Suite 106
>     Decatur, GA 30030
>     United States
>     Tel: +1-678-954-0670
>     Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
>
>     _________________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users
>     <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>
>
>
>
> --
> *Ali Jawad
> *
> *Information Systems Manager
> CISSP - PMP - ITIL V3 - RHCE - VCP - C|EH - CCNA - MCSA
> *
> *Splendor Telecom (www.splendor.net <http://www.splendor.net/>)
> Beirut, Lebanon
> Phone: +9611373725/ext 116
> FAX: +9611375554
>
> *
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list