if you use vicidox mean that wanpipe is installed if your usb sangoma was connected to your server when you start your cd vicibox.
so by default vicibox will start asterisk ans zaptel with ztdummy.
to do it very easy ,
1) First you should check is that the USB device is being detected by the PC, so you should see the following lines in the /var/log/messages when the device is unplugged and plugged in.
Unplugging will show something similar to the following:
Oct 6 22:57:30 localhost kernel: usb 4-2: USB disconnect, address 4
Plugging in the device will show something similar to the following:
Oct 6 22:57:34 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 5
Oct 6 22:57:35 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
If this does not show up then run the command "lspci | grep USB" and it will show something similar to the following. This indicates that your USB controller on the motherboard is enabled and recognized by your kernel. If you do not see any devices start by confirming that you have enabled the USB boards in your BIOS
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
then :
pico /etc/init.d/vicidial
and change this line :
# Zaptel module name, please replace with driver name for hardware card
# If using a wanpipe_voicetime modules, please change to wanpipe_voicetime
ZAP_MOD=wanpipe_voicetime
then reboot vicidial .
/etc/init.d/vicidial start
then
asterisk -r
zap show status
you need see :
WANVTIME/1 (source: wanpipe_voicetime) UNCONFIGUR 0 0 0
ok done