[OpenSIPS-Users] (no subject)

Daniel Goepp dan at goepp.net
Fri Jan 25 17:42:46 CET 2013


There are a few options, but one is XMLRPC

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

And for more information on MI:

http://www.opensips.org/Resources/DocsCoreMi

We use XML RPC, and you can use whatever HTTP client you want (cURL would
be another, but we use Zend), but for example:

            require_once 'Zend/XmlRpc/Client.php';
            $client = new Zend_XmlRpc_Client('http://hostname:8080/RPC2');

            $results = $client->call('get_statistics', array ("dialog:",
"tm:"));

            print_r(htmlentities($results));

-dg


On Fri, Jan 25, 2013 at 2:31 AM, p prakash <ppbntl19 at gmail.com> wrote:

> hello
>  how can we add a new user in opensip using php api cal.
> help me please.
>
> --
> *
>
> *
> *
> *
> *
> *
>
> _______________________________________________
> 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/20130125/899a32ce/attachment.htm>


More information about the Users mailing list