kamgo is a microservice that provides API for managing kamailio database.
-
Go 1.12 or higher
-
Do NOT disable Go modules (
export GO111MODULE=on
)
- release_mode - this will enable and disable the debug mode. default is false.
- log_level - logging level, it can be DEBUG,INFO,WARN,ERROR,OFF
- [app] name - name of the application
- [app] version - version of the application
- [server] graceful - graceful shutdown
- [server] addr - socket address
- [kam_database] name - kamailio database name
- [kam_database] user_name - database username
- [kam_database] host - database host
- [kam_database] port - database port
Sample configuration is config/config.toml. You can modify the database credentials as your enviornment.
There are 2 methods explained in this document to install kamgo:
- Manual Installation Steps
- Docker Based Installation
-
Clone the kamgo into your go path and change directory to cloned repository.
git clone https://@github.com/siprtc-io/kamgo.git cd kamgo
-
Build the kamgo microservice
go build -o kamgo main.go
-
Set the configuration as per your requirement
vim config/config.toml
-
Now you are ready the run the kamgo microservice
./kamgo
-
Clone the kamgo into your go path and change directory to cloned repository.
git clone https://@github.com/siprtc-io/kamgo.git cd kamgo
-
Build the kamgo microservice
docker build -t kamgo .
-
Now you are ready the run the kamgo microservice
docker run -p 9093:9093 kamgo
API Documentation link is coming soon.