FreeTDM MTP2 API - Installation

    1. Prerequisites
    2. Install Wanpipe Drivers
    3. Install libsng_ss7
    4. Install Freetdm

    FreeTDM Linux Prerequisites

    - Recommended Linux distribution is CentOS, but is not strictly required.

    - GNU autotools: libtool, autoconf, automake, configure, gmake.

    On Centos 5.X:

    #> yum install autoconf bison flex make gcc gcc-c++ libtool automake ncurses-devel libtermcap-devel

    On Debian or Ubuntu:

    • Install tools needed before packaging: 
      #> apt-get install devscripts pbuilder gcc make bison automake autoconf flex libtool ncurses-dev
       
    • Let FreeTDM handle required dependencies from the source with pbuilder

     


    Wanpipe Quick Install


    1. Please download Wanpipe release (Wanpipe-3.5.20.18 or later)

    #>wget ftp://ftp.sangoma.com/linux/custom/3.5/wanpipe-3.5.20.18.tgz

    2. Untar wanpipe release in arbitrary directory (/usr/src/ is recommended).
    #> tar xvfz wanpipe-latest.tgz
    #> cd wanpipe-<version> 

    3. Compile and install Wanpipe drivers.
    #> make freetdm         (To compile Wanpipe drivers and utils)       
    #> make install              (To install Wanpipe drivers and utils)   

    4.Confirm successful Wanpipe Installation
    #> wanrouter hwprobe

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

     

    Note: Current libsng_ss7 MTP2-API only works on Sangoma A104 with firmware version 44 or later.
    For firmware update instructions, go to this page:
    http://wiki.sangoma.com/wanpipe-linux-aft-firmware-update

     


    Install libsng_ss7

    Download the lastest libsng_ss7 MTP2API Release

    32-bit:
    #>wget ftp://ftp.sangoma.com/linux/freetdm/mtp2api/libsng_ss7-mtp2api-1.0.0.i686.tgz

    64-bit: 
    #>wget ftp://ftp.sangoma.com/linux/freetdm/mtp2api/libsng_ss7-mtp2api-1.0.0.x86_64.tgz

    2. Untar the package
    #>tar xfz libsng_ss7-mtp2api-X.X.X.<arch>tgz

    3.Install libsng_ss7
    #>cd libsng_ss7-X.X.X 
    #>make install 



    Install FreeTDM

    1. Download the latest FreeTDM MTP2API Release.
    #>wget ftp://ftp.sangoma.com/linux/freetdm/mtp2api/freetdm-mtp2api-1.0.2.tgz

    2. Untar the package
    #>tar xfz freetdm-mtp2api-X.X.X.tgz

    3.Compile and install FreeTDM
    #>cd freetdm-mtp2api-X.X.X
    #>./configure --prefix=/usr/local/freetdm
    #>make
    #>make install 



    Proceed to Configuration