FreeSWITCH          




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download FreeSWITCH latest trunk and put them in /optusr/sourcessrc/freewitch

Code Block
cd /usr/src/

wget -O - https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -
echo "deb http://files.freeswitch.org/repo/deb/debian-unstable/ jessie main" >> /etc/apt/sources.list.d/freeswitch.list
apt-get update
apt-get install -y --force-yes freeswitch-video-deps-most


git config --global pull.rebase true
git clone https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch

cd /usr/src/freeswitch
./bootstrap.sh 

...

Code Block
 ./configure -prefix=/usr/local/freeswitch --enable-core-odbc-support 
  make 
  make install 
  make sounds-install 
  make moh-install 


Upgrade to latest

...

git

Code Block
 cd /usr/src/freeswitch
 make current 

...

Code Block
   <extension name="easyroute_limit_exceeded">
       <condition field="destination_number" expression="^LE-(\d{10})$" break="on-true">
              <action application="answer" />
              <action application="playback" data="/optusr/local/freeswitch-svn/sounds/en/us/callie/misc/8000/circuitsbusy.wav"/>
              <action application="respond" data="503 Out of Channels"/>
       </condition>
   </extension>

...


Optimizations
 Stop FreeSWITCH /optusr/local/freeswitch/bin/freeswitch -stop

Lowering FS Log Level vi /optusr/local/freeswitch/conf/autoload_configs/switch.conf.xml

...


Set Call Admission Control vi /optusr/local/freeswitch/conf/autoload_configs/switch.conf.xml

...


Use Proxy Media to keep FS in the RTP media path (topology hiding) but without analyzing RTP or DTMF vi /optusr/local/freeswitch/conf/sip_profiles/external.xml

...


Disable Presence Support in SIP_Profiles vi /optusr/local/freeswitch/conf/sip_profiles/internal.xml

...