<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
If you have call-id, from/to tags, then you can try dlg_get() and
then dlg_bye().<br>
<br>
Alternative, load jsonrpc-s module and use jsonrpc_exec(), with the
rpc command that closes the dialg:<br>
<br>
-
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/4.2.x/modules/jsonrpc-s.html#jsonrpc-s.f.jsonrpc_exec">http://kamailio.org/docs/modules/4.2.x/modules/jsonrpc-s.html#jsonrpc-s.f.jsonrpc_exec</a><br>
<br>
The above one should allow executing any rpc command from config
file as long as you make the proper jsonrpc format out of it.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 30/12/14 12:46, Olle E. Johansson
wrote:<br>
</div>
<blockquote
cite="mid:6756CA12-3D51-49EA-A7D8-C2E57CBE9B0C@edvina.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br>
<div>
<div>On 30 Dec 2014, at 12:33, Dan-Cristian Bogos <<a
moz-do-not-send="true" href="mailto:danb.lists@gmail.com">danb.lists@gmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<p dir="ltr">Hey Guys</p>
<p dir="ltr">I need assistance for the following case:</p>
<p dir="ltr">I receive dialog_end request from external
component in evapi:message-received block and would like to
somehow kill the dialog corresponding to h_id and h_entry I
get in the message. Is there any way to do that without
involving mi_*?</p>
<div><br>
</div>
</blockquote>
Use RPC - it's not deprecated ;-)</div>
<div><br>
</div>
<div>I see that there's no dialog module function for this. But
what happens if you set timeout to zero?</div>
<div><a moz-do-not-send="true"
href="http://kamailio.org/docs/modules/4.2.x/modules/dialog.html#idp3926600">http://kamailio.org/docs/modules/4.2.x/modules/dialog.html#idp3926600</a></div>
<div><br>
</div>
<div>/O</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>