<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi, Kirill!<br>
<br>
If you want to get info from OpenSIPS remotely, you have two choices:<br>
1. mi_xmlrpc - this goes over TCP and delivers information in XML
format. There are a couple of libraries that implement this
protocol, so it should be pretty easy to develop a connector.<br>
2. mi_datagram - this goes over UDP and it is more lightweight.
The payload is a bit smaller (because there is no xml tags
overhead), but it is a bit harder to parse.<br>
<br>
In terms of performance, the impact on OpenSIPS is not that huge
(unless you are doing >1000 queries per second).<br>
<br>
Hope this helps,<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 12/21/2016 10:36 AM, Kirill
Galinurov wrote:<br>
</div>
<blockquote
cite="mid:CAPDUut_EAc+PPVC=-iQwYtGs-SDSKh1MbJb7xj6MepKav_oaSw@mail.gmail.com"
type="cite">
<div dir="ltr">Hello all. we want to get some statistic from our
opensips. We want to use <a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.2.x/mi_datagram.html">http://www.opensips.org/html/docs/modules/2.2.x/mi_datagram.html</a>
module to send some fifo commands like ul_show, reg_list,
dlg_lists and others. What is the right way to get statistics
from opensips in realtime. Are there any performance issues in
mi_datagram module?
<div>I see that mi_datagram module used for v<span
style="color:rgb(0,0,0);font-family:roboto,arial,sans-serif">isualizing
OpenSIPS performance in</span></div>
<div><a moz-do-not-send="true"
href="https://www.youtube.com/watch?v=kfa6NuW7vgk">https://www.youtube.com/watch?v=kfa6NuW7vgk</a>
presentation on last opensips summit.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>