<p><a class="user-mention" data-hovercard-user-id="184809" href="https://github.com/miconda">@miconda</a><br>
We've modified the route like this now:<br>
<code>route[FOREIGN_DIALOG] { $var(breadcrumbs) = "FOREIGN_DIALOG"; BREADCRUMBS xlog("L_NOTICE","[f:$fU-t:$tU id:$ci | $rm] Foreign dialog detected for Call-ID: $ci\n"); dlg_db_load_callid($ci); setflag(FLG_AUTH_PASSED); dlg_manage(); } # end route FOREIGN_DIALOG</code></p>
<p>And everything seems working quite well now with the version 5.2.0<del>dev4+0</del>20180408010333.1091+xenial.<br>
The old route was a quick&dirty fix for ending foreign dialogs before the recover from db.</p>
<p>I will test also the last nightly build tomorrow.</p>
<p>Thanks!</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1274#issuecomment-380230718">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZaepKhNu1gaCwHMd-sNWXx0JIlJBks5tnRGegaJpZM4QAl53">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZXSgrf30gfp2Eim8k5ZyTxCoo3QAks5tnRGegaJpZM4QAl53.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1274#issuecomment-380230718"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@alexsosic in #1274:  @miconda \r\nWe've modified the route like this now:\r\n`\r\nroute[FOREIGN_DIALOG] {\r\n  $var(breadcrumbs) = \"FOREIGN_DIALOG\"; BREADCRUMBS\r\n  xlog(\"L_NOTICE\",\"[f:$fU-t:$tU id:$ci | $rm] Foreign dialog detected for Call-ID: $ci\\n\");\r\n  dlg_db_load_callid($ci);\r\n  setflag(FLG_AUTH_PASSED);\r\n  dlg_manage();\r\n} # end route FOREIGN_DIALOG\r\n`\r\n\r\nAnd everything seems working quite well now with the version 5.2.0~dev4+0~20180408010333.1091+xenial.\r\nThe old route was a quick\u0026dirty fix for ending foreign dialogs before the recover from db.\r\n\r\nI will test also the last nightly build tomorrow.\r\n\r\nThanks!"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1274#issuecomment-380230718"}}}</script>