Does it work without i4?<br><br>On Monday, January 20, 2014, Dragomir Haralambiev <<a href="mailto:goup2010@gmail.com">goup2010@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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->new("<a href="http://OPENSIPS_IP:8000/xmlrpc" target="_blank">http://OPENSIPS_IP:8000/xmlrpc</a>");<br>$xmlrpc->call('dlg_end_dlg', ("$hash_entry", "$hash_id") );</p>
<div>Here is the XML sended to Opensips:</div><div><?xml version="1.0" encoding="UTF-8" ?></div><div><methodCall></div><div><methodName>dlg_end_dlg</methodName></div><div><params></div>
<div> <param></div><div> <value><<strong>i4</strong>>538</<strong>i4</strong>></value></div><div> </param></div><div> <param></div><div> <value><<strong>i4</strong>>10274470</<strong>i4</strong>></value></div>
<div> </param></div><div></params></div><div></methodCall></div><div><br></div><div>The hash_entry and hash_id are interger. <br>In this case XML is using <i4>538</i4> not a <string>538</string>.</div>
<div>The mi_xmlrpc_ng is not recognised <i4>.</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>
</blockquote><br><br>-- <br>VoIP Embedded, Inc.<br><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>