当前位置:网站首页>Openxcap usage
Openxcap usage
2022-06-26 09:56:00 【crystal199708】
0. install
Download installation package :
http://download.ag-projects.com/XCAP/
Unzip the file : xxx.tar.gz
Go to unzip directory : cd xxx
install : sudo python setup.py install
1. start-up
command :sudo The installation path /openxcap start
Running in the background :openxcap --no-fork
1. Report errors :no module named application
install python-application-2.8.0.tar.gz
2. Report errors :CRITICAL [server]:cannot start openxcap cannot create logger directory [Errno 13]
Switch to su root The user action .
3. Report errors :no module twisted
install twisted-13.0.0.tar.ba2, The error is reported on the CD , Find the corresponding library , Installation .
Report errors :error: command ‘x86_64-linux-gnu-gcc‘ failed with exit status 1
resolvent : install python2.7-dev_2.7.13-2_amd64.deb
If other dependency errors are reported , To adapt to dpkg -i xxx.deb Can be installed .
4. Report errors :no module named logger
install :girl1.2-telepathylogger-0.2_0.8.2-2_amd64.deb、logger1.4.tar.gz
Overlay installation Twisted-16.6.0.tar.bz2
Report errors :could not find suitable distribution for Requirement.prase(‘incremental>=16.10.1’)
resolvent :
2. scripts Folder function parsing
Entry required mysql:mysql -uroot -p
establish openxcap database :create databases openxcap;
Use openxcap database :use openxcap;
Create a table :
(1) mysql-create-tables.sql file , Is a script file for creating database tables , After entering the database , perform ,source mysql-create-tables.sql after , According to the content of the script , Create database tables .
Set database access permissions :
(2) my-create-user.sql file , It is a script file that adds database permissions for users , Execution method reference (1).
Before implementation , Please pay attention to the content prompt in the file :“ visit opensips database , take opensips Replace with the real database name . Replace passwords and private with actual values ( I set the local service startup )ip Address ”.
Add information :
(3) add-openxcap-user.py file , Is a script file that generates information to insert into the database .
usage :python add-openxcap-user.py u1 192.168.159.123 123456
Will generate :
INSERT INTO subscriber (username,domain,password,ha1) VALUES……
Usage method : The statement to be generated , Assign values to the database mysql>……
You can insert user data into the table .
3. The configuration file
After installation , Configuration file in /etc/openxcap In the folder , Need to put simple Make a new copy of the file and rename it :config.ini, Change adaptability into what you need .
Configure the reference :https://blog.51cto.com/u_1221655/3400546
边栏推荐
- Internationalization configuration
- 软件测试---如何选择合适的正交表
- druid数据源实现后台监控
- 力扣------从数组中移除最大值和最小值
- 节流,防抖,new函数,柯里化
- TensorFlow动态分配显存
- 动态库连接 - 符号冲突 - 全局符号介入
- Flutter's brain map notes are easy to find and search!
- The basis of C language grammar -- factoring by function applet
- #云原生征文# 在 Google Kubernetes Cluster 上使用 HANA Expression Database Service
猜你喜欢

SSM项目小例子,SSM整合图文详细教程

Software testing - how to select the appropriate orthogonal table

druid数据源实现后台监控

What is the web SSH service port of wgcloud

logback

How to create an IE tab in edge browser

Detailed explanation of the network security competition questions (2) of the 2021 national vocational college skills competition (secondary vocational group)

Day 3 array, pre post, character space, keyword and address pointer

#云原生征文# 在 Google Kubernetes Cluster 上使用 HANA Expression Database Service

Summary of common commands of vim
随机推荐
自动化测试——关于unitest与pytest初始化共存问题
LeetCode 基本计算器 224. 227. follow up 394
The basis of C language grammar -- function nesting, Fibonacci sum of recursive applet and factorial
异常记录-23
Leetcode connected to rainwater series 42 (one dimension) 407 (2D)
Click the mask layer to close the pop-up window
Configuration internationale
SQL高级教程
2021 national vocational college skills competition (secondary vocational group) network security competition questions (1) detailed analysis tutorial
How to create an IE tab in edge browser
同花顺炒股软件安全性怎样?在同花顺怎么开户
Why do some functions in the go standard library have only signatures but no function bodies?
Teach you to use shell script to check whether the server program is running
Software testing - how to select the appropriate orthogonal table
国际化配置
[trajectory planning] testing of ruckig Library
libgstreamer-1.0. so. 0: cannot open shared object file: No such file or directory
Force buckle ----- remove the maximum and minimum values from the array
Cento7.7 elk installation simple record
SQL advanced tutorial