Andrei/Jiri, what do you guys think of adding that as an option? It
seems
to me that it would be the most logical way to go about doing it and
should
be very easy to do since all it is combining parts of mode 0 and 1/2.
I
have little experience doing any programming in SER otherwise I would
just
write it and submit it as a patch. Most of my time gets sucked up into
Asterisk patches (see
for MySQL
dynamic config files, this is a must for carriers... Well at least for
me :)
), but if you 2 don't have time or don't think its worth while then I
guess
I will have find time. Please let me know what you guys think of this
as
soon as you get a chance.
----------------------------------------
Michael Shuler, C.E.O.
BitWise Communications, Inc. (CLEC) And BitWise Systems, Inc. (ISP)
682 High Point Lane
East Peoria, IL 61611
Office: (217) 585-0357
Cell: (309) 657-6365
Fax: (309) 213-3500
E-Mail: mike(a)bwsys.net
Customer Service: (877) 976-0711
-----Original Message-----
From: Maxim Sobolev [mailto:sobomax@portaone.com]
Sent: Sunday, September 26, 2004 3:28 AM
To: Michael Shuler
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Location table issues
Michael Shuler wrote:
Let's say I have 2 SER servers (ser1 and
ser2). Both save
to the same MySQL
location table and both use t_replicate to let
each other
know about new
REGISTER's. Lets say ser1 gets a REGISTER
from a client
and then calls
t_replicate to send it over to ser2 and both call
save("location"). Doesn't
that cause ser1 and ser2 to write the same record
at about
the same time to
MySQL? Is there any way to prevent doubling the
number of
database writes?
You can configure one of the ser's to do not use database at all for
storing contacts, which will do what you want - contacts will
be saved
by the another ser, while t_replicate() will ensure that both of them
have a whole set at any moment of time.
-Maxim
Does anyone know what the replicate column is for in the
location table?
----------------------------------------
Michael Shuler, C.E.O.
BitWise Communications, Inc. (CLEC) And BitWise Systems, Inc. (ISP)
682 High Point Lane
East Peoria, IL 61611
Office: (217) 585-0357
Cell: (309) 657-6365
Fax: (309) 213-3500
E-Mail: mike(a)bwsys.net
Customer Service: (877) 976-0711
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org