Dockerized OpenSIPS Control Panel Development Environment
July 22, 2024 ยท View on GitHub
This repository provides a Docker environment for developers to work with OpenSIPS, OpenSIPS-CP (with all its tools), a MySQL server, and both RTPProxy and RTPengine.
Installation
Clone the Repository and start the containers:
git clone https://github.com/OpenSIPS/docker-opensips-cp-all-tools.git
cd docker-opensips-cp-all-tools
docker compose up --build -d
Access
You can access Control Panel at http://localhost/cp.
Configuration
You can configure IP addresses, ports, and other settings in the .env file, but for the following services you can do more:
- OpenSIPS - edit
.cfgfiles found inetc/opensips/ - OpenSIPS-CP - add or remove modules in
etc/opensips-cp/image/modules.inc.php+ you can add your own scripts inetc/opensips-cp/docker-entrypoint.d/(they will be executed on container startup) - MySQL -
.sqlscripts atetc/mysql/are meant to be executed on container startup, to create the database and tables needed by OpenSIPS - RTPProxy - you can change the range of ports by modifying
MINPORTandMAXPORTin.envfile