Re: [OpenSIPS-Users] Dialog DB backend only updates on clean shutdown not crash

2016-06-24 Thread Jim DeVito
Thanks Răzvan! I must have misunderstood the cache mode in db_text. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Dialog DB backend only updates on clean shutdown not crash

2016-06-24 Thread Răzvan Crainea
Hi, Jim! The behavior you are describing is normal: if you kill opensips with SIGKILL, OpenSIPS closes instantly, without being able to run the code that dumps the data into the file. If you want to prevent this, you should always dump the db data into the file (note that this is not very go

[OpenSIPS-Users] Dialog DB backend only updates on clean shutdown not crash

2016-06-23 Thread Jim DeVito
Hi All. 2.2.0.rc2.20160617.c1aa55e-1.el7 modparam("dialog", "db_url", "text:///var/lib/opensips/dbtext") modparam("dialog", "db_mode", 1) modparam("dialog", "table_name", "dialog") db_mode 1 should be realtime correct? The DB is only being synced from memory on clean shutdown. If I kill -9 the