app_rpt: Don't hard hangup channels currently executing PBX. #302
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
container: | |
runs-on: ubuntu-latest | |
container: debian:12 | |
steps: | |
- name: Build Asterisk | |
run: | | |
cd /usr/src | |
apt-get update -y | |
apt-get install -y wget procps | |
sysctl net.ipv6.conf.all.disable_ipv6 | |
wget https://docs.phreaknet.org/script/phreaknet.sh | |
chmod +x phreaknet.sh | |
./phreaknet.sh make | |
phreaknet update | |
phreaknet install --dahdi --lightweight --alsa --fast --devmode | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build app_rpt | |
run: | | |
pwd | |
ls -la .. | |
ls -la | |
cp -r ../app_rpt /usr/src | |
ls -la /usr/src | |
cd /usr/src/app_rpt | |
./rpt_install.sh |