[OpenSIPS-Users] Call_control and JSON-RPC

Efelin Novak efelin.novak at gmail.com
Wed Jun 26 08:11:38 EDT 2019


Hi,

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?

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:

kamailio[19687]: ERROR: call_control [call_control.c:839]: send_command():
did timeout waiting for an answer

The call is killed but I'm afraid that such error might cause errors in
future (e.g.: memory leaking).

Is there any workaround?
Is it possible the call_control ends the call in a different way than MI
interface?
Can I use os.system hack? Can I ignore these errors or I can get rid of
them somehow?

Kind regards

Kamailio and Call-control are at newest version.

Efelin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190626/2337aa49/attachment.html>


More information about the Users mailing list