Немного о том, как настраивать tls_mgm. TLS domain это обозначение настроек, которое никак не связано с доменами в SIP заголовках. Оно используется для того, что дать opensips возможность определить какие сертификаты использовать для входящих\исходящих соединений. Какие сертификаты (читай: какой TLSdomain) использовать при входящем звонке, Opensips определяет по SIP domain в (SNI) записи в сертификате присылаемом […]
Month: January 2022
Opensips. MI. Json. Zabbix.
Opensips 3.2 have beautiful statistics module. For example you may get Data about average count of incoming sip messages directly from MI interface. Also you can output it on Zabbix graph. Enable mi_http module, add into opensips.conf:loadmodule “httpd.so”loadmodule “mi_http.so”modparam(“mi_http”, “root”, “mi”) Load statistics module and define statistics profiles and add update_stat_series() functions to script, check […]
Opensips-cli. Json. jq.
You know that opensips -x mi dlg_list will produce a lot of JSON output, what if i want to get only dialogs with state = 4 ? There are beautiful tool like “jq” present in unix. (documentation) For example output from command “opensips-cli -x mi profile_get_size profile=calls”: { “Profile”: { “name”: “calls”, “value”: null, “count”: […]
Register here to leave comments or asks something
Hey, colleagues, glad to say i am open registration here so you can leave comments. Всем, привет, на открыл регистрацию здесь – можете оставлять комменты к постам.
Opensips 3.2, Homer 7
Advantages of using Opensips + Homer is possibility to see webrtc\tls traffic There is how to set simplest configuration on opensips side and Homer side. Homer 7 instruction for Debian 10. OPENSIPS: socket=hep_udp:ens5:9000 socket=hep_tcp:ens5:9000 … loadmodule “proto_hep.so” loadmodule “tracer.so” modparam(“proto_hep”, “hep_capture_id”, 5002) modparam(“proto_hep”, “hep_id”, “[hid]homer_ip:9060; transport=tcp; version=3”) modparam(“tracer”, “trace_id”, “[tid]uri=hep:hid”) ####### Routing Logic ######## # […]
Permission denied interface 80, 443
If you get permission denied for interface when start opensips. Like 44 interface for TLS, solution is here (https://superuser.com/questions/710253/allow-non-root-process-to-bind-to-port-80-and-443) in short words:setcap CAP_NET_BIND_SERVICE=+eip /usr/sbin/opensips