WELCOME [ Log In · Register ]        SITE [ Search · Page Index · Recent Changes ]    RSS

U100 - USBfxo

  1. Download Drivers
  2. Firmware Installation
  3. Hardware Installation 
  4. Driver Installation 
  5. USBfxo Configuration/Operation

[ FreeSwitch Users Click Here ]

 


Download Drivers

Driver version 3.6.0.12 is a required update.  

Download:
-> LINUX: Wanpipe-3.6.0.12.tgz


Firmware Installation

Firmware version 21 is a required update  (NOTE: Wanpipe 3.6.0.12 or greater is needed to update firmware)

Firmware can be found at http://wiki.sangoma.com/sangoma-hardware#aft_firmware

Update Instructions can be found at http://wiki.sangoma.com/wanpipe-linux-aft-firmware-update


Hardware Installation

You will just simply have to plug the USB cable into the U100 and then into the server.
 
NOTE: The current driver does not support hot-plug functionality, so after our drivers are started you can not safely add/remove the device. To check if the drivers are running run "wanrouter status", if they are running run "wanrouter stop all" after insuring Asterisk is stopped. Please see USBfxo Configuration/Operation for further details. 
 

Driver Installation 

 

  1. 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.  
  2. 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/reinstall Zaptel  
  3. Proceed with Defaults for the rest of the compilation.  
  4. Last step in installation will ask you to configure wanpipe cards for Zaptel
    -> Proceed with YES this is your initial installation
    -> Note wancfg_zaptel  will overwrite your zaptel.conf and zapata.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

  1. Confirm successful Wanpipe/Zaptel installation run:
    #>wanrouter hwprobe
    -------------------------------
    | Wanpipe Hardware Probe Info |
    -------------------------------
    1. U100       : BUS=2 : V=00

    Card Cnt: U100=1

    This command will load the wanpipe and zaptel modules and will print out list of all Sangoma hardware installed on the system. 

 

 


USBfxo Configuration/Operation

 

 

1) To configure the device just simply run "wancfg_zaptel" from the command line.

2) To start the device with Asterisk follow the three steps below.

# wanrouter start (to start our drivers)

# ztcfg -vvv (to start Zaptel)

# asterisk (to start Asterisk)

# asterisk -r (to login to the Asterisk CLI)

# zap show channels (to see all the zap channels)

3) To stop the device with Asterisk follow the two steps below.

# asterisk -r (to login to the Asterisk CLI)

# stop now (to stop Asterisk)

# wanrouter stop (to stop our drivers)