<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#002060;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#002060;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="FR-BE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#002060">Hello Daniel,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">Didn’t know because i have sometime this kind of message after a startup:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">WARNING: dialog [dlg_handlers.c:1284]: dlg_onroute(): unable to find dialog for BYE with route param '919.2332' [2329:9010]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI Emoji",serif;color:#002060">😊</span><span lang="EN-US" style="color:#002060"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="FR" style="color:windowtext;mso-fareast-language:FR-BE">De :</span></b><span lang="FR" style="color:windowtext;mso-fareast-language:FR-BE"> Daniel-Constantin Mierla <miconda@gmail.com>
<br>
<b>Envoyé :</b> lundi 18 février 2019 15:20<br>
<b>À :</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Nicolas Breuer <Nicolas.Breuer@belcenter.biz><br>
<b>Objet :</b> Re: [SR-Users] Dialog - Kamailio 5.2<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hello,<o:p></o:p></p>
<div>
<p class="MsoNormal">On 18.02.19 14:36, Nicolas Breuer wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#002060">Hello the world,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#002060"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060">Can you give more informations about the new features of Dialog in K5.2 ?</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#002060;mso-fareast-language:FR-BE"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://www.kamailio.org/w/kamailio-v5-2-0-release-notes/">https://www.kamailio.org/w/kamailio-v5-2-0-release-notes/</a></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Symbol;mso-fareast-language:FR-BE">·</span><span lang="EN-US" style="mso-fareast-language:FR-BE">  ability to load dialog records from database on demand
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Symbol;mso-fareast-language:FR-BE">·</span><span lang="EN-US" style="mso-fareast-language:FR-BE">  ability to load dialog records from database if they are not yet in memory cache</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR-BE"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR-BE">Indeed in 5.1, restart Kamailio doesn’t load the dialog data from database but we can see
</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://www.kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.db_skip_load">https://www.kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.db_skip_load</a></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">there is a function : Set db_skip_load to 1, to skip the loading of dialog data from the database.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">If on restart, the dialogs are not loaded,  what this “db skip load “ does ?</span><o:p></o:p></p>
</blockquote>
<p>the new features are related to the two functions listed at:<o:p></o:p></p>
<p>  * <a href="https://www.kamailio.org/docs/modules/stable/modules/dialog.html#dialog.f.dlg_db_load_callid">
https://www.kamailio.org/docs/modules/stable/modules/dialog.html#dialog.f.dlg_db_load_callid</a><o:p></o:p></p>
<p>Dialog records are loaded in memory from database at startup, and that happens in 5.1 as well. Maybe you have different configuration options, but the new feature is not about start up, but for runtime behaviour by using functions in routing blocks.<o:p></o:p></p>
<p>Cheers,<br>
Daniel<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US"> </span><span lang="EN-US"> </span><o:p></o:p></p>
</blockquote>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla -- <a href="http://www.asipto.com">www.asipto.com</a><o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre>Kamailio World Conference - May 6-8, 2019 -- <a href="http://www.kamailioworld.com">www.kamailioworld.com</a><o:p></o:p></pre>
<pre>Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a href="http://www.asipto.com">www.asipto.com</a><o:p></o:p></pre>
</div>
</body>
</html>