[OpenSIPS-Users] Calling Exported MI Functions

Ali Pey alipey at gmail.com
Thu Jul 19 15:01:40 CEST 2012


Hi Dunusha,

Yes, this can be done and I use it myself - not from windows though.

First you need to add the mi_xmlrpc module to your opensips server. Then
you can execute any mi commands remotely:

http://www.opensips.org/html/docs/modules/1.8.x/mi_xmlrpc.html

http://www.opensips.org/html/docs/modules/1.8.x/load_balancer.html

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.

Regards,
Ali Pey


On Thu, Jul 19, 2012 at 8:12 AM, Dinusha Kannangara <
dinusha.kannangara at gmail.com> wrote:

> Hi all,
>
> 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.
> I know this can be achieved through the Exported MI Functions either by
> using opensipsctl tool or using the Opensips CP Tool.
>
> I've heard that OCP Tool uses XML-RPC to execute these functions.
> 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 ?
>
> If this can be done, then what should I be sending in the request body to
> get this working ?
>
> Thank You. :)
>
> Regards
> Dinusha
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120719/5fb3a099/attachment.htm>


More information about the Users mailing list