This is Sangoma's old site. Please visit our new site for up date information.
 
WANPIPE
Architecture

Sangoma Software


Sangoma provides quality software products that enable telephony applications including legacy PBX, IVR, auto attendant, next generation gateways, media servers and application servers.

All Sangoma cards come equipped with WANPIPE Suite of Kernel Drivers/Stacks and Utilities.
Wanpipe Suite is a Modular, OS Agnostic Architecture, where single source tree supports multiple platforms and architectures.

Wanpipe Suite is comprised of:
  • Hardware Abstraction Driver Layer
  • Packet Switching Layer
  • TDM Voice Layer
    TDM Zaptel Interface Layer
    TDM API Layer
  • LIP WAN Protocol Layer
    LIP WAN IP Interface Layer
    LIP WAN API interface Layer
  • HW API Layer
    API interface to AFT Packet Switching Layer
  • Legacy API Layer
TDM Zaptel Interface Layer
The TDM Zaptel Interface layer is designed to support Asterisk/Zaptel Open PBX Architecture. It is heavily optimized code designed to take advantage of AFT Voice hardware features in order to drive the Zaptel Voice kernel module efficently and reliably.

TDM Voice Driver Features include:
  • Fully channelized hardware mapping to zaptel channel buffers.
    Where each channel is DMAd directly to zaptel channel buffers, resulting in zero copy TDM layer.
  • Single interrupt used for all ports on AFT hardware resulting in higher system performance
  • Adjustable hardware chunk size from 1ms (8bytes) to 10ms (80bytes) per chunk, resulting in significant performance improvement due to drastic reduction of hardware interrupts.
  • Hardware HDLC support on D-channels.
  • Hardware Echo Cancellation (1024 taps or 128ms per channel) using onboard Octasic DSP.
  • Hardware DTMF detection.
TDM API Voice Layer

The TDM API Voice Layer is desiged to support custom voice applications over Sangomas AFT Voice hardware. It is heavily optimized code designed to take advantage of AFT Voice hardware features in order to drive custom voice applications efficiently and reliably.

Open Source Switch/PBX application such as Freeswith and Yate use the TDM API layer to interface to Sangoma AFT hardware.

The TDM API Voice Features:
  • Fully channelized hardware mapping to TDM API channel buffers.
    Where each channel is DMAd directly to TDM API channel buffers, resulting in zero copy TDM layer.
  • Single interrupt used for all ports on AFT hardware resulting in higher system performance
  • Adjustable hardware chunk size from 1ms (8bytes) to 10ms (80bytes) per chunk, resulting in significant performance improvement due to drastic reduction of hardware interrupts.
  • Hardware HDLC support on D-channels.
  • Hardware Echo Cancellation (1024 taps or 128ms per channel) using on board Octasic DSP.
  • Hardware DTMF detection.
  • Transcoding to and from slinear / ulaw / alaw
  • TDM API Events: dtmf, rbs, cas, off hook, on hook ... etc.
LIP WAN Protocol Layer

LIP is a Sangoma WAN Protocol Stack designed to separate WAN Protocols from AFT/S514 Hardware drivers. Furthermore, LIP Protocol stack is OS independent and supports protocols in source or binary/object formats. Any protocol within the LIP layer can work with both AFT and S514 cards. Legacy protocols not in LIP layer can only work with legacy S514 cards.

A user can access the LIP WAN protocols in two ways: IP/Ethernet or API.

In IP/Ethernet mode, the LIP WAN protocol is connected to a kernel IP or kernel Ethernet stack and the OS routing table passes data to and from the protocol.

In Socket API mode, the LIP WAN protocol is connected to a kernel level socket that is used by application programmers to read and write custom data to and from the LIP WAN protocols.

LIP WAN Protocols that support interfaces to kernel IP/Ethernet layer as well as socket based API layer:
  • Frame Relay
  • PPP
  • CHDLC
  • ATM
LIP WAN Protocols that support only an interface to a socket based API layer:
  • MTP2 (in association with ss7box)
  • SDLC
  • LAPB