WELCOME [ Log In · Register ]        SITE [ Search · Page Index · Recent Changes ]    RSS

FreeSWITCH Installation

Wanpipe FreeSWITCH  Linux Installation

  1. Linux: Wanpipe TDM (PRI/BRI/Analog) Install for FreeSWITCH
  2. LInux: Installing FreeSWITCH/OpenZAP
  3. Linux: Advanced usage of Setup script 
  4. Linux: Wanpipe SS7 install for FreeSWITCH
  5. Wanpipe FreeSWITCH Appendix
  6. Linux: Package requirements prior to Wanpipe installation


Note that Wanpipe drivers must be installed before FreeSwitch because the FreeSWITCH build will
try to autodetect wanpipe drivers.



Wanpipe TDM (PRI/BRI/Analog) Installation (Linux)

 

  1. Download the appropriate WANPIPE® Release based on the Sangoma Hardware.
    Please download LATEST Wanpipe Release:  wanpipe-3.5.14.tgz
    ---
  2. Untar wanpipe release in arbitrary directory (/usr/src/ is recommended).
    #>tar xvfz wanpipe-<version>.tgz
    #>cd wanpipe-<version>
    After untarring WANPIPE®, the wanpipe<version>/ directory will be created.  
    ---
  3. Run make from the newly created wanpipe-<version> directory
       #>make openzap     (To compile wanpipe drivers and utils)   
       #>make install          (To install wanpipe drivers and utils) 
       #>make install_pri    (To install PRI for openzap)  
    or
       #>make install_bri    (To install Netbricks BRI for openzap)

    Note: PRI and Netbricks BRI protocol stack would require to install lksctp-tools-devel package.
    #> yum install lksctp-tools-devel
    or
    #> apt-get install lksctp-tools-devel

    ---

 
Confirm Successful Wanpipe Installation

  1. Confirm successful Wanpipe installation run:
    #>wanrouter hwprobe

    This command will load the wanpipe modules and will print out list of all Sangoma hardware installed on the system.  


 FreeSwitch & OpenZap installation (Linux)

 Installing FreeSwitch requires the following:

On Centos 5.X:

#> yum install subversion autoconf bison flex make gcc gcc-c++ libtool automake ncurses-devel
#> yum install lksctp-tools-devel 
    (sctp tools are very important otherwise openzap will not build properly)

On debian or ubuntu:

  •  Install tools needed before packaging:
    #> apt-get install devscripts pbuilder gcc make bison automake autoconf flex libtool
  • Let freeswitch handlerequired dependencies from the source with pbuilder
  • Install sctp tools
    #> apt-get install sctp-devel

 

To get the source of the latest development source, do the following:

  • Decide where you will place the sources (we use /usr/src/freeswitch)
  • Go to the parent directory of where you want to place the sources: cd /usr/src
  • Download the latest nightly snapshot .tar.gz and untar it:
  • # wget http://files.freeswitch.org/freeswitch-snapshot.tar.gz

Now lets proceed to build freeswitch.

 

Install FreeSwitch/OpenZAP via Source without packaging

  • Change into the freeswitch build directory
  • #> cd freeswitch
    #> ./bootstrap.sh
  • Configure the buildsystem
    #> ./configure
    OR to install in /opt/freeswitch
    #>
    ./configure --prefix=/opt/freeswitch
  • Select the modules to be build.
    The most important is to uncomment the openzap line
     --->  (#../../libs/openzap/mod_openzap)
    #> vi modules.conf
  • Build
    #> make all install
    #> make samples
    #> make sounds-install (to install the default sound files)
    #> make moh-install (to install default music on hold files)
  • Proceed to the Configuration Page

Proceed to: Configuring Wanpipe and Freeswitch


 

ftp://ftp.sangoma.com/linux/custom/DavidYS/wanpipe-3.5.8.6.smg_pri-v1.54.tgz