Hi,

How do you get the registrations "replicated" on the backup server ? (the in memory data)

Take a look at the "m" flag for "save()" function:
http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id294034

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 27.08.2014 20:14, Schneur Rosenberg wrote:
Hi

I'm using usrloc with db_mode set to 2, I'm using a backup server which is always running and is using the same database, my problem is that the second server constantly removes records from the location table, is it possible to disable the expired contacts timer? would setting timer_interval to 0 disable the timer? I can write a cron that would delete expired contacts. is there any downside to this? does the timer do anything else? the documentation says "The timer deletes all expired contacts and flushes all modified or new contacts to database" I'm not exactly what they mean by flushing the modified or new contacts.

Both servers have exact same system time so that's not the issue.

If there is a better way please let me know.


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to