<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 08.08.2020 02:08, William Simon
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:4EB1C800-EE01-4179-91AD-90B5065B09A0@stratusvideo.com">
<p class="MsoNormal"><span style="font-size:11.0pt">Using opensips
3.0, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">On shutdown,
the active dialogs are saved to the database. But on restart,
the dialogs are not restored.</span></p>
</blockquote>
<p><tt>Hey, William!</tt></p>
<p><tt>I can confirm this bug - on my 3.0 setup, it didn't load them
either in "db_mode = 3".<br>
</tt></p>
<p><tt>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.</tt></p>
<p><tt>Meanwhile, we will work towards a resolution here.<br>
</tt></p>
<p><tt>Best regards,<br>
</tt></p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS Summit 2020 Distributed
<a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events/Summit-2020Distributed">www.opensips.org/events/Summit-2020Distributed</a></pre>
</body>
</html>