[OpenSIPS-Users] usrloc disable timer

Schneur Rosenberg rosenberg11219 at gmail.com
Wed Aug 27 19:14:32 CEST 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140827/e1683fc5/attachment.htm>


More information about the Users mailing list