<div dir="ltr"><div><span>I</span> <span>do not know</span>. <br>The PERL XML::RPC for integer variable use <i4> only.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/20 Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does it work without i4?<div class="HOEnZb"><div class="h5"><br><br>On Monday, January 20, 2014, Dragomir Haralambiev <<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
<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></div></div><span class="HOEnZb"><font color="#888888">-- <br>VoIP Embedded, Inc.<br><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
</font></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>