Voicetime Troubleshooting
- How to verify that your system is detecting the Voicetime USB device
- How to verify that Voicetime USB is functioning
1. How to verify that your system is detecting the Voicetime USB device
Monitor /var/log/messages as you unplug and re-plug the Voicetime in the USB port
->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 you do not see the above results then run the following command:
-> lspci | grep USB
->The output of the above command should display similar results as follows
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)
->The above results indicate that your USB controller on the motherboard is enabled and recognized by your kernel.
->If you do not see any devices start, then confirming that you have enabled the USB boards in your BIOS
2. How to Verify Voicetime is Functioning
After you have verified that your system is detecting the Voicetime USB device, you may proceed with the following to verify that the Voicetime device is replacing the Dahdi/Zaptel kernel Modules
- Type the following command in your Linux CLI:
For Dahdi support:
-> cat /proc/dahdi/1
For Zaptel support:
-> cat /proc/zaptel/1
If your output is "cat: /proc/dahdi/1: No such file or directory", then you have not started dahdi/zaptel.
To start dahdi/zaptel run one of the following commands that relates to your system:
-> /etc/init.d/dahdi start
-> /etc/init.d/zaptel start
Then go back to the beginning of Step1
- - The results of Step 1 should display the following:
-> Span 1: WANVTIME/1 "WANVTIME/1 (source: wanpipe_voicetime) 1" (MASTER)
This output indicates that the Voicetime USB device has replaced the kernel module for dahdi/zaptel, which were dahdi_dummy/ztdummy respectively
If you do not see the above results, check /var/log/messages to verify the following:
Oct 6 23:15:58 localhost kernel: wanpipe_voicetime: Loading WANPIPE USB Voice Sync Timer Driver - v1.0.3
Oct 6 23:15:58 localhost kernel: wanpipe_voicetime: Probing WANPIPE USB Voice Sync Timer Driver on 5...
Oct 6 23:15:58 localhost kernel: usbcore: registered new driver wanpipe_voicetime
- - If all of the above steps prove successful then enter the Asterisk CLI and type the following:
For Dahdi support:
-> dahdi show status
For Zaptel support:
-> zap show status
Successful output will show the following in your Asterisk CLI:
Description Alarms IRQ bpviol CRC4
WANVTIME/1 (source: wanpipe_voicetime) UNCONFIGUR 0 0 0
The above result indicates that Asterisk is using the Voicetime for timing that is running in the dahdi/zaptel layer below
- - To test that the Voicetime device is working properly, run the following command in your Linux CLI:
-> dahdi_test (dahdi support)
-> zttest (zaptel support)
The results of the above command should give an average result of 99.9% and above.
*Note: Do not use the results of the above command as a sole means for the performance of the Voicetime device
The following two methods are good evidence that the Voicetime device is currently being used and is functioning properly:
1. While viewing live results of dahdi_test/zttest, unplug the Voicetime device from the USB port. If you notice the results fluctuate instantly, then the voicetime is running perfectly. Make sure to unload the drivers before re-inserting the device back into the USB ports as the device does not support 'hot-plug' functionality.
2. Perform many conference calls at one given time and listen to the audio quality. If the audio quality is poor, or sounds robotic, this may be something related to the Voicetime device. Please send an email to techdesk@sangoma.com if this may be the case