Hello, again.
I've discovered the installation procedure. Since i didn't found anything in the Openvox Wiki, Forums and the Internet, i'll post the procedure. Again this is for the V100-BOX (A V100 card in a blue box with two connectors: one for 12V power and an Ethernet port) in an Elastix 2.4 with two Ethernet interfaces.
For this setup, we need asume the following:
A. The Ethernet interface of the Elastix server where the V100-BOX is connected is eth1.
B. The IP address of the Elastix server assigned to eth1 is 10.1.1.80/24.
C. The IP address of the V100-BOX is 10.1.1.10/24.
===============================
Setup
===============================
1. Login as root to your Elastix server.
2. Change to /usr/src directory.
- cd /usr/src
3. Download DAHDI current tarball.
- wget
downloads.openvox.cn/pub/drivers/dahdi-l...plete-current.tar.gz
4. Download Openvox transcoding module current tarball.
- wget
downloads.openvox.cn/pub/drivers/transco...x_x86-current.tar.gz
5. Install build requirements for the Openvox transcoding module
- yum install bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++ libxml2 libxml2-devel kernel-devel
6. Extract DAHDI tarball.
- tar xfvz openvox_dahdi-linux-complete-current.tar.gz
7. Enter DAHDI source directory.
- cd dahdi-linux-complete-xxxxxx (xxxxx is the current DAHDI version).
8. Build and install DAHDI.
- make && make install && make config
9. Exit DAHDI source directory.
- cd ..
10. Extract Openvox transcoding module tarball.
- tar xfvz opvx_tc_linux_x86-current.tar.gz
11. Enter Openvox transcoding module source directory.
- cd opvx_tx_linux_x86-xxxx (xxxx is the current Openvox transcoding module version).
12. Enter kernel module source directory.
- cd libopxtc
13. Install kernel module.
- make install
14. Exit kernel module source directory.
- cd ..
15. Enter asterisk module source directory.
- cd codec/asterisk
16. Install asterisk module.
- make install
17. Change to root home directory.
- cd
18. Open your V100-BOX, removing the four side Phillips screws and the upper lid.
19. Annotate your V100-BOX MAC address
20. In your Elastix server, configure your Ethernet interface.
- ip ad ad 10.1.1.80/24 dev eth1
21. In your Elastix server, add an ARP entry for the V100-BOX connected to the Ethernet interface eth1.
- arp -i eth1 -s 10.1.1.10 00:00:ca:fe:ba:be (00:00:ca:fe:ba:be is the MAC address of the V100-BOX annotated in step 19).
22. Modify /etc/asterisk/openvox_codec.conf.
- cat >> /etc/asterisk/openvox_codec.conf << EOF
[eth1]
Baseudp=5000
Vocalloaddr=10.1.1.10
EOF
23. Stop Asterisk.
- /etc/init.d/asterisk stop
24. Run Asterisk as root (if you don't run it as root it will fail to start because the Openvox module need to create some sockets and only root
can do that).
- asterisk -vvvgc
25. Check your registered translators
- openvox show translators
With this, you can manage to run the V100-BOX.
Now, what i need to figure out:
1. How to run Asterisk as root in Elastix.
2. How to set permanently the IP address in the V100-BOX without always creating an ARP entry in Elastix.
As soon i figured these out, i'll update this post and create the Wiki page.
Yours truly.