Skip to content

Opensips blog

Заметки voip инженера

  • Talant Blogs about VOIP
  • Готовые сервисы
    • PUSH NOTIFICATIONS API
  • Kamailio
  • Opensips
  • О себе и реквизиты

Tag: opensips

Auth SIP manual

2022-06-182022-06-21 yooxyman

How to md5 auth SIP client manually if you have access to DB with passwords:in short words: # How to calculate manual response to send into Authorization header # HA1=MD5(username:realm:password) # HA2=MD5(method:digestURI) # response=MD5(HA1:nonce:HA2) route[auth] { if (!is_present_hf(“Authorization”)) return; # < converts string with ‘,’ to string with ‘;’ $var(raw_auth) = $hdr(Authorization); $var(reg_input)=$var(raw_auth); xlog(“$var(reg_input) [$ci]”); […]

Continue Reading"Auth SIP manual"
Posted in opensipsTagged auth, manual, md5, opensips, sip client comment on Auth SIP manual

Update opensips 3.2.2 -> 3.2.6 centos 7

2022-05-24 yooxyman

процедура такая получилась:1. удаляем новую Libmicrohttpd2. обновляем Opensips и ставим http и prometheus модули со старой либой2.1 копируем модули от нового в tmp3. Удаляем старую либу(она удаляется с модулями http и prometheus)4. ставим новую либу Libmicrohttpd5. копируем модули httpd и prometheus из tmp в папку с Opensips lib6. делаем копию файла libmicrohttpd.12 -> libmicrohttpd.107. после […]

Continue Reading"Update opensips 3.2.2 -> 3.2.6 centos 7"
Posted in opensipsTagged 3.2.6, centos, centos 7, libmicrohttpd, opensips, update comment on Update opensips 3.2.2 -> 3.2.6 centos 7

Opensips. MI. Json. Zabbix.

2022-01-282022-01-28 yooxyman

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 […]

Continue Reading"Opensips. MI. Json. Zabbix."
Posted in opensips, Без рубрикиTagged json, opensips, statistics, zabbix comment on Opensips. MI. Json. Zabbix.

Opensips 3.2, Homer 7

2022-01-17 yooxyman

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 ######## # […]

Continue Reading"Opensips 3.2, Homer 7"
Posted in opensipsTagged homer, homer7, install, opensips comment on Opensips 3.2, Homer 7

Permission denied interface 80, 443

2022-01-17 yooxyman

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

Continue Reading"Permission denied interface 80, 443"
Posted in opensips, ssl\tls, Без рубрикиTagged interface, opensips, permission comment on Permission denied interface 80, 443

Ansible Part II. Install opensips,opensips-cli,opensips control panel.

2021-12-102021-12-10 yooxyman

You can use this Ansible roles to install full Opensips + Control Panel with one command. For some reason roles to install Opensips from ansible galaxy not working as expected. I have modified some roles to make it works. This will good only for Debian 10 and Centos 7. Most popular systems. Roles will install […]

Continue Reading"Ansible Part II. Install opensips,opensips-cli,opensips control panel."
Posted in ansible, opensips, Готовые решенияTagged centos 7, debian 10, install, opensips, opensips control panel, opensips-cli comment on Ansible Part II. Install opensips,opensips-cli,opensips control panel.

183 ringback. OPensips + Rtpproxy.

2021-03-122021-03-25 yooxyman

Задача подменить КПВ идущее от провайдера на 10 секунд, далее прокидывать КПВ от провайдера. Задача решается при помощи opensips 3.1 + rtpproxy 2.1 и минимальной конфигурацией. rtpproxy прекрасно компилируется на базу Ubuntu 20opensips 3.1 устанавливается из репозиториев с конфигурацией по умолчанию для проигрывания своего приветсвия необходимо сделать 2 вещи: а) подключить rtpproxy и использовать rtpproxy_stream2uac […]

Continue Reading"183 ringback. OPensips + Rtpproxy."
Posted in opensips, Готовые решенияTagged 183, opensips, replacement, ringback, rtpproxy, rtpproxy_stream2uac, session progress comment on 183 ringback. OPensips + Rtpproxy.

opensips as SBC

2020-12-222021-01-23 yooxyman

