Hi Dunusha,<div><br></div><div>Yes, this can be done and I use it myself - not from windows though.</div><div><br></div><div>First you need to add the mi_xmlrpc module to your opensips server. Then you can execute any mi commands remotely:</div>
<div><br></div><div><a href="http://www.opensips.org/html/docs/modules/1.8.x/mi_xmlrpc.html">http://www.opensips.org/html/docs/modules/1.8.x/mi_xmlrpc.html</a> </div><div><br></div><div><a href="http://www.opensips.org/html/docs/modules/1.8.x/load_balancer.html">http://www.opensips.org/html/docs/modules/1.8.x/load_balancer.html</a></div>
<div><br></div><div>Or you can simply use opensips-cp. You can make changes and apply the changes all through that. It's all PHP and you can include them in your web interface. You can also simply remove the pages you don't need or use.</div>
<div><br></div><div>Regards,</div><div>Ali Pey</div><div><br></div><div><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 8:12 AM, Dinusha Kannangara <span dir="ltr"><<a href="mailto:dinusha.kannangara@gmail.com" target="_blank">dinusha.kannangara@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br><br>When a new entry is added to the load_balancer table, I want the newly added entries to be loaded to opensips without having to restart it.<br>
I know this can be achieved through the Exported MI Functions either by using opensipsctl tool or using the Opensips CP Tool.<br>
<br>I've heard that OCP Tool uses XML-RPC to execute these functions.<br>I want to call these MI functions from a client application developed on windows OS. Can this be done if I send a HTTP request using XML-RPC from my client app to opensips server ?<br>
<br>If this can be done, then what should I be sending in the request body to get this working ?<br><br>Thank You. :)<br><br>Regards<span class="HOEnZb"><font color="#888888"><br>Dinusha<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>