SANGOMA

U100 - USBfxo

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

 

 


Download Drivers

Download:
-> LINUX: Latest 3.5.X Release

 


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)

 

 

 

Comments

From mykroft - 6/14/09 9:07 PM

What does the Red/Green LEDs mean for status? Mine are already solid red when drivers loaded, when machine boots they flash between green/red.

From sashi - 5/22/09 5:30 AM

When will the Windows driver for USBfxo be available?

From mogami - 3/9/09 1:04 AM

Please tell me instruction for asterisk1.6 & DAHDI.

From cunnie - 3/16/09 6:46 PM

Instructions for USBFXO + DAHDI + Asterisk 1.6

 # first, let's build dahdi-linux
cd /tmp
tar xzvf dahdi-linux-2.1.0.4.tar.gz
cd dahdi-linux-2.1.0.4
make
sudo make install
cd ..
tar xzvf dahdi-tools-2.1.0.2.tar.gz
cd dahdi-tools-2.1.0.2
./configure
# make menuselect has no interesting options
make
sudo make install
sudo make config
# okay, now let's rebuild wanpipe for the umpteenth time
cd /tmp
tar xzvf wanpipe-3.5.0.27.tgz
# now create /etc/asterisk so that wanpipe works properly
sudo mkdir /etc/asterisk
cd /tmp/wanpipe-3.5.0.27
sudo ./Setup dahdi
    y   # install WANPIPE now
    m   # Enter zaptel path manually
    /tmp/dahdi-linux-2.1.0.4
    y   # configure wanpipe devices for DAHDI
    1   # yes
    1   # generate /etc/asterisk/chan_dahdi.conf
    1   # configure USB U100 on bus:3-2
    1   # MULAW - North America
    1   # FCC
        # Press any key to continue
        # Press any key to continue
    1   # Continue
    1   # Save cfg: Restart Asterisk & Wanpipe now

# Error: Zaptel device failed to come up
# Possible Cause: UDEV not installed!
# Starting Asterisk...
# Error executing command:
# asterisk

    2   # Continue
    2   # continue "dahdi show channels" failed
    1   # wanrouter to start on system boot

cp /etc/asterisk/chan_dahdi.conf /tmp/  # backup
cd /tmp
tar xzvf asterisk-1.6.0.6.tar.gz
cd asterisk-1.6.0.6
./configure
# make menuselect - looks okay
make
sudo make install
sudo make samples
# copy our chan_dahdi.conf back
sudo cp /tmp/chan_dahdi.conf /etc/asterisk/
sudo chkconfig dahdi on
# remember, Asterisk doesn't start automatically because we built from
# source, so you'll need to add something to /etc/rc.local to start asterisk.

Site

Changes
Index
Search

 

User

 

Log In
Register

 
 

Last Modified 5/7/09 6:55 PM