[OpenSIPS-Users] dialogs do not restore on restart
liviu at opensips.org
Thu Aug 27 14:29:23 EST 2020
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.
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.
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit 2020 Distributed
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users