当前位置:网站首页>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
边栏推荐
- MapReduce&Yarn理论
- 动态库连接 - 符号冲突 - 全局符号介入
- The basis of C language grammar -- function nesting, Fibonacci sum of recursive applet and factorial
- I am in Zhongshan. Where can I open an account? Is online account opening safe?
- install realsense2: The following packages have unmet dependencies: libgtk-3-dev
- Champions League data set (Messi doesn't cry - leaving Barcelona may reach another peak)
- SQL function
- jar版本冲突问题解决
- Tensorflow dynamically allocates video memory
- SSM项目小例子,SSM整合图文详细教程
猜你喜欢
2021-11-29 轨迹规划五次多项式
自动化测试——pytest本身及第三方模块介绍及使用
Druid data source for background monitoring
Upgrade idea to 2021.2 shortcut keys
online trajectory generation
The basis of C language grammar -- pointer (multidimensional array, function, summary) learning
logback
WGCLOUD的web ssh服务端口是多少
How to create an IE tab in edge browser
logback
随机推荐
测试须知——常见接口协议解析
Getting started with Flink - word statistics
Several connection query methods of SQL (internal connection, external connection, full connection and joint query)
This new change of go 1.16 needs to be adapted: the changes of go get and go install
MapReduce&Yarn理论
Flink入门——单词统计
SSM项目小例子,SSM整合图文详细教程
Install new version cmake & swig & tinyspline
LeetCode 958. 二叉树的完全性校验
十万行事务锁,开了眼界了。
Single sign on logic
【二分查找】4. 寻找两个正序数组的中位数
Vscode common programming fonts
#云原生征文# 在 Google Kubernetes Cluster 上使用 HANA Expression Database Service
Speed test of adding, deleting, modifying and querying 5million pieces of data in a single MySQL table
Problems encountered by jupyter notebook
halcon 光度立体
online trajectory generation
Glide's most common instructions
软件测试---如何选择合适的正交表