Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev flex bison patch libtool autoconf linux-headers-$(uname -r) libxml2-devel dev cmake


Download Software Packages


  1. Download the latest official release of the Sangoma Wanpipe Driver
    1. Copy & Paste the line,without the quotes, into your Linux command line in the /usr/src/ directory.This will automatically download from the internet.
      -> "  wget "


      If your server does not have internet access simply download the driver on another machine with internet access, then transfer the downloaded .tgz package to /usr/src on this serer.

  2. Un-compress the download Wanpipe driver (.tgz file) located in /usr/src
    1. tar xvfz wanpipe-current.tgz
    2. cd wanpipe-<version>/


  3. Install the Sangoma Wanpipe driver by typing the following in the newly created wanpipe-<version> directory:
     ./Setup install


    For A116 Customers: please use ./Setup install --dahdi-chunk=40  

    You will be guided through a series of prompts through the rest of the installation process.

    You will notice the Wanpipe driver installation splash screen next. 

    Press 'y' to continue

    You will be presented with a dependency check with pass/fail results.  If there are any failures, you must exist and install missing dependency manually.
    Press [enter] to continue

    Press [enter] on the following screen for default kernel source location.  

    If there are any error messages that result, that means you are missing your Linux kernel development packages.
    This also means that during the 'Preparing your Operating system for software packages' step above has failed to download your kernel-devel packages. If this happens you must search online for the kernel-devel packages for your kernel, then download and install using (rpm -i...)

    Press [enter] to continue

    Next you will be presented with 7 different options on how to install the Wanpipe driver.

    Select option 2 to install the Wanpipe driver for Asterisk

    You will be asked to provide the location of your DAHDI software package. 
    If you have downloaded and installed DAHDI in /usr/src/, simply press the number pertaining to the location.
    In the example below, Press 1.

    In this example, the user has dahdi version 2.7.0 installed on their system

    If your DAHDI installation lives in another directory, press 'm' then manually enter the full path
    If you have multiple DAHDI versions on your system, select the correct one.
    (to find out which version of dahdi is installed on your system simply type dahdi_cfg -vvv command in another Linux window)

    The Wanpipe driver will now start to compile on your Linux operating system.

    Press 'y' to proceed

    Press [enter] to continue

    Press [enter] to continue

    he example above is for an a108 8 port E1/T1 card 

    continue to press [enter] as seen below

    press [enter] to continue

    You should end up with the following screen. If you see error messages, then you are missing system dependencies.  

    continue to press [enter] when asked.

    Press 'y' to install Wanpipe start scripts

    The following screen indicates that the Wanpipe driver has completed installation on your server and is now ready to start Configuring your Sangoma hardware on your system

    Press 'y' to configure all Sangoma hardware installed on server. 
    If you have installed Wanpipe to upgrade from a previous version, you must exit installation now because if you continue you will overwrite all previous configuration 

    If you have not installed your Sangoma hardware yet, you can exit the installation, install hardware and continue by typing wancfg_dahdi command to start configuration script.


     your Sangoma hardware was NOT detected by your system, or if the Wanpipe driver failed to install properly, the following screen will appear

    The on-screen prompts that present next will be unique to your Sangoma hardware and specific to your telco settings.
    We will not show these screens here, but if you wish to see more details on what screens would show next, please visit the specific wancfg_dahdi pages for details

    After you have completed the configuration section of your Sangoma hardware, the following summary screen will be presented.

    Example from configuration of 1 analog card

    Select option 3 below to save and stop Asterisk & Wanpipe (if already running). Any new configuration will apply only after restarting


     If you see the following screen, simply press option 2 (YES) to proceed

    Select option 1 to start Wanpipe on system boot. If your server ever reboots unintentionally, you will want the driver to automatically start in order to have your server back in production without manual intervention

    Select option 1 (YES) to have 'dahdi_cfg' run after the Wanpipe driver starts. This step configures on Wanpipe ports for dahdi

    You have now fully installed and configured your Sangoma Hardware for your Asterisk server!

    To verify that you have successfully installed the Sangoma Wanpipe driver by typing the following command in your Linux command line:
    -> wanrouter hwprobe

    You should see details of your Sangoma hardware auto-detected in your system.  
    If you see an error message, this means the Wanpipe driver was NOT installed correctly.  
    Please open /var/log/messages file for error details