Skip to content

jitsi-contrib/sip-dial-plan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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