Home

Synway CDC Series User Manual

image

Contents

1. lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 12 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 13 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 14 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 15 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt Synway AST Series User Manual Page 19 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway d Synway Informati
2. 3 2 4 eie Me RR AR AR OE ER ER ER EN 9 32 5 Slant p 09 dels ET 9 G DE Le RE EE ER ER EE EE AE Ed 9 Ke E GET DT 9 3 3 2 Driver Installation u 022422424000nnnannannnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnnnnnsnnnnnnnnnnnnnenen 9 3 3 3 FreeSwitch Installation LLY AA AE Ee RA ELE LEL LL ee YH EYFLE EL ee ee ee 10 Kette Ee EE 10 33 5 Startup Fre Swit Ch N RE RE RE RE AG 10 Chapter 4 Manual Driver Installation uuuusssnssnsnnnnnnnnnnnnnnnannnnnnnnnnnnnnnnnnannnnnnnnnnnnnnnn 12 Chapter 5 Manual System Configuration uursesssnsnnnnnnnnnnannnnnnnnnnnnnnnnnnnnnnnannnnnnnnnnnnnannn 14 Ee ee le Ce TEE 14 5 2 Gonfigurate Asterisk TrIXDOX AANEREN EEN 15 5 3 ee et MES de EE een ine en 16 Chapter 6 VCS EE EE EE N RaDudUAn 21 Synway AST Series User Manual Page i VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway j Synway Information Engineering Co Ltd 6 1 Preparation E EN 6 2 SEE ae kennen ASS envied eee 21 6 2 1 Asterisk Environment SE ca CU eka ean ea Ee DF GO eegen 21 6 2 2 Trixbox environment GYG ee ee ee ee ee LL LANE ELL LEL LL YF FF ee ee ee 22 6 2 3 FreeSwitch Environment 22 il d d eN OE EN N EE EE N 24 Appendix B Technical Sales Support RR EER RR ER ER EE RR ERA RARR EER RR RA Re EA RAK RR RR RE ERGE EEN 25 Synway AST Series User Manual Page ii VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 8082
3. Ltd LAN Note XXX in Figure 1 3 and Figure 1 4 represents the existing and future board models in the TEJ series Figure 1 4 Application Model Il VoIP Telephony System 1 3 CDC The Synway CDC series boards hereinafter referred to as CDC are CODEC boards newly developed for open source IP PBX system CDC are multi channel codec boards with PCI 2 2 bus supporting the hardware based transformations between voice codecs With the burst data transmission rate up to 132 MB s and the PNP plug and play feature which eliminates the need for jumper leads this series can be used on 3 3V 5V PCI slot and PCI X slot Asterisk in software and with Digium G 729a licensing is capable of transforming the G 729a codec into other codecs for the purposes of call origination or termination bridging disparate calls or VolP 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 PCl 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 A Law u Law and G 729A which ideally cover the shortage of Asterisk Besides the CDC board has many DSPs on it to provide powerful voice processing which brings a nearly real time voice effect to users Figure 1 5 below is typical application models with CDC IP t
4. channel gt 94 108 110 124 Table 5 2 asterisk trixbox configuration table Note 1 if you want to use network end in ISDN model you should use pri_net instead of pri_cpe in Table 5 2 2 under the model of E1 and SS1 the value of protocolvariant in file unicall conf is set by different Country and Operation Business Refer to the Table 5 3 for detail information China protocolvariant cn 20 7 Argentina Telecom E1 protocolvariant ar 10 4 Brazil Embratel protocolvariant br 20 4 8 Brasil Telecom protocolvariant br 20 4 Brasil Telefonica protocolvariant br 20 20 GVT protocolvariant br 20 20 Telemar protocolvariant br 20 20 Colombia ETB protocolvariant ar 20 4 Telef nica Telecom protocolvariant br 10 7 7 Mexico Telmex and Avantel protocolvariant mx 10 4 Phillippines Nextel protocolvariant ph 12 18 1 Table 5 3 protocolvariant corresponding table 3 the channel configuration of etc asterisk unicall conf should not repeat with the channel configuration of etc asterisk zapata conf and otherwise it may cause error 4 if there returns a error chan_unicall so is wrong at the start of Asterisk you can use the command below to modify it chcon t texrel_shlib_t usr lib asterisk modules chan_unicall so 5 3 Configure FreeSwitch Modify the configuration file based on the Table 5 4 below span zt span zt fxo port name gt OpenZAP1 name gt Open
5. enable callerid value true gt lt span gt lt span id 2 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 3 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 4 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt pri_spans gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 2 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param na
6. gt 6 span zt name gt OpenZAP FX07 number gt 7 fxo channel gt 7 span zt name gt OpenZAP FX08 number gt 8 fxo channel gt 8 fxs port span zt name gt OpenZAP FXS9 number gt 9 fxs channel gt 9 span zt name gt OpenZAP FXS10 number gt 10 fxs channel gt 10 span zt name gt OpenZAP FXS11 number gt 11 fxs channel gt 11 span zt name gt OpenZAP FXS12 number gt 12 fxs channel gt 12 span zt name gt OpenZAP FXS13 number gt 13 fxs channel gt 13 span zt name gt OpenZAP FXS14 number gt 14 fxs channel gt 14 span zt name gt OpenZAP FXS15 number gt 15 fxs channel gt 15 span zt name gt OpenZAP FXS16 number gt 16 fxs channel gt 16 Synway Information Engineering Co Ltd lt pri_spans gt lt span id 1 gt added the following content under the lt settings gt added the following content under the lt settings gt lt analog_spans gt lt span id 1 gt Synway AST Series User Manual VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Page 17 Synway Synway Information Engineering Co Ltd lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name
7. opt enter into the zaptel source code package directory tar zxvf zaptel 1 4 8 tar gz decompress the source code cd zaptel 1 4 8 enter into the zaptel source code directory configure make compile the driver make install install the driver modprobe zaptel load the driver Install the Synway AST driver cd opt enter into the AST source code package directory tar zxvf SynAST 1 0 0 0 tar gz decompress the source code cp rf opt SynAST 1 0 0 0 src fxm fxm8apci opt zaptel 1 4 8 driver to the zaptel directory If user uses other board not FXM 8A PCI user should refer to the Table copy the fxm8apci 4 1 to find the corresponding driver file and uses it to substitute fxm fxm8apci in this command based on the actual situation if the version of zaptel is above 1 4 11 the corresponding driver file should copy to opt zaptel version kernel cd opt zaptel 1 4 8 fxm8apci already copy into the zaptel directory in the upper operation if the version of zaptel is above 1 4 11 enter into the AST source code directory which please execute this command fcd opt zaptel version kernel fxm8apci make compile the dirver insmod fxm8apci ko load the driver Note if the user uses the other board not FXM 8A PCI user should refer to the Table 4 1 to find the corresponding driver file and uses it to substitute the fxm and fxm8apci which appeared in the upper example base
8. 99 Ems Symwayinomation Engineering Co Ltd Copyright Declaration 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 All rights reserved no part of this manual may be extracted modified copied reproduced or transmitted in any form or by any means electronic or mechanical without prior written permission from Synway By using this manual you agree to the following Software License Agreement Synway reserves the right to revise this manual without prior note Please contact Synway for the latest version of this manual before placing an order Synway has made every effort to ensure the accuracy of this manual but does not guarantee the absence of errors Moreover Synway assumes no responsibility in obtaining permission and authorization of any third party patent copyright or product involved in relation to the use of this manual Note Asterisk and Digium mentioned in this book are registered trademarks of Digium Inc Trixbox is registered trademark of Fonality FreeSwitch is registered trademarks of FreeSwitch org Synway AST Series User Manual Page iii VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems Symwayinomation Engineering Co Ltd Software Lice
9. Synway Synway AST Series User Manual Version 1 0 0 0 Synway Information Engineering Co Ltd www sanhuid com VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway Synway Information Engineering Co Ltd Contents ODEM i Copyright Declaration sciicccc ccccctccecsenscecvescetecceessnccusnedeedareascancesseadacuassauauestenscnecneaeantsdeseseaneiasuantande iii Software License Agreement se EE RE EE RR KERE GE RR KERE GER RR RR ER REKE ERG RARR REGEER RR KEER RR KEER Gee RR RE samen iv Revision HIStory EE V Preface FFF YN HN CH HY nc EA DF ee vi Chapter 1 OVerVleW issie ed E Kode ewe ese de ad oes Pe see dd da eke Rede N ke eg ee de HE vi die 1 EE EE ER OER EE EE RO EED EE 1 2 TE EE DE DE GE FA ten a GE 2 Es TEE 3 Chapter 2 Hardware Installation iss skeie Ee RE Ne oa EER AK KERF n be AN es ER EE EER REEN Ee 4 Chapter 3 Software Installation uenssnsrennnnennnnnnnnnnnnnnnnnennnnnanennnnnannnnnnnnnnnnnnnnnnnnnnnnnn nennen 5 G NEE 5 Kr OT DE 5 3 1 2 Driver Installation eeeeieeuu EA AR RA AE AR GRA AA Ee AA KA Re ee ee ee AR Re Re ee ee ee ee ee 5 3 1 3 Asterisk Installation iis ee AR RR AE AR RA Re KA Re ee ee ee AR Re ee ee ee ee ee 6 MEN se Me EE ee EE EE 0 7 3 1 5 Startup DE RR EG 7 G2 eo AR AR ER EE EE EE OO EENS EE EE OR ODD RES 8 EER EN EIE GT eee eer 8 3 2 2 Txbox System InstallauOn OE OO N N N N 8 3 2 8 driver Installation OE N N ER Ee 8
10. ZAP1 span zt number gt 1 number gt 1 name gt OpenZAP FX01 trunk_type gt e1 trunk_type gt t1 number gt 1 b channel gt 1 gt 15 b channel gt 1 gt 23 fxo channel gt 1 d channel gt 16 d channel gt 24 span zt b channel gt 17 gt 31 name gt OpenZAP FX02 span zt number gt 2 span zt name gt OpenZAP2 fxo channel gt 2 name gt OpenZAP2 number gt 2 span zt number gt 2 trunk_type gt t1 name gt OpenZAP FX03 Synway AST Series User Manual Page 16 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Synway trunk_type gt e1 b channel gt 32 gt 46 d channel gt 47 b channel gt 48 gt 62 span zt name gt OpenZAP3 number gt 3 trunk_type gt e1 b channel gt 63 gt 77 d channel gt 78 b channel gt 79 gt 93 span zt name gt OpenZAP4 number gt 4 trunk_type gt e1 b channel gt 94 gt 108 d channel gt 109 b channel gt 110 gt 124 b channel gt 25 gt 47 d channel gt 48 span zt name gt OpenZAP3 number gt 3 trunk_type gt t1 b channel gt 49 gt 71 d channel gt 72 span zt name gt OpenZAP4 number gt 4 trunk_type gt t1 b channel gt 73 gt 95 d channel gt 96 number gt 3 fxo channel gt 3 span zt name gt OpenZAP FX04 number gt 5 fxo channel gt 4 span zt name gt OpenZAP FX05 number gt 5 fxo channel gt 5 span zt name gt OpenZAP FX06 number gt 6 fxo channel
11. ady connected when using the TEJ board This problem may be caused by error configure the impedance of board User can pull out or plug into the corresponding port s jumper cap for test Question 3 How to determine the sequence of boards when there have more then one AST board If the configuration of zaptel is automatic the sequence of boards can find in file etc zaptel conf If the configuration of zaptel is manual the sequence of boards can be find by executing the command cat var log messages grep Launching card Please note the command executed time when you judge the sequence of boards according to the boards serial number Question 4 How to deal with the error which occurs in the switch_odbc model while compiling the freeswitch This problem may be caused by lacking of unixodbc package So the user must completely download the unixodbc package and install it then re install the freeswich Synway AST Series User Manual Page 24 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299
12. d on the actual situation FXM FXM 8A PCI fxm8apci fxm8apci ko The example as upper FXM FXM 16A PCle fxm16apcie fxm16apcie ko Using the other driver file TEJ 1A PCI shows in Table 4 1 instead of TEJ TEJ 2A PCI tejxapci tejxapci ko the fxm8apci ko in the TEJ 4A PCI upper example based on the Synway AST Series User Manual VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Page 12 Ems Symwayinomation Engineering Co Ltd CDC 1522A PCI specific Synway AST board CDC CDC 2522A PCI cdex522apci cdcx522apci ko model CDC 3522A PCI Table 4 1 corresponding relationship table between the board and driver Synway AST Series User Manual Page 13 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Synway Chapter 5 Manual System Configuration Synway Information Engineering Co Ltd Below taking the FXM 16A PCle board and TEJ 4A PCI board as an example to illuminate how to configure the system 5 1 Configure zaptel Step1 Modify the configuration file based on the Table 5 1 below loadzone us defaultzone us span 1 1 0 ccs hdb3 span 1 1 0 cas hdb3 span 1 1 0 esf b8zs span 1 1 0 esf b8zs fxo model bchan 1 15 cas 1 15 17 31 1111 bchan 1 23 e amp m 1 23 fxsks 1 dchan 16 span 2 1 0 cas hdb3 dchan 24 span 2 1 0 esf b8zs fxsks 2 bchan 17 31 cas 32 46 48 62 1111 span 2 1 0 esf b8zs e amp m 25 47 fxsk
13. digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 8 gt lt param name tonegroup value us gt Synway AST Series User Manual Page 18 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems Symwayinomation Engineering Co Ltd lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 9 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 10 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 11 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt
14. elephon IP PBX IP telephone Asterisk PBX xxx represents the existing and future board models in the CDC series Figure 1 5 Application Example Synway AST Series User Manual Page 3 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems Symwayintomation Engineering Co Ltd Chapter 2 Hardware Installation Refer to the board model to find the relevant hardware manual After hardware completely installed you can follow the chapter below to continue the software installation The reference hardware manual are under the directory doc of SynAST Ver x x x x resource package Table 2 1 shows the corresponding relationship between the board model and the reference hardware manual FXM en AST FXM_hardwareManual FXM 16A PCle TEJ 1A PCI TEJ TEJ 2A PCI AST TEJ_hardwareManual TEJ 4A PCI CDC 1522A PCI CDC CDC 2522A PCI AST CDC_hardwareManual CDC 3522A PCI Table 2 1 corresponding relationship table between board model and reference hardware manual Synway AST Series User Manual Page 4 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Synway Synway Information Engineering Co Ltd Chapter 3 Software Installation Synway AST series boards support open source IP PBX platform such as Asterisk Trixbox FreeSwitch and so on How to construct these software platform are separately introduced by the followi
15. er into the directory of SynAST driver install the driver Would you like to install SynAST AST package now y Synway AST Series User Manual input y to confirm the driver installation operation Page 5 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 ynway Synway Information Engineering Co Ltd Please enter working zaptel directory q exit install opt zaptel 1 4 8 input the directory of zaptel code SELECT TEJ MODE t e j e chose the mode of TEJ board if you don t execute this operation the mode of TEJ board default E1 Note users also can manually install the driver please refer to Manual Driver Installation 3 1 3 Asterisk Installation Step1 Install libpri Library Note the user who do not use TEJ boards or ISDN signal can immediately jump to Step2 cd opt enter into the directory of the libpri library tar zxvf libpri 1 4 7 tar gz decompress the libpri cd libpri 1 4 7 make make install Step2 Install astunicall Library Note 1 the user who do not use TEJ boards or SS1 signal can immediately jump to Step3 2 _ The following steps are correlated with Specific version Please refer to the file README in astunicall package for help cd opt 7 enter into the directory of astunicall library star zxvf astunicall 1 4 18 0 2 tar gz ffcd astunicall 1 4 18 0 2 cd spandsp 0 0 4 7 install the spandsp library conf
16. igure prefix usr make make install cd unicall 0 0 5pre1 libsupertone 0 0 2 install the libsupertone library configure prefix usr make make install Synway AST Series User Manual Page 6 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway Synway Information Engineering Co Ltd fcd libunicall 0 0 3 install libunicall configure prefix usr make make install fcd libmfcr2 0 0 3 install libmfcr2 configure prefix usr make make install Step3 Install Asterisk cd opt enter into the Asterisk source code directory based on the actual situation tar zxvf Asterisk 1 4 18 tar gz decompress the Asterisk source code package cd Asterisk 1 4 18 enter into the decompress library configure make make install make samples Note if the user install the astunicall package please execute the following command cp unicall conf sample etc asterisk unicall conf copy the configuration file unicall conf 3 1 4 Configuration Note only the Manual System Configuration can be consulted by the user who using SS1 Otherwise user can use the method below or Manual System Configuration to complete the configuration based on actual reguirements astcfg_zaptel asterisk 3 1 5 Startup asterisk ztcfg vv asterisk vvvvc Synway AST Series User Manual Page 7 VolPon www voipon co uk sales voipon co
17. l kernel source code tree close the asterisk service close the zapte service enter into the source code directory decompress synast driver decompress zaptel driver enter into the directory of synast driver install the driver Would you like to install SynAST AST package now y input y to confirm the driver installation operation Synway AST Series User Manual Page 8 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 VolPon www voipon co uk sales voipon co uk Cynway Synway Information Engineering Co Ltd Please enter working zaptel directory q exit install opt zaptel 1 4 8 input the zaptel source code directory SELECT TEJ MODE It e j e chose the mode of TEJ board if you don t execute this operation the mode of TEJ board default E1 Note users also can manually install the driver please refer to Manual Driver Installation 3 2 4 Configuration Note user can use the method below or Manual System Configuration to complete the configuration based on actual requirements astcfg_zaptel trixbox 3 2 5 Startup Trixbox service zaptel start start the zaptel service service asterisk start start the asterisk service 3 3 FreeSwitch Refer to FreeSwitch official website http www freeswitch org to obtain the detail information about FreeSwitch 3 3 1 Preparation Obtain the needed resource package for FreeSwitch insta
18. llation Table 3 3 show the detail information about the resource package using the command rpm g zaptel to examine the version of zaptel using the command svn co http downloads digium c om pub zaptel releases zaptel 1 4 x targz 1 4 X downloads the latest version http svn freeswitch org freeswitch fromithe svi E E T address freeswitch to download freeswitch Synast x x x x tar gz 1 0 0 0 or above http www sanhuid com None Table 3 3 the detail information table of resource package for FreeSwitch installation 3 3 2 Driver Installation Step1 Install zaptel driver and SynAST driver cd opt enter into the source code directory tar zxvf SynAST 1 0 0 0 tar gz decompress synast driver tar zxvf zaptel 1 4 8 tar gz decompress zaptel driver cd SynAST 1 0 0 0 enter into the directory of synast driver Synway AST Series User Manual Page 9 Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway Synway Information Engineering Co Ltd Setup install install driver Would you like to install SynAST AST package now y input y to confirm the driver installation operation Please enter working zaptel directory q exit install opt zaptel 1 4 8 input the zaptel resource code directory SELECT TEJ MODE te j e chose the mode of TEJ board if you don t execute this operation the mode of TEJ board default E1 Note users also can ma
19. me dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 3 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 4 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 5 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 6 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 7 gt lt param name tonegroup value us gt lt param name
20. ng sections 3 1 Asterisk Refer to Asterisk official website http www asterisk org to obtain the detail information about Asterisk 3 1 1 Preparation 1 install the Linux OS Note in general issued Linux OS are support the Asterisk such as RED HAT FC4 DEBAIN etc the exact information please refer to Asterisk official website 2 Obtain the needed resource package for Asterisk installation Table 3 1 show the detail information about the resource package asterisk 1 4 x tar gz 1 4 18 or above http downloads digium com pub asterisk releases None zaptel 1 4 x tar gz 1 4 8 or above http downloads digium com pub zaptel releases None libpri 1 4 x tar gz 1 4 7 or above http downloads digium com pub libpri releases TEJ series board ISDN library astunicall 1 4 18 0 2 tar gz 1 4 8 or above http www moythreads com astu nicall downloads TEJ series board SS1 library Synast x x x x tar gz 1 0 0 0 or above http www sanhuid com None Table 3 1 the detail information table of resource package for Asterisk installation 3 1 2 Driver Installation Step1 Install the zaptel driver and the SynAST driver cd opt tar zxvf SynAST 1 0 0 0 tar gz tar zxvf zaptel 1 4 8 tar gz cd SynAST 1 Setup install 0 0 0 enter into the source code directory decompress SynAST driver decompress zaptel driver ent
21. nse Agreement Synway Information Engineering Co Ltd hereinafter referred to as Synway owns the copyright of 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 Page iv VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems Symwayinomation Engineering Co Ltd Revision History Version Date Comments Version 1 0 0 0 2009 02 Initial publication Note Only major revisions to this manual itself recorded herein Synway AST Series User Manual Page v VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway j 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 FreeSwitch and so on Synway AST series includes three subseries FXM 8A PCI Synway FXM FXM 16A PCle Use of modular structure and analog lines TEJ 1A PCI Synway TEJ TEJ 2A PCI Use of digital trunks E1 T1 J1 TEJ 4A PCI CDC 1522A PCI Synway CDC CDC 2522A POl CODEC board CDC 3522A PCI The Synway FXM series board is a perfect substitute for tne analog voice card
22. nually install the driver please refer to Manual Driver Installation 3 3 3 FreeSwitch Installation Step1 Install freeswitch cd usr src freeswitch bootstrap sh vim usr sre freeswitch modules conf finds the line with libs openzap mod_openzap Then delete the in the beginning of this line configure make make install make samples 3 3 4 Configuration Note user can use the method below or Manual System Configuration to complete the configuration based on actual requirements astcfg_zaptel freeswitch 3 3 5 Startup FreeSwitch Step1 Modify the configuration file of model modifies the file modules conf xml which makes the freeswitch loading the openzap model when freeswitch starting cd usr local freeswitch conf autoload_configs vim modules conf xml finds the line with mod openzap then modifies this line as load module mod_openzap gt Synway AST Series User Manual Page 10 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems Symwayinometion Engineering Co Lid Step2 Startup FreeSwitch cd usr local freeswitch bin freeswitch Synway AST Series User Manual Page 11 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Synway Step1 Step2 Synway Information Engineering Co Ltd Chapter 4 Manual Driver Installation Install the zaptel driver cd
23. on Engineering Co Ltd lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt span id 16 gt lt param name tonegroup value us gt lt param name digit timeout value 2000 gt lt param name max digits value 11 gt lt param name dialplan value XML gt lt param name context value default gt lt param name enable callerid value true gt lt span gt lt analog_spans gt Table 5 4 freeswitch configuration table Synway AST Series User Manual Page 20 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems o ynway information Engineering Co Ltd Chapter 6 Test 6 1 Preparation Use FXM 16A PCle board and TEJ 4A PCI board for test The former 4 models of FXM 16A PCle board are FXO and the later 4 models are FXS Meanwhile the configuration of TEJ 4A PCI is E1 model and ISDN signal Examine the configuration of zaptel ztcfg vv 6 2 Test Example 6 2 1 Asterisk Environment Stepl Examine the configuration of Asterisk asterisk vvvc startup asterisk CLl gt zap show channels examine the channel state Step2 Test Case 1 FXM 16A PCle 1 Added dialing rules to etc asterisk extensions conf text exten gt _300X 1 Dial zap 13 50 exten gt _ 300X n playback hello world exten gt _300X n Hangup 2 U
24. platform all that you should do is configure and operate the open source IP PBX platform without secondary development by using AST See Figure 1 1 below for the set up of the open source IP PBX application system with the AST board XXX xxx represents the existing and future board models in the AST series Figure 1 1 FXM Driver Set up 1 1 FXM The Synway FXM series boards hereinafter referred to as FXM are analog voice boards newly developed for open source IP PBX system FXM are high performance and cost effective which support FXO Foreign Exchange Office FXS Foreign Exchange Station and FXC composite module and allow various configurations by using these three different modules to provide all features and functionalities of common voice boards The FXM boards improve I O speed by using DMA technique for data reading and writing on the basis of PCI bus resulting in reduced CPU usage and increased board density per server Figure 1 2 below is typical application models with FXM IP telephone Asterisk PBX xxx represents the existing and future board models in the FXM series Figure 1 2 Application Model Synway AST Series User Manual Page 1 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway 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 sy
25. s 3 span 2 1 0 ccs hdb3 span 3 1 0 cas hdb3 bchan 25 47 span 3 1 0 esf b8zs fxsks 4 bchan 32 46 cas 63 77 79 93 1111 dchan 48 e amp m 49 71 fxsks 5 dchan 47 span 4 1 0 cas hdb3 span 3 1 0 esf b8zs span 4 1 0 esf D8zs fxsks 6 bchan 48 62 cas 94 108 110 124 1111 bchan 49 71 e amp m 73 95 fxsks 7 span 3 1 0 ccs hdb3 dchan 72 fxsks 8 bchan 63 77 span 4 1 0 esf b8zs fxs model dchan 78 bchan 73 95 fxoks 9 bchan 79 93 dchan 96 fxoks 10 span 4 1 0 ccs hdb3 fxoks 11 bchan 94 108 fxoks 12 dchan 109 fxoks 13 bchan 110 124 fxoks 14 fxoks 15 fxoks 16 Table 5 1 zaptel configuration table Step2 Query the result of configuration ztcfg vv Note If there are more then one AST boards the seguence of board s channel number was decided by the board s driver loaded order Which board s driver firstly load whose channel number is smaller then the other boards The board s channel number is increase If the board styles are same the seguence of board s channel number was decided by the distance between the PCI PCle plug and CUP Which board s PCI PCle plug is nearest the CPU whose channel number is smaller than other boards and The channel number is Synway AST Series User Manual Page 14 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems i ynway information Engineering Co Ltd increase The span number can be examined by executing the command cat proc zaptel span n
26. s such as AEX and TDM from Digium Inc The Synway TEJ series board can perfectly substitute for the digital trunk cards such as TE from Digium Inc The Synway CDC series board can perfectly substitute for the TC400B CODEC card from Digium Inc Since the FXM and TEJ boards integrate the capability of echo cancellation there is no need to have the supports of other extra modules and devices Compared with other products in Synway AST series they have higher integration and bring an obviously better effect of echo cancellation than other subseries in AST So there is no need to purchase an extra module of VPMADT032 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 This manual as the help file for hardware installation software installation test and configuration of the Synway AST series aims at those installation and maintenance technicians as well as the salesmen who are using the AST boards to set up open source IP PBX application systems This document consists of the following chapters Chapter 1 introduces the Asterisk Trixbox and FreeSwitch application model and scenario set up by the Synway AST series boards Chapter 2 introduces how to install the hardware of Synway AST series boards Chapter 3 introduces how to install the driver of Syn
27. sing the station channel 15 to dial the phone number 3000 of the station channel 13 for test Step3 Test Case 2 TEJ 4A PCI 1 Register a sip UA in asterisk 2 Added dialing rules to etc asterisk extensions conf text exten gt _300X 1 Dial zap 13 50 exten gt _ 300X n playback hello world exten gt _300X n Hangup 3 Using the sip to dial the phone number 3000 of the station channel 13 for test Synway AST Series User Manual Page 21 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 ynway Synway Information Engineering Co Ltd 6 2 2 Trixbox environment Step1 Examine the configuration of Trixbox asterisk vvr CLl gt zap show channels Step2 Test Case 1 FXM 16A PCle 1 Open the window of Trixbox WEB management and add extention for channel 13 and channel 15 in pbx gt system seting gt extention 2 Using channel 13 and channel 15 to dial out for test Step3 Test Case 2 TEJ 4A PCI 1 open the window of Trixbox WEB management and Register a sip channel in the pbx gt system seting gt extention 2 using the eyebeam software terminal to register a sip terminal 3 in pbx gt system seting gt outbound route add hall call rules which through TEJ channel dial out 4 using the sip to dial out for test 6 2 3 FreeSwitch Environment Step1 Examine the configuration of FreeSwitch cd usr local freeswitch bin freeswitch freeswitch gt o
28. stem 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 The TEJ boards improve I O speed by using DMA technique for data reading and writing on the basis of PCI bus resulting in reduced CPU usage and increased board density per server The excellent combination of the TEJ driver and the Asterisk platform brings the following features to the TEJ series boards Supported Data Modes Cisco HDLC HDLC PPP Multi link PPP Frame Relay Supported Voice Modes m PRI CPE and PRI NET Ni NI EurolSDN 4ESS AT amp T 5ESS Lucent DMS100 m E amp M Wink Feature Group B Featrue Group D m FXO and FXS Ground Start Loop Start Loop Start with Disconnect Detect The TEJ series connect Asterisk Server with PSTN Channel Bank or PBX via T1 E1 or J1 interface The boards and the corresponding drivers can be used to establish a professional telephony network environment Figure 1 3 and Figure 1 4 below are typical application models with TEJ Legacy Phones TEJ XXX I i Remote offices Asterisk Server Figure 1 3 Application Model Traditional Telephony System Synway AST Series User Manual Page 2 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway j Synway Information Engineering Co
29. uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Synway 3 2 Trixbox Synway Information Engineering Co Ltd Refer to Trixbox official website http www trixbox org to obtain the detail information about Trixbox 3 2 1 Preparation Obtain the needed resource package for Trixbox installation Table 3 2 show the detail information about the resource package Downloads corresponding l 1 4 x tar zaptel 1 4 x tar gz zaptel driver in trixbox http downloads digium com pub zaptel releases Using the command rpm q zaptel to examine the version of zaptel Synast x x x x tar gz 1 0 0 0 or above http www sanhuid com None Table 3 2 the detail information table of resource package for Trixbox installation 3 2 2 Trixbox System Installation Step1 Install trixbox Downloads the trixbox ISO file from the web and makes it as a Trixbox System installation disk then install this system in you computer Note when install the trixbox system the trixbox will format the whole hard disk Step2 Install compiling environment yum install gcc yum install Kernel devel uname r 3 2 3 driver Installation Step1 Close the zaptel service service asterisk stop service zaptel stop Step2 Install zaptel driver and SynAST driver cd opt star zxvf SynAST 1 0 0 0 tar gz tar zxvf zaptel 1 4 8 tar gz cd SynAST 1 0 0 0 Setup install install gcc compiler instal
30. umber 5 2 Configurate Asterisk Trixbox Modify the configuration file based on the Table 5 2 below trunkgroups channels usecallerid yes hidecallerid no callwaiting no threewaycalling yes transfer yes rxgain 0 0 txgain 0 0 echocancel yes echocancelwhenbridged yes busydetect yes busycount 7 relaxdtmf yes Context from pstn context from pstn context from pstn fxo model signalling pri_cp signalling pri_cpe signalling em_w context from pstn switchtype euroisdn switchtype national switchtype national signalling fxs_ks channel gt 1 15 17 31 channel gt 1 23 channel gt 1 23 channel gt 1 8 channel gt 32 46 48 62 channel gt 25 47 channel gt 25 47 fxs model channel gt 63 77 79 93 channel gt 49 71 channel gt 49 71 context from internal channel gt 94 108 110 124 channel gt 73 95 channel gt 73 95 signalling fxo_ks channel gt 9 16 channels language en usecallerid yes echocancel yes rxgain 0 txgain 0 group 1 callgroup 0 pickupgroup 0 amaflags default accountcode avantel musiconhold default context pstn incoming loglevel 255 protocolclass mfcr2 protocolvariant mx 0 4 7 category NATIONAL_SUBSCRIBER channel gt 1 15 17 31 channel gt 32 46 48 62 Synway AST Series User Manual Page 15 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems i ynway information Engineering Co Ltd channel gt 63 77 79 93
31. way AST series boards in the Asterisk Trixbox and FreeSwitch application environment Chapter 4 introduces how to manually install the driver of Synway AST series boards Chapter 5 introduces how to manually configure the system Chapter 6 introduces how to test the Synway boards in the Asterisk Trixbox and FreeSwitch application environment Synway AST Series User Manual Page vi VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems Symwayinomation Engineering Co Ltd Appendix A provide answers to some problems that may occur when using the Synway AST series boards Appendix B shows the contact way of technical support and sales department in Synway Although Synway has scrupulously checked through this manual but cannot guarantee the absence of errors and omissions We sincerely apologize for any consequent inconvenience brought to you and will be very grateful if you kindly give your advice regarding amendments to this book Synway AST Series User Manual Page vii VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Cynway j 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 driver can smoothly and seamlessly support open source IP PBX platform When using the AST board to establish open source IP PBX
32. z list Step2 Test Case 1 FXM 16A PCle 1 fvim usr local freeswitch conf dialplan default xml 2 modify the beginning of file as following lt xml version 1 0 encoding utf 8 gt lt http wiki freeswitch org wiki Dialplan_XML gt lt include gt lt context name default gt lt extension name fxstofxo gt lt condition field destination number expression gt lt action application set data dialed_number 1 gt lt action application bridge data openzap 1 1 dialed_number gt lt condition gt lt extension gt 3 restarting the freeswitch or inputting the command reloadxml under the command freeswitch to reload the dialing rule Synway AST Series User Manual Page 22 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems Symwayinomation Engineering Co Ltd 4 Using the phone to dial out for test Synway AST Series User Manual Page 23 VolPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299 Ems Symwayinometion Engineering Co Ltd Appendix A FAQ Question 1 Why in the process of using FXM 8A PCI and FXM 16A PCle board result in noise This problem may be caused by not completely download the firmware of zaptel So please examine the network to confirm it was already connected when you execute the command Setup install Question 2 Why the LED of board always flash with the circuitry alre

Download Pdf Manuals

image

Related Search

Related Contents

CE Source Four Zoom  Samsung HT-P40 User Manual  Philips Soundbar speaker CSS2113  Product User Manual  View File  Asrock E3C204-4L  V7 NOTEBOOK POWER CABLE EU PLUG TO IEC-C5 3PIN M/M 1,8m  Bulletin 08 du 19 sept 2012 - Rotary International District 1730  USB to RF remote control transmitter  取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file