Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 929 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 929 Bytes

sip-dial-plan

This is a simple service which publishes SIP dialing plans for video SIP gateway. It checks the token and sends the dialing plan as a response if the token is valid.

The dialing plan is in dial-plan.json

installation

  • Install packages as root:
apt-get install unzip curl git
  • Install deno as root:
cd /tmp
wget -T 30 -O deno.zip \
    https://github.com/denoland/deno/releases/latest/download/deno-x86_64-unknown-linux-gnu.zip
unzip -o deno.zip
cp /tmp/deno /usr/local/bin/

deno --version
  • Get a copy of the repo (don't run as root):
git clone https://github.com/jitsi-contrib/sip-dial-plan.git

configuration

Update the following files according to your environment:

running

Don't run as root:

cd sip-dial-plan
bash sip-dial-plan.sh