<div dir="auto">I think that you posted on the wrong list</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 26 Jun 2019, 14:14 Efelin Novak, <<a href="mailto:efelin.novak@gmail.com">efelin.novak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>