[OpenSIPS-Users] Call_control and JSON-RPC
Johan De Clercq
Johan at democon.be
Wed Jun 26 08:17:15 EDT 2019
I think that you posted on the wrong list
On Wed, 26 Jun 2019, 14:14 Efelin Novak, <efelin.novak at gmail.com> wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190626/22a4acd1/attachment.html>
More information about the Users
mailing list