This manual is provided by Synway Information Engineering Co., Ltd (hereinafter referred to as ‘Synway’) as the support file for ‘Synway AST Series board driver software’. Both the software and this manual are copyrighted and protected by the laws of the People's Republic of China.
‘this software and its accessories, relative files and archives’ (hereinafter referred to as ‘this product’). Any company or person can download the corresponding driver software and other useful documents for free directly from our website after purchasing a board of Synway. Synway AST Series User Manual...
Version 1.10.0.0 2012-1 models BRI1611P and BRI1610P. Newly support Dahdi-2.5. Version 1.11.0.0 2012-4 Newly support Dahdi-2.6 Version 1.12.0.0 2012-6 Newly support FXM3211E, FXM3210E boards Note: Only major revisions to this manual itself recorded herein. Synway AST Series User Manual Page iv...
Synway Information Engineering Co., Ltd Preface Thank you for choosing the Synway AST series boards which are designed to fully support open source IP PBX platform, such as Asterisk, Trixbox, Elastix, FreeSwitch and so on. Synway AST series includes three subseries.
Page 7
TEJ boards, it is not necessary to purchase the VPMADT032 module (to enable echo cancellation) from Digium Inc. The Synway AST driver program, as a link between the board hardware and open source IP PBX platform, is only used to set up the open source IP PBX platform, but not applicable to secondary development.
Synway Information Engineering Co., Ltd Chapter 1 Overview The driver for the Synway AST series boards (hereinafter referred to as ‘AST), which is compatible and must be used with the Zaptel/Dahdi driver, can smoothly and seamlessly support open-source IP PBX platforms.
Synway Information Engineering Co., Ltd 1.2 TEJ The Synway TEJ series boards (hereinafter referred to as ‘TEJ’) are digital trunks boards newly developed for open source IP PBX system. The TEJ are high-performance, cost-effective digital telephony interface boards and support E1, T1 and J1 environments. The environments are selectable on a per-board basis via software configuration.
VoIP to TDM connectivity. These transformations in software are very expensive, in terms of MIPS, and require a substantial amount of CPU time to accomplish. The Synway CDC series uses the PCI-based DMA technique for data reading and writing, minimizing the CPU cost. It is fully compatible with the API functions of Asterisk and supports the transformations among G.711...
Synway Information Engineering Co., Ltd 1.4 BRI The Synway BRI series boards (hereinafter referred to as ‘BRI’) are digital trunk voice boards newly developed for open source IP PBX system. They are high-performance, cost-effective digital telephony interface boards. They use the DMA technique for data reading and writing based on PCI bus, improving the I/O speed and reducing the CPU cost.
Synway Information Engineering Co., Ltd Chapter 3 Driver Installation & Configuration SynAST is the driver software for the Synway AST series boards. Its compilation, installation and configuration are all related closely to zaptel/dahdi and open source IP PBXs. So we suggest those who are familiar with the installation and configuration of open-source IP PBXs use the script in the installation package to complete the driver installation and configuration (see Section 3.1),...
# decompress the synast driver #cd SynAST-1.12.0.0 # enter the directory to the synast driver #cd dahdi #enter the directory to the ‘synway ast for dahdi’ driver #./Setup install # install the driver Would you like to install SynAST AST package now? y # enter ‘y’...
Page 16
‘/tmp/card_order’ to rearrange the loading boards. If the above files do not exist, execute the command ‘touch /tmp/synast_cardlist’ or ‘touch /tmp/card_order’ to create. The file ‘/tmp/synast_cardlist’ can be used to configure the loading order Synway AST Series User Manual Page 9...
If based on dahdi: #>astcfg_dahdi asterisk The prompts and operations are the same as those for astcfg_zaptel; however, the configuration based on Dahdi supports all the four signaling protocols mentioned above. Synway AST Series User Manual Page 10...
‘/opt/zaptel-[Version]/kernel/cdcx522apci/Makefile’ to open the file ‘Makefile’ and add the sentence ‘EXTRA_CFLAGS+= -DZAP1412’ behind ‘EXTRA_CFLAGS:=-DSTANDALONE_ZAPATA -DBUILDING_TONEZONE’. To enable the echo cancellation in hardware, modify the file ‘/opt/zaptel-1.4.8/fxm8apci/Makefile’, changing it from EXTRA_CFLAGS:=-DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -D__TONE_DETECT__’ ‘EXTRA_CFLAGS:=-DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -D__TONE_DETECT__ -D HWEC_OPEN’. Synway AST Series User Manual Page 11...
Page 19
#insmod fxm8apci.ko # load the driver Note: When using other AST series boards except FXM-8A/PCI, you should refer to Table 3-1 to find the corresponding driver file and use the filename to replace the parts ‘fxm’ and ‘fxm8apci’ in the above commands. When using CDC series boards, you should first use ‘modprobe zttranscode’...
# copy the tej84 driver to the dahdi directory #cd /opt/dahdi/linux/drivers/dahdi/tej84 # enter the directory to SynAST source codes in dahdi As in manual installation, the driver will not write the configuration items generated by Synway AST Series User Manual Page 13...
Page 21
#insmod tej84.ko # load the driver Note: When using other AST series boards except FXM-8A/PCI, you should refer to Table 3-2 to find the corresponding driver file and use the filename to replace the parts ‘tej’ and ‘tej84’ in the above commands. When using CDC series boards, you should first use ‘modprobe dahdi_transcode’...
‘#cat /proc/dahdi/[span number to be checked]’. 3.3 Driver Uninstallation Close the Asterisk service and then go into the driver installation package to execute the following command. /Setup remove Synway AST Series User Manual Page 17...
By default, the command ‘ts_monitor’ is automatically compiled by the script and is added to the Different types of boards mean the boards using different drivers. There are three drivers for the Synway TEJ series boards: tejxapci,ko for TEJxA series (including TEJ1A, TEJ2A and TEJ4A);...
Page 26
If you forget what the parameters are, you can just input the command ‘ts_monitor’ and press the enter key. Then follow the instructions. At present the command ‘ts_monitor’ only supports the recording of ISDN signaling. Synway AST Series User Manual Page 19...
Except this manual, we provide all the documents shown below in Table 5-1 which involve the installation, configuration and test of several IP PBX platforms the Synway AST series boards support. Please choose what you need for your actual performance. All manuals we provide are put under the directory ‘/doc/Software’...
Page 28
Synway TEJ-1A/PCI and FXM3201P boards. Table 5-1 IP PBX and Applicable Installation Manual Note: Once you come across some problems in installing, read Appendix A FAQ in this file first. Synway AST Series User Manual Page 21...
# decompress the SynAST driver #cd SynAST-1.12.0.0 # enter the directory to the SynAST driver #cd dahdi # enter the directory to the ‘synway ast for dahdi’ driver #./Setup install # install the driver Would you like to install SynAST AST package now? y # enter ‘y’...
Page 30
DEFAULT_THRESHOLD 512’ to ‘#define DEFAULT_THRESHOLD 448’. The value can be reduced again if the problem is not solved yet. Q8: How to solve the problem that the zaptel driver fails to be installed in the system of Ubuntu 8.10, kernel 2.6.27-7-server? Synway AST Series User Manual Page 23...
Page 31
1~255 which represents the DB value of 20log(x/10). To adjust the recording volume for FXM-8A-PCI, execute the command: echo x > /sys/module/fxm8apci/parameters/recvolume; To adjust the playback volume for FXM-8A-PCI, execute the command: echo x > /sys/module/fxm8apci/parameters/playvolume; Synway AST Series User Manual Page 24...
Page 32
#tar -xjf linux-2.6.36.tar.bz2 -C /usr/src/kernels #cd /usr/src/kernels/linux-2.6.36 #make mrproper #make menuconfig Save the default configuration and exit. # Use an edition tool (e.g. vi) to edit the config. file, adding contents or modifying it to: #CONFIG_SYSFS_DEPRECATED_V2=y Synway AST Series User Manual Page 25...
Page 33
When n=3128, modify the gain of the third channel (i.e. Channel 2) to 128, not changing the gain of other channels. When n=16, modify the gains of all channels to 16. Synway AST Series User Manual Page 26...
Page 34
_IOW(SYNWAY_IOC_MAGIC, 2, int) #define SHFXM_MODIFY_VOICE_RX _IOW(SYNWAY_IOC_MAGIC, 3, int) #define SHFXM_MODIFY_EC IOW(SYNWAY_IOC_MAGIC, 4, int) #define SHFXM_MODIFY_CODEC_VOICE_TX _IOW(SYNWAY_IOC_MAGIC, 5, int) #define SHFXM_MODIFY_CODEC_VOICE_RX _IOW(SYNWAY_IOC_MAGIC, 6, int) Declare the following struct: Struct shfxm_cmd_ops int card; int channel; Synway AST Series User Manual Page 27...
Page 35
To adjust gain increase, the value range of ‘bb’ is [0, 12]; to adjust gain decrease, the value range of ‘bb’ is [0, 15]. To adjust gain increase, the value range of ‘cc’ is [0, 12]; to adjust gain decrease, the value range Synway AST Series User Manual Page 28...
Page 36
IOCTL BSHTEJ_REMOTE_LOOPBACK, value=1 means the remote loopback feature is enabled, and value=0 means the remote loopback feature is disabled. Synway AST Series User Manual Page 29...
Page 37
The default value is 0.) Q25: How to switch between A-law and μ-law for DSP serial ports on BRI boards? #insmod bri16.ko alawulaw=val (val=1 represents A-law; val=0 represents μ-law. The default value is 1.) Synway AST Series User Manual Page 30...
Synway Information Engineering Co., Ltd Appendix B Technical/Sales Support Thank you for choosing Synway. Please contact us should you have any inquiry regarding our products. We shall do our best to help you. However, our technicians and salesmen are mainly responsible for maintaining our boards and providing relative technical support.
Need help?
Do you have a question about the AST Series and is the answer not in the manual?
Questions and answers