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
- Install packages as
root
:
apt-get install unzip curl git
- Install
deno
asroot
:
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
Update the following files according to your environment:
Don't run as root
:
cd sip-dial-plan
bash sip-dial-plan.sh