MTP2 API Installation
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
Â
Please download Wanpipe release (Wanpipe-3.5.28.2 or later)
Untar wanpipe release in arbitrary directory (/usr/src/ is recommended).
#> tar xvfz wanpipe-latest.tgz
#> cd wanpipe-<version>Â
Compile and install Wanpipe drivers.
#> make freetdm     (To compile Wanpipe drivers and utils)    Â
#> make install        (To install Wanpipe drivers and utils)  Â
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.
Â
Install libsng_ss7
Download the lastest libsng_ss7 MTP2API Release
32-bit:Â
#>wget https://ftp.sangoma.com/linux/libsng_ss7/bkup/libsng_ss7-4.2.0.i686.tgz
64-bit:Â
#>wget https://ftp.sangoma.com/linux/libsng_ss7/bkup/libsng_ss7-4.2.0.x86_64.tgz
Untar the package
#>tar xfz libsng_ss7-mtp2api-X.X.X.<arch>tgz
Install libsng_ss7
#>cd libsng_ss7-X.X.XÂ
#>make installÂ
Install FreeTDM
Download the latest FreeTDM MTP2API Release.
Untar the package
#>tar xfz freetdm-mtp2api-X.X.X.tgz
Compile and install FreeTDM
#>cd freetdm-mtp2api-X.X.X
#>./configure --prefix=/usr/local/freetdm
#>make
#>make installÂ
Â