Hi, Kirill!
If you want to get info from OpenSIPS remotely, you have two choices:
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.
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.
In terms of performance, the impact on OpenSIPS is not that huge (unless
you are doing >1000 queries per second).
Hope this helps,
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 12/21/2016 10:36 AM, Kirill Galinurov wrote:
Hello all. we want to get some statistic from our opensips. We want to
use http://www.opensips.org/html/docs/modules/2.2.x/mi_datagram.html
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?
I see that mi_datagram module used for visualizing OpenSIPS performance in
https://www.youtube.com/watch?v=kfa6NuW7vgk presentation on last
opensips summit.
_______________________________________________
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