opensips

OpenSIPS一键安装脚本-及OpenSIPs+N个FreeSWITCH实战技巧

China☆狼群 提交于 2021-02-13 05:30:25
本文提供一个OpenSIPS的一键安装包,OpenSIPs 可以作为FreeSwitch 的前端代理,实现多个FreeSwitch 负载均衡处理呼叫流量。 以 opensips-2.1.2.tar.gz 为例 安装环境CentOS 6.x 64 bit Step 1 Download 下载数据库配置文件 修改数据库信息 wget https://hk-area1-file.oss-cn-hongkong.aliyuncs.com/fsgui/init.conf 下载安装脚本 wget https://hk-area1-file.oss-cn-hongkong.aliyuncs.com/fsgui/opensips_install.sh 安装命令 sh opensips_install.sh 安装完成 opensips 自定启动 Step 2 启动 /usr/local/sbin/opensipsctl start 停止 /usr/local/sbin/opensipsctl stop Step 3 常用命令 /usr/local/sbin/opensipsctl start ps -ef|grep opensips /usr/local/sbin/opensipsctl stop ps aux | grep opensips(查看进程) netstat -ulpn|grep

PSTN to OpenSIPS to next SIP destination

不问归期 提交于 2021-02-10 16:44:10
问题 I have worked with Asterisk for years but I am very new to OpenSIPS. What I need is to have calls come in from our DID provider to the OpenSIPS server then redirect them to another SIP URI. Something like this: DID Origination Provider -> OpenSIPS -> next SIP server Basically I need the OpenSIPS server to sit between my DID provider and and Plivo which is basically a Twilio type service. I have installed OpenSIPS and the control panel GUI. Using the GUI I have successfully setup calls to go

Opensips + FreeSwitch 负载均衡

梦想与她 提交于 2020-10-15 07:19:15
概略 :在做Opensips + FreeSwitch 负载均衡的过程中,遇到的关键问题汇总记录。 基本配置 : 请参考: https://blog.51cto.com/908405/2235934 比我整理的好,请详细阅读。 几个问题 : 1、load_balancer表配置   字段:dst_uri ,值:sip: fs_ip_addr : fs_port   1)fs_ip_addr:fs_port 如果有错误,实际不存在,会报错     opensips报错:        DBG:load_balancer:lb_route: sequential call of LB - skipping destination 1 <sip:172.18.198.123:9060> (filtered=1 , disabled=0)       DBG:load_balancer:lb_route: sequential call of LB - no destination found     UAC报错:All GW Are Down.   2) fs_ip_addr:fs_port 要配置fs的公网ip,否则接听后双方都没声音 2、CODEC NEGOTIATION ERROR问题   fs日志     Audio Codec Compare [PCMA:8:8000:20

Problems on running a SIP application (UDP) on Kubernetes

三世轮回 提交于 2019-12-25 03:34:37
问题 I am trying to work on a SIP application (opensips presence server) on Kubernetes but it's not working as expected. The application runs on UDP port 5060 and clients also use same port to connect. I have created a NodePort service(because LoadBalancer only supports TCP) which exposes NodePort 5060 and container port is also 5060. Below is the spec: "spec": { "ports": [ { "port": 5061, "protocol": "UDP", "targetPort": 5060, "nodeport": 5060, "name": "sipu" } ], "selector": { "app": "opensips"

OpenSIPS 2.4 call forbidden

ぃ、小莉子 提交于 2019-12-06 13:35:58
问题 I discovered OpenSIPS and all the possibilities a few days ago. I would just use it as a simple SIP proxy to get started. Proxy between my designated UAC and my UAS (asterisk, not natted). The goal is to use a proxy to prevent bot attacks on my UAS. After installing OpenSIPS, I tried to configure my XLITE (natted) by simply adding the proxy URL in the configuration. It works, I register and I can see in my UAS peers my extensions with proxy IP. But when I make a call, I got a forbidden error.

Failed to create SipSession; network unavailable

自古美人都是妖i 提交于 2019-11-28 02:03:14
I've loaded the Android SIP Demo into Android Studio. I registered an account on getonsip.com, added it to my phone accounts, and verified it works by calling the phone from the getonsip.com webapp and also from one Android phone to another. All good so far. I modified the Java code from the demo slightly to accommodate the getonsip settings: SipProfile.Builder builder = new SipProfile.Builder(username, domain); builder.setOutboundProxy(proxy); builder.setPassword(password); builder.setAuthUserName(auth); builder.setAutoRegistration(true); builder.setPort(5060); builder.setProtocol("UDP");

Failed to create SipSession; network unavailable

我只是一个虾纸丫 提交于 2019-11-26 23:37:42
问题 I've loaded the Android SIP Demo into Android Studio. I registered an account on getonsip.com, added it to my phone accounts, and verified it works by calling the phone from the getonsip.com webapp and also from one Android phone to another. All good so far. I modified the Java code from the demo slightly to accommodate the getonsip settings: SipProfile.Builder builder = new SipProfile.Builder(username, domain); builder.setOutboundProxy(proxy); builder.setPassword(password); builder