[OpenSIPS-Users] Call_control and JSON-RPC

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jun 26 09:06:55 EDT 2019


Just use OpenSIPS and you will be fine :)

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 06/26/2019 03:11 PM, Efelin Novak 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/b96e0094/attachment-0001.html>


More information about the Users mailing list