How do I install a Sangoma VoiceTime USB Device?

What is the Sangoma VoiceTime USB Device?

 

The Sangoma VoiceTime UT50 USB Device is a USB key that provides a source of timing to Asterisk.  Previously, this had to be done via a 2 port FXO card or similar analog device.  The benefit to using the VoiceTime UT50 is that it is much less expensive than an analog card.

Asterisk needs a clock signal to do recording, conferencing, etc, and Asterisk gets this clock signal from Zaptel.

Normally Zaptel gets it's clocking from a Zaptel hardware card but when Zaptel doesn't find any hardware it loads a program called ZTDUMMY.  ZTDUMMY is simple program that uses software  to emulate a 1ms second timer.  The problem is that ZTDUMMY is not reliable when the system gets bogged down a little.

The Sangoma VoiceTime UT50 provides a reliable source of timing to Asterisk without having to purchase a separate analog card that will not be used in the system.

More information about the Sangoma VoiceTime UT50 can be found here:

http://www.sangoma.com/products_and_solutions/hardware/specialty_tools.html

Minimum System Requirements:

PBXtra 4.1 (CentOS 4.3)

trixbox Pro 4.1.2 (CentOS 4.4)

note: Fedora Core 3 PBXtra's are not supported at this time.

 

Required Software:

FONdetect-4.1.1865

 

PBXtra:

wanpipe_voicetime-modules-2.6.9-34.EL-1.0.9-2

wanpipe_voicetime-modules-2.6.9-34.ELsmp-1.0.9-2

 

trixbox Pro:

wanpipe_voicetime-modules-2.6.9-42.EL-1.0.9-2

wanpipe_voicetime-modules-2.6.9-42.ELsmp-1.0.9-2

 

Install Instructions:

The first step is to install the Sangoma VoiceTime UT50.  To do so, log into your Fonality PBX and shut it down with:

shutdown -h now

Once the system is down, plug the UT50 into one of the USB ports.

*** NOTE:  If you are using a Dell 1950 III, there are USB ports inside the chassis that will allow you to install the UT50 without it being exposed outside of the server.

Power your server back on and SSH into it as root.

 

[root@trixboxNNNNNN ~]# yum clean all

Cleaning up Everything

2 headers removed

1 packages removed

3 metadata files removed

0 cache files removed

1 cache files removed
 
[root@trixboxNNNNNN ~]# yum update FONdetect

[root@trixboxNNNNNN ~]# yum install wanpipe_voicetime-modules-2.6.9-42.EL wanpipe_voicetime-modules-2.6.9-42.ELsmp
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for wanpipe_voicetime-modules-2.6.9-42.ELsmp to pack into transaction set.
wanpipe_voicetime-modules 100% |=========================| 1.7 kB    00:00     
---> Package wanpipe_voicetime-modules-2.6.9-42.ELsmp.i386 0:1.0.9-2 set to be updated
---> Downloading header for wanpipe_voicetime-modules-2.6.9-42.EL to pack into transaction set.
wanpipe_voicetime-modules 100% |=========================| 1.7 kB    00:00     
---> Package wanpipe_voicetime-modules-2.6.9-42.EL.i386 0:1.0.9-2 set to be updated
--> Running transaction check
 
Dependencies Resolved
 
=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 wanpipe_voicetime-modules-2.6.9-42.EL  i386       1.0.9-2          fonality           79 k
 wanpipe_voicetime-modules-2.6.9-42.ELsmp  i386       1.0.9-2          fonality           82 k
 
Transaction Summary
=============================================================================
Install      2 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         
Total download size: 161 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): wanpipe_voicetime- 100% |=========================|  82 kB    00:00     
(2/2): wanpipe_voicetime- 100% |=========================|  79 kB    00:00     
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: wanpipe_voicetime-modules-2. ######################### [1/2] 
WARNING: /lib/modules/2.6.9-42.EL/kernel/drivers/usb/cl***/usb-midi.ko needs unknown symbol unregister_sound_midi
WARNING: /lib/modules/2.6.9-42.EL/kernel/drivers/usb/cl***/usb-midi.ko needs unknown symbol register_sound_midi
  Installing: wanpipe_voicetime-modules-2. ######################### [2/2] 
WARNING: /lib/modules/2.6.9-42.ELsmp/kernel/drivers/usb/cl***/usb-midi.ko needs unknown symbol unregister_sound_midi
WARNING: /lib/modules/2.6.9-42.ELsmp/kernel/drivers/usb/cl***/usb-midi.ko needs unknown symbol register_sound_midi
 
Installed: wanpipe_voicetime-modules-2.6.9-42.EL.i386 0:1.0.9-2 wanpipe_voicetime-modules-2.6.9-42.ELsmp.i386 0:1.0.9-2
Complete!
 
 
Note: The usb-midi.ko errors are normal and do not affect performance of your PBX.
 
 

Configuration Instructions:

Log in at the console as IP/IP and you will get this menu:

***NOTE:  You can also bring up this menu via SSH by running:

perl /var/adm/bin/ip.pl -i
 
Network Config/Troubleshooter
 
 1. Set IP Address of this system
 2. Show IP Address of this system
 3. Run the PING utility
 4. Run the TRACEROUTE utility
 5. Display the DNS Nameserver configuration
 6. Display the route table
 7. Display the ARP table
 8. Show Analog Phone Line voltage levels
 9. Show T1 Status
10. Show Active Calls
11. Set 'root' p***word
12. Reboot system
13. Re-scan for PSTN cards
14. Scan for new phones
 
Q. Quit and exit this tool
 
Selection: 13
This option will erase and recreate all PSTN card configurations.
Are you sure you want to re-detect PSTN cards? [y/n]: y
WANPIPE USB Dummy Timer Interface
Starting PBXtra Core service:                              [  OK  ]
Starting FONmon service:                                   [  OK  ]
 
 
Your Sangoma VoiceTime UT50 is now installed.  To verify that it is installed and working, you can run some of the following commands from SSH:
 
dmesg |grep USB
You should see an output similar to this:
 
wanpipe_voicetime: Loading WANPIPE VoiceTime (USB) Driver - v1.0.9

wanpipe_voicetime: Probing WANPIPE VoiceTime (USB) device on 2 ...
You can also test your timing source by running:
 
zttest
 
You should see an output similar to this:
 
Opened pseudo zap interface, measuring accuracy...
99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 100.000000% 
99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 
100.000000% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 
99.987793% 99.987793% 100.000000% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 
99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 
99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 100.000000% 99.987793% 
99.987793% 100.000000% 99.987793% 100.000000% 99.987793% 99.987793% 99.987793% 99.987793% 
100.000000% 99.987793% 99.987793% 99.987793% 99.987793% 100.000000% 99.987793% 99.987793% 

 

This output tells you how accurate your timing source is.  Press CTRL+C to exit zttest and you will see a summary:

 

--- Results after 64 passes ---
Best: 100.000000 -- Worst: 99.987793 -- Average: 99.989319

 

 

99.989% average accuracy is very good!

 

Tags:  voip timing, timing

Tag page