Giter VIP home page Giter VIP logo

custompbx's Introduction

CustomPBX

CustomPBX (currently in development) is an API server and Web GUI for FreeSwitch, offering a pure FreeSWITCH experience. It can be installed on existing systems, allowing for the import of existing configurations. The system is encapsulated within a single binary file.

Please note that this project is still in development, has not undergone extensive testing, and may potentially have security vulnerabilities.

The Backend is developed using Golang v.1.19 and is located in the src/custompbx directory.

The Frontend, built with Angular v.16, can be found in the src/cweb-app directory.


System Requirements:

  • Linux OS (amd64)
  • FreeSWITCH
  • Postgres Database

Build Process

To initiate the build process, execute the following command:

make install

For rebuilding after resolving dependencies, use:

make build

To locally run the frontend, perform the following steps: build and test the project, set the backend websocket URL using the command export WS_BACKGROUND_OVERRIDE=wss://HOST:PORT/ws, and finally execute:

make front-serve

Additional options can be found in the Makefile.

The compiled binary file is located in the bin/ directory and can be used as outlined in the Documentation.

Alternatively, you can utilize the precompiled binary available on the Releases Page.


Build with Docker (TEST ONLY)

A Docker version of the project is also available, currently intended for testing purposes only. In the docker-compose.yml file:

  • Replace the token with yours - SIGNALWIRE_TOKEN=<YOUR_TOKEN_HERE>
  • Modify the host if necessary: WS_BACKGROUND_OVERRIDE=wss://127.0.0.1:8080/ws
  • Start the containers and open https://127.0.0.1:8080/cweb (or your Docker host), making sure to allow self-signed certificates.

You can start Docker with PostgresDB + Freeswitch + Custompbx by using the command:

docker compose up -d

Documentation

For detailed instructions on Installation and Configuration, please refer to the project's Wiki Page.

If you have any questions or feedback, don't hesitate to get in touch through the discussions or by opening an issue!

system diagram


GUI Demo

demo

custompbx's People

Contributors

zusrut avatar nguyen26052004 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.