You are on page 1of 6

ZX100-A16 Manual

1. Simple introduction .......................................................................................................1 2. Important connecting Line............................................................................................1 3. How To Install Driver For Elastix && Trixbox System ..............................................2 3.1.Dahdi Driver ..........................................................................................................2 3.2.Zaptel Driver..........................................................................................................3 4. Serial Port and LCD introduction.................................................................................5

1. Simple introduction
The default system is Elastix system or Trixbox system,But you can install your own system or other asterisk system. ZX100-A16 contains some modules: CPU: Atom 1.6G Memory: DDRII 2G Disk: 320G Network Interface: LAN port and WAN Port Analog asterisk card LCD

USB1 VGA USB2

2. Important connecting Line


a. USB connecting line

You can refer our usb line,and black black line,green green line, white white line ,red red line b. VGA connecting line You can accord to the VGA line orientation,and plug it directly.

3. How To Install Driver For Elastix && Trixbox System


If you have FXS modules, please plugging the internal power supply cable of PC into ZA16P. If your PCI card havent FXS module, you can not plugging the power cable. Checking the ZA16P hardware by command: lspci vvvv you can see the follow info:
Communication(Network) controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface. Check your systemcd/etc/usr/,if it exists kernel file,you can run from step 2,or pls run step 1,install the kernel.

3.1. Dahdi Driver


1. Install Kernel Source: Entry the follow command yum install kernel-devel-`uname -r`(or yum install kernel *) If your system is elastix,,and you can not install the kernel.skip this step,If your system is Trixbox,pls run it yum y install make yum y install gcc 2. Download the dahdi-linux, dahdi-tool: Entry the follow command cd /usr/src wget http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.3.0.1.tar.gz wget http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-tools-2.3.0.tar.gz 3. Install dahdi-linux: Entry the follow command tar zxvf dahdi-linux-current.tar.gz cd dahdi-linux-2.3.0.1 /drivers/dahdi/ wget http://www.zycoo.com/downloads/wctdm.c.dahdi.txt mv wctdm.c.dahdi.txt wctdm.c cd ../../ make make install 4. Install dahdi-tools:
2

Entry the follow command tar zxvf dahdi-tools-2.3.0.tar.gz cd dahdi-tools-2.3.0 ./configure make make install 5. load wctdm driver Remove the old wctdm model: rmmod wctdm load the new wctdm model: modprobe wctdm
At this time, the status light of ZA16P will be light.

configure asterisk dahdi_genconf 6.load the system.conf configuration file: dahdi_cfg dahdi_cfg vvvvvvvvvv 7. restart asterisk asterisk r restart now 8. check the dahdi channels asterisk r dahdi show channels

3.2.Zaptel Driver(On other system ,like Ubuntu,Centos)


1. Download zaptel and asterisk You can download the source code from asterisk.org, Unzip those packages under /usr/src. wget http://downloads.digium.com/pub/zaptel/releases/zaptel-1.4.12.tar.gz 2. Compile zaptel-1.4.X and asterisk-1.4.X Under /usr/src, execute the commands: tar zxvf zaptel-1.4.X.tar.gz
3

cd zaptel-1.4.X Replace the wctdm.c file with the one . wget http://www.zycoo.com/downloads/wctdm.c.v1.4.txt mv wctdm.c.v1.4.txt wctdm.c ./configure make clean make make install make config wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.21.2.tar.gz tar zxvf asterisk-1.4.X.tar.gz cd asterisk-1.4.X ./configure make make install make samples After load zaptle, driver and run asterisk system, you executes: modprobe zaptel modprobe wctdm
At this time, the status light of ZA16P will be light.

genzaptelconf ztcfg ztcfg vvvvvv After the ztcfg vvvvvv command, you can see the follow info

3. After starting asterisk, you should check status of zap channels first Use command: asterisk vvvvvvvvvvvvvvvvvgr login to asterisk CLI. Under asterisk console, run command: zap show channels

If you can see the zap channels, it means that the zap channels are loaded successfully. After then, you can make inbound calls and the call will be forward to FXS channel.

4. Serial Port and LCD introduction


1. Download the package. cd /root wget http://www.zycoo.com/downloads/serial-install.tar tar xvf serial-install.tar cd serial 2. The quantity of FXO and FXS show ,dahdi driver or other zaptel diver

The introduction for SendToSerial.sh

Default

driver

is

Dahdi,if

you

use

Zaptel

Driver,you

need

modify

/usr/sbin/dahdi_cfg to/usr/sbin/ztcfg.at 38 and 42 lines.


3. If you want to modify the logo information,pls change the SendToSerial.sh

vi /etc/cron.minutes/SendToSerial.sh, /sbin/SendToSerial [Logo=Test] Test is the character string of logo,and the length is shorter than 9,and can

not have space key,or error.


4. Installed the package ./serial-install.sh 5. About the source code, pls refer SendToSerial.c,it is default in /root/serial .
5