Skip to content

Freeswitch

alochym01 edited this page May 3, 2018 · 7 revisions

Freeswitch

  • version 1.6.20

Install Freeswitch

  1. install freeswitch repo
  1. Install freeswitch and packages dependancy
  • yum install -y freeswitch-config-vanilla freeswitch-lua freeswitch-codec-opus freeswitch-sounds-music-8000 freeswitch-sounds-en-us-callie-8000

Freeswitch Configuration

  1. Startup
  • systemctl start freeswitch.service
  1. Start up at boot time
  • systemctl enable freeswitch.service
  1. Shutdown firewalld and disable firewalld
  • systemctl stop firewalld
  • systemctl disable freeswitch.service
  1. Dial-plan

  2. Mod_lua

<configuration name="lua.conf" description="LUA Configuration">
  <settings>
    <param name="xml-handler-script" value="directory.lua"/>
    <param name="xml-handler-bindings" value="directory"/>
  </settings>
</configuration>
  1. mod_hash
  • using vars.xml <X-PRE-PROCESS cmd="set" data="max_calls=1"/>
  1. mod_callcenter
  2. Mod_event_socket

Clone this wiki locally