<div dir="ltr">Thanx <span tabindex="0" class="" id=":80" title="Daniel Goepp">Daniel Goepp ...<br></span><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 25, 2013 at 8:42 AM, Daniel Goepp <span dir="ltr">&lt;<a href="mailto:dan@goepp.net" target="_blank">dan@goepp.net</a>&gt;</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>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 &#39;Zend/XmlRpc/Client.php&#39;;</div></div>

<div><div>            $client = new Zend_XmlRpc_Client(&#39;<a href="http://hostname:8080/RPC2%27" target="_blank">http://hostname:8080/RPC2&#39;</a>);</div></div><div><br></div><div><div>            $results = $client-&gt;call(&#39;get_statistics&#39;, array (&quot;dialog:&quot;, &quot;tm:&quot;));</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 class="h5">On Fri, Jan 25, 2013 at 2:31 AM, p prakash <span dir="ltr">&lt;<a href="mailto:ppbntl19@gmail.com" target="_blank">ppbntl19@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
<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">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>-- <br><div style="text-align:left;font-family:garamond,serif"><div style="text-align:left"><b><font size="4"><i></i></font></b><br></div><b><font size="4"><br></font></b></div>
<b><font size="4"><br style="font-family:garamond,serif"></font></b>
</div></div>