Advertisement
load-net

rtpengine install Debian GNU/Linux 11 (bullseye)

Apr 19th, 2022 (edited)
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. cat /etc/*-release
  2. PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
  3. NAME="Debian GNU/Linux"
  4. VERSION_ID="11"
  5. VERSION="11 (bullseye)"
  6. VERSION_CODENAME=bullseye
  7. ID=debian
  8. HOME_URL="https://www.debian.org/"
  9. SUPPORT_URL="https://www.debian.org/support"
  10. BUG_REPORT_URL="https://bugs.debian.org/"
  11.  
  12. apt-get remove --auto-remove nftables
  13. apt-get purge nftables
  14. apt-get update
  15. apt-get install iptables
  16. iptables -L -v
  17. apt-get install iptables-persistent
  18. iptables-save > /etc/iptables/rules.v4
  19. ip6tables-save > /etc/iptables/rules.v6
  20. iptables-restore < /etc/iptables/rules.v4
  21.  
  22.  
  23. cd /usr/src/
  24. apt-get autoremove -y
  25. apt-get update && apt-get dist-upgrade -y --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages gnupg gnupg2
  26.  
  27. apt install -y dpkg-dev
  28. git clone https://github.com/sipwise/rtpengine.git
  29. cd /usr/src/rtpengine
  30. dpkg-checkbuilddeps
  31. 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
  32. dpkg-buildpackage -d
  33.  
  34. cd /usr/src/rtpengine/daemon
  35. ./rtpengine --interface=public/10.20.7.122 --interface=private/10.20.7.122 --listen-ng=127.0.0.1:7724
  36. ps -ax | grep rtp
  37. dpkg -i *.deb
  38. service ngcp-rtpengine-daemon status
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement