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

Wanpipe Freeswitch Install

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 drives 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.10.9.smg_pri-v1.66.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
#> 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

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
    OR if the above checkout does not work, try the following:
    # 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

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