Example of opensips SBC with 2 interfaces with full RTP proxy and g729 transcoding. Software: opensips 3.1, rtpengine, bcg729. example settings for rtpengine: OPTIONS=”-i external/172.18.254.50!EXTERNAL_IP -i internal/172.25.150.242 -n 127.0.0.1:2223 -m 35000 -M 65000 -L 4 –log-facility=local1 –table=0 –delete-delay=0 –timeout=60 –silent-timeout=600 –final-timeout=7200 –offer-timeout=60 –num-threads=4 –tos=184 –no-fallback” example opensips config: git clone https://bitbucket.org/yooxy/opensips-sbc-local-external-transcode.git

Continue Reading"opensips as SBC"
Posted in opensips, Без рубрики, Готовые решенияTagged centos 7, g729, opensips, rtpengine, SBC, transcoding comment on opensips as SBC

opensips 3.1 centos 7

2020-10-012020-10-09 yooxyman

Установка Opensips 3.1\opensips-cli\database на centos 7 отключаем в epel пакеты с opensips 1.10 (add to epel.repo: exclude=opensips*) устанавливаем репозиторий для centos 7: yum install epel-release yum install https://yum.opensips.org/3.1/releases/el/7/x86_64/opensips-yum-releases-3.1-5.el7.noarch.rpm устанавливаем все пакеты в репозитории opensips yum repo-pkgs opensips install далее установим opensips-cli, делать это лучше с git-hub: yum install git -y git clone https://github.com/OpenSIPS/opensips-cli.git yum install python36 […]

Continue Reading"opensips 3.1 centos 7"
Posted in opensipsTagged 3.1, centos7, opensips, opensips-cli comment on opensips 3.1 centos 7

TCP\TLS NAT Zoiper

2020-09-24 yooxyman

Столкнулся с проблемой, когда через sip прокси (opensips) не проходили пакеты (OPTIONS, NOTIFY, INVITE) в сторону uac при использовании TCP и TLS протоколов. при TLS opensips ругался 477/Send Error, при использовании TCP – 408 timeout. И действительно пакеты с opensips уходили, но не доходили до UAC. Причина была в использовании STUN, если его отключить на […]

Continue Reading"TCP\TLS NAT Zoiper"
Posted in Asterisk, opensips, ssl\tlsTagged 408, 477, opensips, tcp, timeout, tls comment on TCP\TLS NAT Zoiper

Posts navigation

Older posts

My Profile

Eremin Pavel

Voip developer

P: 79227502213

E: eremina.net@gmail.com

Hire me on Freelancer.com

Управление

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Облако

AMI (4) asterisk (19) centos (7) centos 7 (5) certbot (2) certificate (2) debian (3) dispatcher (2) duplicate (2) elastix (3) error (4) events (2) fail (3) freepbx (8) g729 (3) google (2) how to (2) ilbc (2) install (2) ios (2) issabel (4) issue (2) json (2) Kamailio (12) libmicrohttpd (2) limit (2) Load (3) local (2) manual (2) Mysql (8) nat (2) opensips (18) opensips-cli (3) opus (2) PAMI (2) rtpengine (7) rtpproxy (2) SBC (3) ssh (3) timeout (3) tls (5) transcoding (2) voip (4) webrtc2sip (3) windows (3)

Recent Posts

  • TIPS for rpm, rpmbuild, yum
  • Rtpengine. Opus. Ilbc.
  • Oracle Centos 8. Rtpengine with all codecs supported.
  • Auth SIP manual
  • Update opensips 3.2.2 -> 3.2.6 centos 7

Archives

  • October 2022
  • August 2022
  • June 2022
  • May 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • September 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • January 2018
  • December 2017
  • November 2017
  • July 2017
  • June 2017
  • May 2017
  • February 2016
  • December 2015
  • August 2015
  • June 2015
  • April 2015
  • February 2015
  • November 2014
  • September 2014
  • July 2014
  • June 2014
  • May 2014
  • August 2013
  • July 2013
  • April 2013
  • September 2012

Categories

  • ansible
  • Asterisk
  • ChannelRedirect
  • freepbx_tips
  • freeswitch
  • kamailio
  • opensips
  • rtpengine
  • SQL запросы
  • ssl\tls
  • Unix вопросы
  • vmware
  • Без рубрики
  • Безопасность
  • Городские номера
  • Готовые решения
  • Общее
  • переадресация
  • Проблемы в коде
  • Проблемы при настройке
  • Эксперт

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2023 Opensips blog

Proudly powered by WordPress | Theme: x-blog by wpthemespace.com