On 08.08.2020 02:08, William Simon wrote:
Using opensips 3.0,
I have set up the dialog module for db mode 3 (store dialogs at
shutdown) with a postgres backend. I have also tested with a local
sqlite backend.
On shutdown, the active dialogs are saved to the database. But on
restart, the dialogs are not restored.
Hey, William!
I can confirm this bug - on my 3.0 setup, it didn't load them either in
"db_mode = 3".
Just to move on past this issue, I suggest you use "db_mode = 2" (proven
& tested), which will constantly backup any new ongoing dialogs to DB,
in an asynchronous fashion, decoupled from SIP traffic. An upside to
doing so is that shutdowns will be quicker, since plenty of dialogs will
require no DB update, as opposed to "db_mode = 3", which will dump all
cached dialogs at once.
Meanwhile, we will work towards a resolution here.
Best regards,
--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit 2020 Distributed
www.opensips.org/events/Summit-2020Distributed
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users