<div dir="ltr"><p>Hello,</p><p>I try to terminate call using dlg_end_dlg. </p><p>When use module mi_xmlrpc all is OK.<br>When use module mi_xmlrpc_ng I receive follow error: </p><p>DBG:mi_xmlrpc_ng:mi_xmlrpc_http_run_mi_cmd: got methodName=dlg_end_dlg<br>
ERROR:mi_xmlrpc_ng:mi_xmlrpc_http_run_mi_cmd: missing node string<br>ERROR:mi_xmlrpc_ng:mi_xmlrpc_http_answer_to_connection: no reply</p><p>Here is PERL script:</p><p>#!/usr/bin/perl <br>use XML::RPC;<br>$hash_entry=538;<br>
$hash_id=10274470;<br>$xmlrpc = XML::RPC-&gt;new(&quot;<a href="http://OPENSIPS_IP:8000/xmlrpc">http://OPENSIPS_IP:8000/xmlrpc</a>&quot;);<br>$xmlrpc-&gt;call(&#39;dlg_end_dlg&#39;, (&quot;$hash_entry&quot;, &quot;$hash_id&quot;) );</p>
<div>Here is the XML sended to Opensips:</div><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;</div><div>&lt;methodCall&gt;</div><div>&lt;methodName&gt;dlg_end_dlg&lt;/methodName&gt;</div><div>&lt;params&gt;</div>
<div> &lt;param&gt;</div><div>  &lt;value&gt;&lt;<strong>i4</strong>&gt;538&lt;/<strong>i4</strong>&gt;&lt;/value&gt;</div><div> &lt;/param&gt;</div><div> &lt;param&gt;</div><div>  &lt;value&gt;&lt;<strong>i4</strong>&gt;10274470&lt;/<strong>i4</strong>&gt;&lt;/value&gt;</div>
<div> &lt;/param&gt;</div><div>&lt;/params&gt;</div><div>&lt;/methodCall&gt;</div><div><br></div><div>The hash_entry and hash_id are interger. <br>In this case XML is using &lt;i4&gt;538&lt;/i4&gt; not a &lt;string&gt;538&lt;/string&gt;.</div>
<div>The mi_xmlrpc_ng is not recognised &lt;i4&gt;.</div><div><br></div><div>How to fix this problem?</div><div><br></div><div>Best regards,</div><div>PlayMen</div><div><br></div><div><br></div></div>