[Kamailio-Users] two proxies sharing the same database
Iñaki Baz Castillo
ibc at aliax.net
Fri Sep 5 19:16:14 CEST 2008
El Viernes, 5 de Septiembre de 2008, toly escribió:
> Greetings,
>
> I have 2 proxies having the same database on backend. One is the primary,
> second is standby - OpenSER 1.2.1.
> That's how I implement DNS based failover. What I see, when all UA's
> registered on primary and I start standby, I's starting to cleanup location
> table according to it's own timer. So record is gone, when primary trying
> to updated the record on re-register it of course fails, as a result
> location table is wrong.
>
> What will be a solution?
Probably you'll have more issues. For example the "socket" column
in "location" table (for proxy 2 it makes no sense that "socekt" has
IP_PROXY_1 so it will remove it from table).
You should take a look to "Path" module and handle some special option bits
in "save" method of "registrar" module.
Regards.
--
Iñaki Baz Castillo
More information about the Users
mailing list