<div dir="auto">Does it receive a 200 OK reply to the BYE?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 11, 2019, 10:55 AM Julien Klingenmeyer, <<a href="mailto:julien.klingenmeyer@corp.ovh.com">julien.klingenmeyer@corp.ovh.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR" link="blue" vlink="purple">
<div class="m_754497580029108811WordSection1">
<p class="MsoNormal"><span lang="EN-US">I tried the end_dlg rpc command but result is the same as the dlg_bye function (mistake in my original message, I said send_bye but I meant dlg_bye()): BYE requests are sent but dialog
is still present when I execute the command dlg.list. It does not look to be removed from the active dialog list.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Would it be because Kamailio does not get any replies to the Bye requests?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">--<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">Julien</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">De : </span></b><span style="font-size:12.0pt;color:black">sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users-bounces@lists.kamailio.org</a>> au nom de Sergiu Pojoga <<a href="mailto:pojogas@gmail.com" target="_blank" rel="noreferrer">pojogas@gmail.com</a>><br>
<b>Répondre à : </b>"Kamailio (SER) - Users Mailing List" <<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a>><br>
<b>Date : </b>vendredi 11 octobre 2019 à 16:42<br>
<b>À : </b>"Kamailio (SER) - Users Mailing List" <<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a>><br>
<b>Objet : </b>Re: [SR-Users] [Dialog] Removing entries from dialog memory<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">In simple works, you want to terminate a certain call? <u></u>
<u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If so: <a href="https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#idm1195" target="_blank" rel="noreferrer">https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#idm1195</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Like for example via RPC: kamctl rpc dlg.end_dlg 1686 10139<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">--Sergiu<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Oct 11, 2019 at 9:12 AM Julien Klingenmeyer <<a href="mailto:julien.klingenmeyer@corp.ovh.com" target="_blank" rel="noreferrer">julien.klingenmeyer@corp.ovh.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I am wondering if there is any way to remove an entry from the active dialog list?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I mean, assuming that Kamailio did not get any BYE related to a call for some reason and that I want that call to be “killed” from dialog memory before reaching
the lifetime timeout.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">What I already tried with no success: sending a request to Kamailio catched by a dedicated route of the script then:</span><u></u><u></u></p>
<ul type="disc">
<li class="m_754497580029108811gmail-m3107083177628470120msolistparagraph">
<span lang="EN-US">using the <b><i>dlg_get</i></b> function (with the target call as parameter) then
<b><i>send_bye</i></b> function (then dropping the BYE request generated by the dialog module in the
<b><i>onsend_route</i></b> with the <b><i>drop</i></b> function): no success. Dialog module correctly generates BYE requests but dialog related to the call is kept in memory until its lifetime timeout (and BYE requests are not dropped in the
<i>onsend_route</i> either).</span><u></u><u></u></li><li class="m_754497580029108811gmail-m3107083177628470120msolistparagraph">
<span lang="EN-US">using the <b><i>dlg_get</i></b> function then <b><i>dlg_set_timeout</i></b> to set a very low timeout value for that particular call. No successs:
<i>Trying to update a bogus dlg </i>as critical error.</span><u></u><u></u></li></ul>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Could some RPC commands or whatever help me to accomplish what I try to do?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Thanks</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">Julien</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" rel="noreferrer">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>