Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /etc/*-release
- PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
- NAME="Debian GNU/Linux"
- VERSION_ID="11"
- VERSION="11 (bullseye)"
- VERSION_CODENAME=bullseye
- ID=debian
- HOME_URL="https://www.debian.org/"
- SUPPORT_URL="https://www.debian.org/support"
- BUG_REPORT_URL="https://bugs.debian.org/"
- apt-get remove --auto-remove nftables
- apt-get purge nftables
- apt-get update
- apt-get install iptables
- iptables -L -v
- apt-get install iptables-persistent
- iptables-save > /etc/iptables/rules.v4
- ip6tables-save > /etc/iptables/rules.v6
- iptables-restore < /etc/iptables/rules.v4
- cd /usr/src/
- apt-get autoremove -y
- apt-get update && apt-get dist-upgrade -y --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages gnupg gnupg2
- apt install -y dpkg-dev
- git clone https://github.com/sipwise/rtpengine.git
- cd /usr/src/rtpengine
- dpkg-checkbuilddeps
- apt install -y ddebhelper-compat default-libmysqlclient-dev gperf libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libbcg729-dev libbencode-perl libcrypt-openssl-rsa-perl libcrypt-rijndael-perl libcurl4-openssl-dev libdigest-crc-perl libdigest-hmac-perl libevent-dev libglib2.0-dev libhiredis-dev libio-multiplex-perl libio-socket-inet6-perl libiptc-dev libjson-glib-dev libjson-perl libmosquitto-dev libnet-interface-perl libpcap0.8-dev libpcre3-dev libsocket6-perl libspandsp-dev libssl-dev libswresample-dev libsystemd-dev libwebsockets-dev libxmlrpc-core-c3-dev libxtables-dev markdown python3-websockets zlib1g-dev
- dpkg-buildpackage -d
- cd /usr/src/rtpengine/daemon
- ./rtpengine --interface=public/10.20.7.122 --interface=private/10.20.7.122 --listen-ng=127.0.0.1:7724
- ps -ax | grep rtp
- dpkg -i *.deb
- service ngcp-rtpengine-daemon status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement