Wanpipe Driver
Overview
The WANPIPE solution is comprised of:
- Sangoma AFT intelligent multi-protocol
Voice/WAN T1/E1/ADSL adapters or cards - Kernel device drivers (Linux/Windows)
- Suite of configuration, operation and debugging utilities
Voice/Telephony Solutions
Asterisk®, FreeSWITCH™, Yate ...
Our WANPIPE solution for telephony is 100% compatible with Asterisk, FreeSWITCH, Yate and other Soft PBX. It offers enhanced features such as hardware echo cancellation and hardware HDLC for DCHAN channels. We also offer scalable, distributed, enterprise level SS7 Asterisk solution using Asterisk and FreeSWITCH. For customers looking to develop custom voice applications, Sangoma offers a uniform, versatile Voice TDM APIthat can be used to develop custom Voice application over all Sangoma Hardware adaptors.
WAN Routing Solutions
With reference to the Open System Interconnection (OSI) protocol framework, the Sangoma “S” adapters along with the WANPIPE device drivers provide a physical and W AN data link layer to the Linux Kernel IP Routing Stack. The Linux IP Stack, using its powerful internal routing table, routes packets to and from the WANPIPE drivers. The full power of Linux stacks and applications are engaged over WANPIPE.
WANPIPE S-series adapters support data transfer rates up to 8Mbps. By adding a Sangoma WAN/ADSL component to the proven reliability of the Linux kernel, a powerful multi-T1/E1/ADSL router/firewall is created.
Sangoma AFT and S-series cards supportl on-board T1/E1/T3 CSU/DSU. In other words, a T1/E1/T3 line can be connected directly to the card eliminating all external components found in a traditional routing solution.
The following WAN protocols are supported: ATM, Frame Relay, PPP, MULTILINK PPP and CHDLC.
API Solutions
WANPIPE supports a full socket based API stack that can be used to develop custom applications over WAN protocols.
Sangoma API protocols include: X25(API), Frame Relay (API), HDLC (API), BitStreaming (API), BiSync (API), SDLC (API) and SS7 (API).
Using the WAN API suite, a vast range of applications can be developed,
such as: Credit card verification, Voice-over IP, Protocol/Line Data Scope, Satellite Comm and Legacy interconnect.
What is Wanpipe?
Wanpipe is a suite of drivers and utilities that enable all Sangoma hardware (except for Sangoma Transcoding). Sangoma kernel device driver (WanpipeTM) is a unified linux & windows code base that works with all sangoma hardware devices.
The unified device driver core provides application support for:
-> Dahdi/Zaptel
Provides API support for dahdi/zaptel with Asterisk.
-> TDM API
Provides libsangoma API support over voice b-chan and d-chan, used for FreeSWITCH
-> WAN IP mode
Provides IP/WAN support via WAN protocols (PPP,CHDLC,Frame Relay...)
-> DATA API
Provides libsangoma API support over HDLC. (non-voice mode)
-> Legacy API
Linux and Windows specific Data API mode (not supported any more)
The driver is very flexible and allows multiple applications to run over single Sangoma hardware.
For example one can run Asterisk on T1 channels 10-23+24dchan, and WAN/IP over channels 1-9.
In other words, you must install the Wanpipe Driver to use your Sangoma hardware :)
-----------
Wanpipe Linux Package
Wanpipe package for Linux contains:
-> Linux device drivers for all kernel versions, all dahdi/zaptel versions and all sangoma hardware.
-> User space utilities and scripts that are used to start,stop and debug the driver.
The wanpipe kernel driver is separated into 5 separate kernel modules.
- sdladrv - hw abstraction layer
- wanrouter - user interface layer and proc file system
- wanec - echo canceller layer
- wanpipe - core and application layer : dahdi, tdmapi, data api, legacy api
- wanpipe_lip - WAN protocol layer: PPP,CHDLC,Frame Relay
(Optional: not compiled for dahdi only mode)
Installation
Click below to install Wanpipe for the following application:
-> Asterisk
-> FreeSWITCH
-> API mode
Once Wanpipe is installed for your application, proceed to the Configuration section
Configuration
Once the Wanpipe driver is installed for your application, you must configure the driver for use. Click the appropriate application below to configure:
-> Asterisk
-> FreeSWITCH
-> API mode
Operation
The Wanpipe Driver contains many scripts, utilities and applications to control its operation. Below are a list of the typically used ones. Click HERE for a complete list
wanrouter : Wanpipe operation script used to start/stop/restart Wanpipe drivers
| wanrouter stop |
: stops the driver, including all interfaces/ports (Asterisk/FreeSWITCH
or your application must be stopped prior to stopping the driver)
| wanrouter start |
: starts the driver and brings up all interfaces/ports
| wanrouter restart |
: first stops the wanpipe driver and all interfaces/ports,
then starts up again
| wanrouter status |
: Checks the current state of all wanpipe interfaces/ports
("connected", or "disconnected)
| wanrouter hwprobe |
: detects the Sangoma hardware on the system and displays the card type,
slot/bus location, firmware version and hardware echo cancellation info
wanpipemon : Wanpipe debugging application used to debug the hardware, drivers and sync line
| wanpipemon -i <if name> -c Ta |
: used to check for Alarms on the line. Typically used if
"wanrouter status" displays "disconnected" when a line is plugged in
| wanpipemon -i <if name> -c ehw |
: used to monitor Hardware Echo Cancellation
| wanpipemon -i <if name> -c trd |
:Raw trace on the line. Used to verify D-channel signaling on PRI/BRI, and MTP2 for SS7
wancfg: Wanpipe Configuration tool
| wancfg_dahdi |
: script used to configure Sangoma card(s) with DAHDI for Asterisk use
| wancfg_fs |
: script used to configure Sangoma card(s) with FreeSWITCH
| wancfg_smg |
: script used to configure Sangoma card(s) with SMG
| wancfg |
: script used to configure Sangoma card(s) for API/WAN, HDLC streaming







