惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Security Latest
Security Latest
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
GbyAI
GbyAI
云风的 BLOG
云风的 BLOG
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
Spread Privacy
Spread Privacy
P
Proofpoint News Feed
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
MyScale Blog
MyScale Blog
T
Tor Project blog
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
P
Privacy & Cybersecurity Law Blog
MongoDB | Blog
MongoDB | Blog
Simon Willison's Weblog
Simon Willison's Weblog
C
Cybersecurity and Infrastructure Security Agency CISA
L
LINUX DO - 热门话题
小众软件
小众软件
G
GRAHAM CLULEY
P
Privacy International News Feed
AWS News Blog
AWS News Blog
Know Your Adversary
Know Your Adversary
P
Palo Alto Networks Blog
人人都是产品经理
人人都是产品经理
S
Schneier on Security
Scott Helme
Scott Helme
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
T
The Exploit Database - CXSecurity.com
Recent Announcements
Recent Announcements
E
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
U
Unit 42
The Register - Security
The Register - Security
S
Securelist
Martin Fowler
Martin Fowler
Project Zero
Project Zero
大猫的无限游戏
大猫的无限游戏
Cisco Talos Blog
Cisco Talos Blog

博客园 - PerKins.Zhu

基于 UniMRCP 的 ASR 插件开发详解:架构、API 与代码 unimrcp_plugin_demo_recog_engine.c 源码解析 unimrcp_plugin_demo_synth_engine.c 源码解析 UniMRCP 插件开发指南 freeswitch【解决方案】— 使用ffmpeg时,生成时总是提示找不到外部引用 freeswitch【解决方案】— 使用mod_odbc_cdr记录cdr时获取不到b leg 的call-id问题 freeswitch模块开发—mod_python3编译安装 freeswitch模块开发—mod_unimrcp 编译及加载(VS2019) freeswitch模块开发【问题排查】—已存在XXX.lob 中定义,重复引入依赖 centos 安装 sngrep freeswitch模块开发【问题排查】—mod_soundtouch 模块变声无效,电流音 freeswitch模块开发【问题排查】—load模块时提示 127错误 vs2019 编译加载 mod_soundtouch 进行变声测试 freeswitch 新模块开发三(VS2019) VS2019 开发freeswitch 问题排查汇总 TLS可信任自签名CA证书配置 debian安装kamailio voip服务监控及运维 debian 编译安装rtpproxy
debian 编译安装 opensips
PerKins.Zhu · 2023-10-07 · via 博客园 - PerKins.Zhu

安装依赖 

apt-get install gcc bison flex make openssl libmysqlclient-dev perl libdbi-perl libdbd-mysql-perl libdbd-pg-perl libfrontier-rpc-perl libterm-readline-gnu-perl libberkeleydb-perl mysql-server ssh libxml2 libxml2-dev libxmlrpc-core-c3-dev libpcre3 libpcre3-dev subversion libncurses5-dev git ngrep libssl-dev

 下载源码

wget https://opensips.org/pub/opensips/latest/opensips-3.3.7.tar.gz

解压后配置模块

注意: opensipsctl 在3.X版本已经取消,替换为opensips-cli.需要手动自行安装

https://github.com/OpenSIPS/opensips-cli/blob/master/docs/INSTALLATION.md

 opensips-cli.cfg 配置:

[default]
log_level: WARNING
prompt_name: opensips-cli
prompt_intro: Welcome to OpenSIPS Command Line Interface!
prompt_emptyline_repeat_cmd: False
history_file: ~/.opensips-cli.history
history_file_size: 1000
output_type: pretty-print
communication_type: fifo
fifo_file: /tmp/opensips_fifo
database_schema_path: /home/app/opensips-3.3.7/scripts/  #这个配置项必须要有,否则不会创建表,该路径为opensips的源码目录 (需删除注释)
database_modules: ALL
database_admin_url: mysql://root@localhost

opensips 启动命令 : opensips 

退出命令: opensips-cli -x mi kill

在使用 opensips-cli的时候,如果发生错误,可以用 -d 参数开启debug模式,显示详细信息

--end