Wanpipe Asterisk Install
TrixBox Installation
- Linux: Installing Wanpipe Drivers for TrixBox (RPM)
- Linux: TrixBox Wanpipe Drivers-RPM update instructions
- Linux: RPM Build Instructions
Elastix Installation
- Linux: Installing Wanpipe Drivers for Elastix (RPM)
PBX in Flash Installation:
- Linux: Installing Wanpipe Drivers for Zaptel
Asterisk Linux Source Installation
- Linux: Package requirements prior to Wanpipe installation
- LInux: Installing Asterisk/Zaptel/LibPRI
- Linux: Installing Wanpipe Drivers for Zaptel
- Linux: Advanced usage of Setup script
Asterisk FreeBSD Source Installation
- FreeBSD: Installing Asterisk/Zaptel/LibPRI
- FreeBSD: Installing Wanpipe Drivers for Zaptel (standalone package)
- FreeBSD: Installing Wanpipe Drivers for Zaptel (FreeBSD port)
Wanpipe TDM drivers just as Digium wct drivers, bind directly to
Zaptel. Therefore full zaptel headers are needed in order to compile
Wanpipe TDM kernel drivers.
Before starting WANPIPE installation please download full Asterisk package from http://www.asterisk.org/downloads. Located on the right hand side of the page are the latest releases of each program.
Installing Asterisk/Zaptel (Linux)
- Zaptel Installation
Download zaptel into arbitrary directory (/usr/src) and untar it.
#>tar xvfz zaptel-<version>
Make a symbolic link /usr/src/zaptel to the actual zaptel directory.
#>ln -s zaptel-<version> zaptel
#>cd zaptel
#>./configure
#>make
#>make install
- LibPRI Installation
Download libpri into arbitrary directory (/usr/src) and untar it.
#>tar xvfz libpri-<version>
#>cd libpri-<version>
#>make
#>make install
- Asterisk Installation
Download Asterisk into aribrary directory (/usr/src/) and untar it.
Make sure that old asterisk modules are removed from /usr/lib/asterisk/modules
#>tar xvfz asterisk-<version>.tgz
#>cd asterisk-<version>
#>./configure (in case of Asterisk 1.4 or above)
#>make
#>make install
#>make samples (in case of very first install)
Please note: (version) refers to the specific release of your program. For instance, zaptel-1.2.5.tar.gz, once untarred will create the folder zaptel-1.2.5.
Once zaptel, libpri and asterisk are downloaded and untarred, you may proceed with WANPIPE® installation.
After completing the WANPIPE® TDM installation, you may proceed to configuring the full Asterisk suite.
Wanpipe TDM/Zaptel Installation (Linux)
- Download the appropriate WANPIPE® Release based on the Sangoma Hardware. Refer to Wanpipe Drivers section.
- 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.
- Run ./Setup install from the newly created wanpipe-<version> directory
#>./Setup install
or
#>./Setup install --64bit_4GB
(in case X86_64bit & 4GB memory or more)
Proceed with installation Select "Y" for each option.
Under compilation mode: Select "TDM Only drivers" (Option #2).
Setup will ask you for location of zaptel sources?
[By default Setup will look in /usr/src/zaptel]
Zaptel 1.4 -> wanpipe drivers use zaptel supported hwdchan so no patching is needed.
Zaptel does not need to be recompiled
Zpatel 1.2-> Setup will ask you if you would like to add support for Sangoma HW HDLC DCHAN PRI to Zaptel.
"Enable TDMV DCHAN Native HDLC Support & Patch Zaptel ? (y/n)"
Select "Y" to Enable HW HDLC on DCHAN PRI in Zaptel.
Setup will ask you if you would like to recompile/reinstall Zaptel.
"Recompile/reinstall zaptel (recommended) ? (y/n) "
Select "Y" to recompile/reistall Zaptel
- Proceed with Defaults for the rest of the compilation.
- Last step in installation will ask you to configure wanpipe cards for Zaptel
-> Proceed with YES this is your initial installation
-> Note wancfg_zaptel configurator will overrite your zaptel.conf and zapate.conf files and
save the originals as zaptel.conf.bak and zapata.conf.bak
-> The configuration process continues on Configuration Section
If any errors are encountered during the compilation of the utilities, click here for assistance.
Confirm Successful Wanpipe/Zaptel Installation
- Confirm successful Wanpipe/Zaptel installation run:
#>wanrouter hwprobe
This command will load the wanpipe and zaptel modules and will print out list of all Sangoma hardware installed on the system.
Installing Asterisk/Zaptel (FreeBSD)
We recommend to use Asterisk/Libpri/Zaptel from FreeBSD Ports. You can visit this link for more details about Asterisk FreeBSD Project
- Zaptel Installation
You can skip the Zaptel installation if you are going to use Wanpipe from FreeBSD Ports (Wanpipe port will install Zaptel automatically). If you are going to use Wanpipe package, you need install Zaptel now.
Change directory to /usr/ports/misc/zaptel
#> cd /usr/ports/misc/zaptel
#> make
#> make install
- LibPRI Installation
Change directory to /usr/ports/misc/libpri
#> cd /usr/ports/misc/libpri
#> make
#> make install
- Asterisk Installation
Change directory to /usr/ports/net/asterisk
#> cd /usr/ports/net/asterisk
#> make
#> make install
To install asterisk-addons, change directory to /usr/ports/net/asterisk-addons and run `make;make install`
Once Zaptel, Libpri and Asterisk are installed, you may proceed with WANPIPE® installation.
After completing the WANPIPE® TDM installation, you may proceed to configuring the full Asterisk suite.
Wanpipe TDM/Zaptel Installation for FreeBSD OS
- Download the appropriate WANPIPE® Release based on the Sangoma Hardware from ftp://ftp.sangoma.com/FreeBSD/wanpipe directory and execute following command:
#> pkg_add wanpipe-<version>.tbz
- Installation utility will create /usr/local/wanpipe-<version> directory, untar all files into this directory and update package database with new wanpipe package.
After this, installation utility will execute post-install script.
Proceed with installation Select "Y" for each option (if you don't want to load Wanpipe during boot sequence, say "No" for that questions).
Under compilation mode: Select "TDM Voice Support Only " (Option #2).
Setup will ask you for location of zaptel sources? Select Option #1 (as we recommend it)
- Proceed with Defaults for the rest of the compilation.
If any errors are encountered during the compilation of the utilities, please contact out Tech support Team.
Confirm Successful Wanpipe/Zaptel Installation
- Confirm successful Wanpipe/Zaptel installation run:
#>wanrouter hwprobe
This command will load the wanpipe and zaptel modules and will print
out list of all Sangoma hardware installed on the system.
Wanpipe Port TDM/Zaptel Installation for FreeBSD OS
We are in a process to commit Wanpipe driver into FreeBSD kernel. Until then, extra step will require in order to install Wanpipe port distribution.
- Change directory to /usr/ports/misc
- Download the latest wanpipe-<version>-port.tar.gz from ftp://ftp.sangoma.com/FreeBSD/wanpipe/ports directory.
- Untar it from /usr/ports/misc
#> tar xvzf wanpipe-<version>-port.tar.gz
This will create wanpipe directory under /usr/ports/misc directory.
- Change directory to /usr/ports/misc/wanpipe
#> cd /usr/ports/misc/wanpipe
- Compile and install Wanpipe port:
#> make
Select compilation TDM_VOICE option.
#> make install
If any errors are encountered during the compilation of the utilities, please contact out Tech support Team.
Confirm Successful Wanpipe/Zaptel Installation
- Confirm successful Wanpipe/Zaptel installation run:
#>wanrouter hwprobe
This command will load the wanpipe and zaptel modules and will print
out list of all Sangoma hardware installed on the system.
|