Sangoma VoiceTimeのインストール方法

    2024年 5月 2日, 18:03 現在の版

    この版へ

    版の一覧 に戻る。

    現在の版を閲覧

     thumb_voice_time.gifUT50thumb_voice_time_int.gifUT51


    Sangoma社はAsteriskのタイミングソースデバイスとして、UT50とUT51を発売しました。UT50は外部USBポート(4ピン)に接続するため、UT51はサーバー内部のUSBポート(9ピン)に接続するためのものです。お使いのサーバーに内部増設用のUSBポートがある場合は、UT51を選択すると誤ってデバイスが抜ける危険がありません。

    Fonality社はこのデバイスを正式認定デバイスとしてサポートを開始しました。

    以下は、trixboxProで本デバイスを利用するためのインストール方法です。

     

    本デバイスを利用するためのシステム要求

    trixbox Pro 4.1.2 (CentOS 4.4)

    必要なソフトウエア:

     

    FONdetect-4.1.1865

    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 ch***is 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!

    注意!!:この作業では、root権限をサーバーに設定します。trixboxProがリモートアクセスのために外部のインターネットにマウントされている場合は、侵入される危険がありますので、アクセス制限やRSA認証などの手段でサーバーを保護してから作業を行ってください。

     

    コンソールから以下のコマンドを実行します。

    yum clean all

    yum update FONdetect

    yum install wanpipe_voicetime-modules-2.6.9-42.EL wanpipe_voicetime-modules-2.6.9-42.ELsmp

     

    それから以下のコマンドを実行します

    exit

    trixboxProのターミナル画面に戻ります。

     

    以下のIDとPWでターミナル管理画面に入ります。

    ID:ip

    PW:ip

     

    以下の画面が表示されます。

    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' password
    
    12. Reboot system
    
    13. Re-scan for PSTN cards
    
    14. Scan for new phones
    
     
    
    Q. Quit and exit this tool
     
    Selection: 13
    13番を選択し、USBデバイスをtrixboxProに認識させます。
     
    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  ]

     

    これで作業完了です。

    インストールが正しく行われたかを確認するために、root権限で再びコンソール画面に入ります。

    以下のコマンドを実行してください。

    [root@trixboxNNNNNN ~]# zttest

    タイミングの正確さを示す指標が表示されます。表示される数値の平均が99.98%以上であれば、正しく動作しています。

    Opened pseudo zap interface, measuring accuracy...
    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.975586% 99.963379% 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% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793% 99.987793%
    99.987793% 99.987793% 99.987793%
    --- Results after 42 passes ---
    Best: 100.000000 -- Worst: 99.963379 -- Average: 99.987212
     

    もし、正常に認識されていないようなら、サーバーを一度再起動してみます。

     

    <<参考情報>>

    DELLのPowerEdgeT100をお使いの場合は、内部に通常のUSBコネクタが装備されています。

    それで、UT50を使用できます。

    IMG_1811.JPG

    IMG_1814.JPG

     

    このマザーボードのように、基板上に9ピンのUSB端子が設置されているものは、UT51をご利用ください

    i45gmt-hd-mb-big.jpg

     

    Powered by MindTouch Core