Giter VIP home page Giter VIP logo

3cx-sbc's Introduction

Requirements

  • A server running 3CX server
  • Linux subsystem or a Linux system with Ansible installed (Installation instructions below, Stap 1)
  • A Raspberry Pi flashed with Raspberry Pi OS to install the SBC on (Raspberry Pi OS Lite recommended).
  • SSH enabled on your Raspberry PI, instructions can be found here (On the side Step 3 recommended).

1. Install Ansible & other dependencies

apt install ansible && apt install sshpass -y
mkdir 3CXSBC && cd 3CXSBC

2. Download the Ansible script and the hosts file.

wget https://raw.githubusercontent.com/78wesley/3CX-SBC/main/hosts && wget https://raw.githubusercontent.com/78wesley/3CX-SBC/main/3cxsbc.yml

3. Configure hosts

Go to the hosts file and replace under [all] to the IP/Hostname of your Raspberry Pi on which you would like to install the 3CX SBC.

nano hosts

4. Run the Ansible script

When you run the ansible script, the script will asks you to fill in the following information:

  • What is the Web Url of 3CX?
  • What is the SBC Authentication KEY ID?
  • What will be the new password of the Raspberry Pi?

You can find this information if you add a new 3CX SBC within 3CX found at SIP-Trunk > Add SBC.

I recommend to use the SBC Password as the Raspberry Pi password so you will always be able to retrieve the password.

ansible-playbook -i hosts 3cxsbc.yml

Install the SBC without ansible (default SBC installer with headless install functionality)

Replace URL and KEY for your own SBC url and key.

wget -O- https://raw.githubusercontent.com/78wesley/3CX-SBC/main/3cxsbc.sh | bash /dev/stdin -u "URL" -k "KEY" -a 1

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.