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 <[email protected]> wrote:

> hello
>  how can we add a new user in opensip using php api cal.
> help me please.
>
> --
> *
>
> *
> *
> *
> *
> *
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to