SANGOMA

wanpipe-freeswitch-install

FreeSwitch Linux Installation

  1. Linux: Package requirements prior to Wanpipe installation
  2. Linux: Wanpipe TDM Install for Freeswitch
  3. LInux: Installing FreeSWITCH/OpenZAP
  4. Linux: Advanced usage of Setup script 
  5. Linux: Wanpipe PRI Daemon install for Freeswitch


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



Wanpipe TDM Installation (Linux)

 

  1. Download the appropriate WANPIPE® Release based on the Sangoma Hardware.
    Please download LATEST Wanpipe Release:  wanpipe-3.5.6.5.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 Telesoft PRI for openzap)  
    or
       #>make install_bri    (To install Netbricks BRI for openzap)

    Note: Telesoft 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

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

Check out the latest development version from the freeswitch repository:

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
  • Check out trunk with subversion:
    # svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch
    # svn checkout http://svn.freeswitch.org:81/svn/freeswitch/trunk freeswitch
  • Subversion will download all required files and place hem in the freeswitch subdirectory

Now lets proceed to building 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 opezap 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


This page maintained by: Halo Kwadrat Sp. z o.o., Open Source Telephony

 

Site

Changes
Index
Search

 

User

 

Log In
Register

 
 

Last Modified 10/13/09 3:57 PM