[OpenSIPS-Users] dialogs do not restore on restart

Liviu Chircu 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.
>
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200827/f2fb2525/attachment-0001.html>


More information about the Users mailing list