<div dir="ltr">In simple works, you want to terminate a certain call?<div><br></div><div>If so: <a href="https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#idm1195">https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#idm1195</a></div><div><br></div><div>Like for example via RPC: <span style="font-family:Calibri;font-size:11pt">kamctl
rpc dlg.end_dlg 1686 10139</span></div><div><span style="font-family:Calibri;font-size:11pt"><br></span></div><div><span style="font-family:Calibri;font-size:11pt">Regards,</span></div><div><span style="font-family:Calibri;font-size:11pt">--Sergiu</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 11, 2019 at 9:12 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="FR">
<div class="gmail-m_3107083177628470120WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt">I am wondering if there is any way to remove an entry from the active dialog list?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt">What I already tried with no success: sending a request to Kamailio catched by a dedicated route of the script then:<u></u><u></u></span></p>
<ul style="margin-top:0cm" type="disc">
<li class="gmail-m_3107083177628470120MsoListParagraph" style="margin-left:0cm"><span lang="EN-US" style="font-size:11pt">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).<u></u><u></u></span></li><li class="gmail-m_3107083177628470120MsoListParagraph" style="margin-left:0cm"><span lang="EN-US" style="font-size:11pt">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.<u></u><u></u></span></li></ul>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt">Could some RPC commands or whatever help me to accomplish what I try to do?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;color:black">Julien</span><span lang="EN-US"><u></u><u></u></span></p>
</div>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>