[OpenSIPS-Users] mi_xmlrpc_ng Problem

Dragomir Haralambiev goup2010 at gmail.com
Mon Jan 20 21:16:31 CET 2014


Hello,

The module mi_xmlrpc have problem with dlg_list_ctx when have 50 concurent
calls. /The Opensips crashed/.

The module mi_xmlrpc_ng not working with dlg_end_dlg because OpenSips not
received integer value (<i4>).

Can anyone advise me what to use for remote MI.

Rgards,
PlayMen


2014/1/20 Ovidiu Sas <osas at voipembedded.com>

> Give it a try.  IIRC the conversion is done automatically in opensips.
> You should send only strings.
>
> -ovidiu
>
>
> On Monday, January 20, 2014, Dragomir Haralambiev <goup2010 at gmail.com>
> wrote:
>
>> I do not know.
>> The PERL XML::RPC for integer variable use <i4> only.
>>
>>
>> 2014/1/20 Ovidiu Sas <osas at voipembedded.com>
>>
>>> Does it work without i4?
>>>
>>>
>>> On Monday, January 20, 2014, Dragomir Haralambiev <goup2010 at gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I try to terminate call using dlg_end_dlg.
>>>>
>>>> When use module mi_xmlrpc all is OK.
>>>> When use module mi_xmlrpc_ng I receive follow error:
>>>>
>>>> DBG:mi_xmlrpc_ng:mi_xmlrpc_http_run_mi_cmd: got methodName=dlg_end_dlg
>>>> ERROR:mi_xmlrpc_ng:mi_xmlrpc_http_run_mi_cmd: missing node string
>>>> ERROR:mi_xmlrpc_ng:mi_xmlrpc_http_answer_to_connection: no reply
>>>>
>>>> Here is PERL script:
>>>>
>>>> #!/usr/bin/perl
>>>> use XML::RPC;
>>>> $hash_entry=538;
>>>> $hash_id=10274470;
>>>> $xmlrpc = XML::RPC->new("http://OPENSIPS_IP:8000/xmlrpc");
>>>> $xmlrpc->call('dlg_end_dlg', ("$hash_entry", "$hash_id") );
>>>> Here is the XML sended to Opensips:
>>>> <?xml version="1.0" encoding="UTF-8" ?>
>>>> <methodCall>
>>>> <methodName>dlg_end_dlg</methodName>
>>>> <params>
>>>>  <param>
>>>>   <value><*i4*>538</*i4*></value>
>>>>  </param>
>>>>  <param>
>>>>   <value><*i4*>10274470</*i4*></value>
>>>>  </param>
>>>> </params>
>>>> </methodCall>
>>>>
>>>> The hash_entry and hash_id are interger.
>>>> In this case XML is using <i4>538</i4> not a <string>538</string>.
>>>> The mi_xmlrpc_ng is not recognised <i4>.
>>>>
>>>> How to fix this problem?
>>>>
>>>> Best regards,
>>>> PlayMen
>>>>
>>>>
>>>>
>>>
>>> --
>>> VoIP Embedded, Inc.
>>> http://www.voipembedded.com
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>
> --
> VoIP Embedded, Inc.
> http://www.voipembedded.com
>
> _______________________________________________
> 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/20140120/bba4a4fe/attachment.htm>


More information about the Users mailing list