Freeswitch ESL Luamod install

 apt-get install lua5.2
 git clone https://github.com/signalwire/freeswitch.git -bv1.10 /usr/src/freeswitch.git
 cd /usr/src/freeswitch.git
 ./bootstrap.sh
 ./configure
 make -j
 cd /usr/src/freeswitch.git/libs/esl
 make luamod
 mkdir -p /usr/local/lib/lua/5.2
 cp lua/ESL.so /usr/local/lib/lua/5.2/ESL.so

check

cd /usr/src/freeswitch/libs/esl/lua
./single_command.lua status
UP 0 years, 277 days, 19 hours, 40 minutes, 24 seconds, 62 milliseconds, 483 microseconds
FreeSWITCH (Version 1.8.5 -6 64bit) is ready
3002 session(s) since startup
2 session(s) - peak 56, last 5min 4 
0 session(s) per Sec out of max 30, peak 16, last 5min 2 
1000 session(s) max
min idle cpu 0.00/98.00
Current Stack Size/Max 240K/8192K
  • freeswitch/api/luamod_install.txt
  • Последние изменения: 2020/03/20