Advertisement
mavroudis

freeswitch 10 on debian 12

May 7th, 2025 (edited)
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apt update && apt install -y autoconf automake devscripts g++ git libtool make pkg-config libncurses5-dev libssl-dev libcurl4-openssl-dev libpcre3-dev libspeexdsp-dev libedit-dev yasm libldns-dev libpq-dev liblua5.3-dev libopus-dev libsndfile1-dev libavformat-dev libswscale-dev libvpx-dev libx264-dev libvlc-dev libvlccore-dev libshout3-dev libmp3lame-dev libgsm1-dev libjpeg-dev libspandsp-dev python3 python3-pip unzip uuid-dev libsndfile1-dev libtool-bin libsqlite3-dev libunwind-dev libvlc-dev libvlccore-dev libiksemel-dev libgdbm-dev libperl-dev libtiff-dev libxml2-dev liblua5.3-dev libyuv-dev libsystemd-dev libhiredis-dev libmemcached-dev
  2.  
  3. cd /usr/src/
  4. git clone https://github.com/freeswitch/sofia-sip
  5. git clone https://github.com/freeswitch/spandsp
  6. git clone https://github.com/signalwire/freeswitch.git -b v1.10 freeswitch
  7.  
  8. cd /usr/src/sofia-sip && ./bootstrap.sh -j && ./configure && make && make install && /sbin/ldconfig
  9. cd /usr/src/spandsp && ./bootstrap.sh -j && ./configure && make && make install && /sbin/ldconfig
  10. # replace v18.h with https://raw.githubusercontent.com/freeswitch/spandsp/05d755cde127942285342dbae40ab8b2b668561d/src/spandsp/v18.h
  11.  
  12. cd /usr/src/freeswitch && git config pull.rebase true && ./bootstrap.sh -j
  13.  
  14. vim modules.conf
  15.  
  16. `
  17. applications/mod_hiredis
  18. applications/mod_commands
  19. applications/mod_conference
  20. applications/mod_curl
  21. applications/mod_db
  22. applications/mod_dptools
  23. applications/mod_expr
  24. applications/mod_fifo
  25. applications/mod_hash
  26. applications/mod_lcr
  27. applications/mod_memcache
  28. applications/mod_nibblebill
  29. applications/mod_spandsp
  30. dialplans/mod_dialplan_xml
  31. endpoints/mod_loopback
  32. endpoints/mod_sofia
  33. event_handlers/mod_event_socket
  34. event_handlers/mod_json_cdr
  35. formats/mod_sndfile
  36. formats/mod_tone_stream
  37. languages/mod_lua
  38. loggers/mod_console
  39. loggers/mod_logfile
  40. loggers/mod_syslog
  41. say/mod_say_en
  42. xml_int/mod_xml_curl
  43. databases/mod_pgsql
  44. `
  45.  
  46. ./configure --prefix=/opt/freeswitch --disable-libyuv --disable-libvpx --enable-64 --disable-srtp --enable-systemd && make && make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement