<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Just use OpenSIPS and you will be fine :)<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 06/26/2019 03:11 PM, Efelin Novak
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABKTgApgOz_m8tZw7OB5VfCmheWzUVokRtDiPkk2gpyp3ZS=4w@mail.gmail.com">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm using a Kamailio version that does not support MI
interface anymore. Call_control module works nice in all
situations expect when it wants to kill the call (credit is
gone). Is the Call_control module capable of using JSON-RPC
instead of MI command?</div>
<div><br>
</div>
<div>When I change class ManagementInterface() so that the RPC
command is not sent and I only callĀ os.system(command to kill
a call using JSON-RPC), I get a Error messages like this:</div>
<div><br>
</div>
<div>kamailio[19687]: ERROR: call_control [call_control.c:839]:
send_command(): did timeout waiting for an answer<br>
</div>
<div><br>
</div>
<div>The call is killed but I'm afraid that such error might
cause errors in future (e.g.: memory leaking).</div>
<div><br>
</div>
<div>Is there any workaround?</div>
<div>Is it possible the call_control ends the call in a
different way than MI interface?</div>
<div>Can I use os.system hack? Can I ignore these errors or I
can get rid of them somehow?</div>
<div><br>
</div>
<div>Kind regards</div>
<div><br>
</div>
<div>Kamailio and Call-control are at newest version.</div>
<div><br>
</div>
<div>Efelin</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>