Check if you have configured mi_xmlrpc module correctly. Make sure the port you set is available and open in firewall (if you have a firewall). For debugging make sure to set log_file module parameter and run tail command on file to see xmlrpc module actually receives the request and how it responds to it etc.<div>
<br><div>Here is base minimum PERL script to test XMLRPC service with default parameters,</div><div><br></div><div>###########################################################</div><div><div>#!/usr/bin/perl -w</div><div>#</div>
<div># This script shows currently active call details using XMLRPC service.</div><div>#</div><div>use strict;</div><div>use warnings;</div><div><br></div><div>use Data::Dumper;</div><div>use XML::RPC;</div><div><br></div>
<div>my $xmlrpc = XML::RPC->new('<a href="http://localhost:8080/RPC2'">http://localhost:8080/RPC2'</a>);</div></div><div><div>my $result = $xmlrpc->call("dlg_list_ctx", ());</div><div>print Data::Dumper->Dump([$result]);</div>
</div><div>exit;</div><div><div>###########################################################</div><div></div><div><br></div><div>Hope this helps.</div><div><br></div><div>Thank you.</div><div><br></div><br><div class="gmail_quote">
On Mon, Jan 28, 2013 at 6:15 AM, p prakash <span dir="ltr"><<a href="mailto:ppbntl19@gmail.com" target="_blank">ppbntl19@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><span>"<em>Cannot connect to OpenSIPS Server via Management Interface</em> <b>...<br></b></span></div><span><b>and in monit<br></b></span><div><h3><a href="http://192.168.0.1:2812" target="_blank">192.168.0.1:2812</a></h3>
<form target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">can't conect.<br></form><form target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">
plz help me to solve this problem.<br></form><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Sat, Jan 26, 2013 at 10:03 AM, p prakash <span dir="ltr"><<a href="mailto:ppbntl19@gmail.com" target="_blank">ppbntl19@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanx <span title="Daniel Goepp">Daniel Goepp ...<br></span><div class="gmail_extra">
<div><div class="h5">
<div><div><br><br><div class="gmail_quote">On Fri, Jan 25, 2013 at 8:42 AM, Daniel Goepp <span dir="ltr"><<a href="mailto:dan@goepp.net" target="_blank">dan@goepp.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>There are a few options, but one is XMLRPC</div><div><br></div><div><a href="http://www.opensips.org/html/docs/modules/1.8.x/mi_xmlrpc.html" target="_blank">http://www.opensips.org/html/docs/modules/1.8.x/mi_xmlrpc.html</a><br>
</div><div><br></div><div>And for more information on MI:</div><div><br></div><div><a href="http://www.opensips.org/Resources/DocsCoreMi" target="_blank">http://www.opensips.org/Resources/DocsCoreMi</a><br></div><div>
<br></div>We use XML RPC, and you can use whatever HTTP client you want (cURL would be another, but we use Zend), but for example:<div><br></div><div><div> require_once 'Zend/XmlRpc/Client.php';</div></div>
<div><div> $client = new Zend_XmlRpc_Client('<a href="http://hostname:8080/RPC2%27" target="_blank">http://hostname:8080/RPC2'</a>);</div></div><div><br></div><div><div> $results = $client->call('get_statistics', array ("dialog:", "tm:"));</div>
<div><div><br></div><div> print_r(htmlentities($results));</div></div></div><div class="gmail_extra"><div><br>-dg</div>
<br><br><div class="gmail_quote"><div><div>On Fri, Jan 25, 2013 at 2:31 AM, p prakash <span dir="ltr"><<a href="mailto:ppbntl19@gmail.com" target="_blank">ppbntl19@gmail.com</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
<div dir="ltr"><div>hello<br> how can we add a new user in opensip using php api cal.<br></div>help me please.<span><font color="#888888"><br clear="all"><div><br>-- <br><div style="text-align:left;font-family:garamond,serif">
<div style="text-align:left">
<b><font size="4"><br><br></font></b></div><b><font size="4"><br></font></b></div><b><font size="4"><br style="font-family:garamond,serif"></font></b>
</div></font></span></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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><br clear="all"><br></div></div>-- <br></div></div><div style="text-align:left;font-family:garamond,serif"><div style="text-align:left"><b><font size="4"><i></i></font></b><br></div><br><span><b>.</b></span></div>
<b><font size="4"><br style="font-family:garamond,serif"></font></b><span class="HOEnZb"><font color="#888888">
</font></span></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div style="text-align:left;font-family:garamond,serif"><div style="text-align:left"><b><font size="4"><i><font size="4">thanx</font><br>
</i></font></b></div><div style="text-align:left">
<b><font size="4"><i><br><u>Pooran Prakash<br>Phone.no: 7838329539<br>Mail: <a href="mailto:ppbntl19@gmail.com" target="_blank">ppbntl19@gmail.com</a> <br>Alternate Mail: <a href="mailto:pappi12366@gmail.com" target="_blank">pappi12366@gmail.com</a><br>
Current Location: Delhi<br>Willing to Relocate: YES</u></i><br><br></font></b></div><b><font size="4"><br></font></b></div><b><font size="4"><br style="font-family:garamond,serif"></font></b>
</font></span></div></div></div>
<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><br clear="all"><div><br></div>-- <br><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Muhammad Shahzad</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">------------------------------</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">-----</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO Rich Media Communication Specialist (CRMCS)</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO Certified Network Associate (CCNA)</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Cell: +49 176 99 83 10 85</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MSN: </span><a href="mailto:shari_786pk@hotmail.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">shari_786pk@hotmail.com</a><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email: </span><a href="mailto:shaheryarkh@googlemail.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">shaheryarkh@googlemail.com</a>
</div></div>