SSH into the Media Server.
Open /etc/freeswitch/autoload_configs/lua.conf.xml
Find the line near the end containing <!-- Subscribe to events -->
Insert the following under it:
CODE
<hook event="CHANNEL_BRIDGE" subclass="" script="channel_bridge.lua"/>
<hook event="CHANNEL_UNBRIDGE" subclass="" script="channel_unbridge.lua"/>
<hook event="CHANNEL_CALLSTATE" subclass="" script="channel_state.lua"/>
Save the file.
Run the command:
CODE
systemctl restart freeswitch