-
Notifications
You must be signed in to change notification settings - Fork 8
Freeswitch
alochym01 edited this page May 3, 2018
·
7 revisions
- version 1.6.20
- install freeswitch repo
- 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
- Startup
- systemctl start freeswitch.service
- Start up at boot time
- systemctl enable freeswitch.service
- Shutdown firewalld and disable firewalld
- systemctl stop firewalld
- systemctl disable freeswitch.service
- 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>
- mod_hash
- using vars.xml
<X-PRE-PROCESS cmd="set" data="max_calls=1"/>
- mod_callcenter
- Mod_event_socket
- switch.conf.xml
<configuration name="switch.conf" description="Core Configuration">
<cli-keybindings>
<key name="1" value="help"/>
<key name="2" value="status"/>
<key name="3" value="show channels"/>
<key name="4" value="show calls"/>
<key name="5" value="sofia status"/>
<key name="6" value="reloadxml"/>
<key name="7" value="console loglevel 0"/>
<key name="8" value="console loglevel 7"/>
<key name="9" value="sofia status profile internal"/>
<key name="10" value="sofia profile internal siptrace on"/>
<key name="11" value="sofia profile internal siptrace off"/>
<key name="12" value="version"/>
</cli-keybindings>
<settings>
<param name="colorize-console" value="true"/>
<param name="dialplan-timestamps" value="false"/>
<param name="max-db-handles" value="50"/>
<param name="db-handle-timeout" value="10"/>
<param name="max-sessions" value="1000"/>
<param name="sessions-per-second" value="30"/>
<param name="loglevel" value="debug"/>
<param name="mailer-app" value="sendmail"/>
<param name="mailer-app-args" value="-t"/>
<param name="dump-cores" value="yes"/>
<param name="rtp-enable-zrtp" value="false"/>
</settings>
</configuration>