Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

benasse/flask-originate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flask-originate

originate asterisk call throught http

Status

This project is discontinued use potoo instead

install

git clone https://github.com/benasse/flask-originate.git
cd flask-originate
cp flask-originate.service /lib/systemd/system/
mkdir -p /usr/local/bin/flask-originate
cp app.py /usr/local/bin/flask-originate
systemctl daemon-reload
systemctl enable flask-originate.service
systemctl start flask-originate.service

default config

ip_whitelist = ['172.17.16.10']
dest_context = 'maquette1-key8964-internal'
dest_exten = '1234'
src_context = 'xivo-callme'
src_exten = '777'

examples

wget http:https://10.0.0.1:8001/?dest_exten=0606060606&dest_context=default&src_exten=777&src_context=xivo-callme
wget http:https://10.0.0.1:8001/?dest_exten=0606060606

uninstall

systemctl stop flask-originate.service
systemctl disable flask-originate.service
rm /lib/systemd/system/flask-originate.service
systemctl daemon-reload
rm -Rf /usr/local/bin/flask-originate

Releases

No releases published

Packages

No packages published

Languages