OpenVox Communication Co.Ltd. OpenVox-Best Cost Effective Asterisk Cards

Similar documents
OpenVox Communication Co. LTD.

OpenVox A810E/AE810E Base on Elastix User Manual

OpenVox Communication Co. LTD.

OpenVox Communication Co. LTD.

A1610E/A1610P. OpenVox A1610E/A1610P/AE1610E/AE1610P User Manual. Date:05/26/2011. Version: 1.3. OpenVox-Best Cost Effective Asterisk Cards 深圳开源通信有限公司

OpenVox A400P/A400E User Manual

OpenVox Communication Co. LTD.

MC100 Series User Manual

OpenVox Communication Co. LTD.

OpenVox Communication Co. LTD.

800P Product Guide Version: 1.1

Product Guide Version: 1.0

Product Guide Version: 1.0

OpenVox B100P Install Manual for dahdi on opensuse

Product Guide Version: 1.0

Step by Step Guide. BRI Card Installation. (with Asterisk) Version 1.0

OpenVox A400P/A400E User Manual

Chapter 1 Introduction

OpenVox Communication Co.Ltd. OpenVox-Best Cost Effective Asterisk Cards

AX4B. ATCOM Digital Card AX4B/AX2B Product Guide 25/10/2011 Written by Robert.Ao

OpenVox Communication Co. LTD.

Etross-1200P User s Manual

OpenVox FB40/FD40 User Manual

OpenVox A2410P/AE2410P on Elastix 1.6 User Manual

OpenVox Communication Co. LTD.

OpenVox A2410P/AE2410P on Trixbox User Manual

OpenVox DE210E/DE210P DE410E/DE410P User Manual

OpenVox A400P User Manual

AXE4GN User Manual. ATCOM GSM Card AXE4GN User Manual Version:

How to install elastix_1.5.2_openvox_a1200p.pdf

OpenVox B200P B400P B400E User Manual

Upgradable PRI Card Installation Guide

OpenVox FD182 User Manual

OpenVox FA100 User Manual

How to install AsteriskNOW1.5.0_OpenVox_A400P

Step by Step Guide. BRI Card Installation. (with Trixbox ) Version 1.0

Step by Step Guide. BRI Card Installation. (with Elastix-2.2.0) Version 1.0

Hx8 Series. User Manual HA8 / HB Rev. A5

CESNET technical report number 26/2006. Asterisk and SS7. Jan Rudinský, Miroslav Vozňák, Jan Růžička

Running MFC/R2 with Sangoma Wanpipe using OpenR2 (libopenr2) December 2, 2008

Elastix Installation Manual

SynAST Application Platform-AsteriskNow Installation Manual

DAHDI Overview for Asterisk Developers Presented by Matthew Fredrickson and Shaun Ruffell

Connect the serial cable from the Adit to the serial port on your laptop (Or desktop for that matter)

User Manual on Configuration of DAHDI/Asterisk. Version 1.3

How to Install AX2G4A/AX4G with Elastix2.0.3/Trixbox

Hx8 Series HA8 / HB8. User Manual Rev. A.4

TE400 Series TE420B / TE420 / 412P 410P / 407P / 405P

Upgrading from Zaptel to DAHDI

TE130 Series TE133 / TE134

ATCOM Digital Card AX-1E Product Guide

Ladies and gentlemen, let me guide you through the Skype gateway quickstart of Sky2Sip Connect with Elastix

Overview... 1 Features... 1 Applications... 1 Hardware requirement... 1 Hardware Setting... 2 Software Installation... 5 Software Configuration...

TE120 Series TE120P/TE121/TE122

TE800 Series. User Manual TE820B / TE Rev. A3

TE400 Series. User Manual TE420B/TE420/412P/410P/407P/405P Rev. B

TE430 Series TE435B/TE435/TE436B/TE436

Elastix Installation Manual

SynAST Application Platform-Asterisk Installation Manual

TE800 Series TE820B/TE820

Installing Dialogic Diva Software Driver as an Asterisk Channel. A Technical Overview

B410P User Manual Rev. B3

Atcom AX400P and Elastix Server

B410P. User Manual Rev. B1

An introduction to SS7 and its support in Asterisk. by Matthew Fredrickson

800 Series AEX800 / TDM800P

Transcoding Card CT200E - User Manual

2400 Series AEX2400/TDM2400P

Analog 410 Series TDM410/AEX410

Quad Analog Series A4A / A4B

Installing FreePBX 14 on CentOS 7

SynAST Application Platform-Trixbox Installation Manual

CDC-1522A/PCI CDC-2522A/PCI CDC-3522A/PCI. Version 1.0

interfaces. If you are configuring FXO or FXS interfaces, you may skip this part and move down to section. If you are configuring T1/E1 interfaces, yo

FONEBridge2 Installation Guide

SynAST Application Platform-CallWeaver Installation Manual

Installing FreePBX 13 on CentOS 6

Installing FreePBX 13 on CentOS 7

FXM-8A/PCI FXM-16A/PCIe

Trixbox High-Availability with fonebridge Tutorial

Installing FreePBX 12 on CentOS 6.5

Elastix Fault Finding And General Techniques

Mediatrix FXO Unit with Asterisk

Com.X5 Getting Started Guide

Com.X10 Quick Start Guide

TC400 Series TCE400 / TC400B

Installation Guide. 1. Operating System. 2. Zaptel. 3. Asterisk. Asterisk-addons. Asterisk-gui. Asterisk permission. 4. Database. Mysql. 5.

Product Guide Version: 1.0

TEJ-1A/PCI TEJ-2A/PCI TEJ-4A/PCI

ANALOG ACTIVE CARD. (PCIe) Up to 4 analog ports (FXO/FXS)

DSH-G300 Smart Hub. Manual

TDM#XYB(E) or AEX#XYB(E)

Figure: ATCOM IPPBX IP04. ATCOM IPPBX IP04 Product Guide Version:

SoLink-Lite IP-PBX. Administrator Guide. (Version 1.0)

Allo ISDN BRI CB200PD and Elastix Server

How to set FAX on asterisk

OCTVQE Zaptel Echo Canceller (PRELIMINARY)

Gateways, a.k.a. trunks, don't need to authenticate with Freeswitch, and are configured in conf/directory/default/

Synway Voice Board. Synway Information Engineering Co., Ltd.

ISDN Troubleshooting. All Mediatrix Units with ISDN cards. v

Transcription:

OpenVox Communication Co.Ltd OpenVox-Best Cost Effective Asterisk Cards Address:10/F, Building 6-A, Baoneng Science and Technology Industrial Park, Longhua New District, Shenzhen, Guangdong, China, 518109 Tel: +86-755-66630978,82535461, 82535362, Fax:+86-755-83823074 Business Contact: sales@openvox.com.cn Technical Support: support@openvox.com.cn Business Hours: 09:00-18:00(GMT+8) from Monday to Friday URL: www.openvox.cn Thank You for Choosing OpenVox Products! OpenVox Communication Co. LTD. URL: www.openvox.cn 1

Copyright Copyright 2011 OpenVox Inc. All rights reserved. No part of this document may be reproduced without prior written permission. Confidentiality Information contained herein is of a highly sensitive nature and is confidential and proprietary to OpenVox Inc. No part may be distributed, reproduced or disclosed orally or in written form to any party other than the direct recipients without the express written consent of OpenVox Inc. Disclaimer OpenVox Inc. reserves the right to modify the design, characteristics, and products at any time without notification or obligation and shall not be held liable for any error or damage of any kind resulting from the use of this document. OpenVox has made every effort to ensure that the information contained in this document is accurate and complete; however, the contents of this document are subject to revision without notice. Please contact OpenVox to ensure you have the latest version of this document. Trademarks All other trademarks mentioned in this document are the property of their respective owners. OpenVox Communication Co. LTD. URL: www.openvox.cn 2

Contents Test Environments... 4 Chapter 1 Software Installation... 5 1.1 Download... 5 1.2 Installation... 6 1.3 Configuration... 8 Chapter 2 Reference... 13 Appendix... 14 Tips... 14 OpenVox Communication Co. LTD. URL: www.openvox.cn 3

Test Environments CentOS-5.6 Kernel version: 2.6.18-238.12.1.el5 DAHDI: dahdi-linux-complete-2.3.0.1+2.3.0 Asterisk: 1.8.0 ss7: chan_ss7-2.1.0 Hardware: IX Series (A400E+DE130E) OpenVox Communication Co. LTD. URL: www.openvox.cn 4

Chapter 1 Software Installation IX series IP-PBX supports combinations analog, BRI, PRI and GSM telephony cards, now let s take the combination of A400E and DE130E for an example to illustrate software installation. And assume that DE130E need to run in SS7 signaling. 1.1 Download Download chan_ss7 package from: http://www.netfors.com/chan_ss7_free Get DAHDI source package from openvox: http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_ dahdi-linux-complete-current.tar.gz Get Asterisk software package from digium official website: http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.0.tar.gz Execute the following commands in the directory /usr/src/ in general to download and unzip the three source packages. #_wget_http://www.netfors.com/media/download/chan_ss7-2.1.0.tar.gz #_wget_http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_ dahdi-linux-complete-current.tar.gz #_wget_http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1. 8.0.tar.gz OpenVox Communication Co. LTD. URL: www.openvox.cn 5

# tar_-xvzf chan_ss7-2.1.0.tar.gz #_tar_-xvzf_openvox_dahdi-linux-complete-xx.tar.gz # tar xvzf asterisk-1.8.0.tar.gz 1.2 Installation Make sure your necessary dependencies have all been installed, and then get start to install DAHDI, Asterisk and chan_ss7. # cd /usr/src/dahdi-linux-complete-xx # make # make install # make config Caution: If there is something wrong after "make", please refer to HERE. In the url link, the moderator introduces you a method how to patch. After patching, save your changes and exit. Then run "make" again, if successfully, you are going to install Asterisk. Please operate those commands to install Asterisk. # cd asterisk-1.8.0 #./configure # make OpenVox Communication Co. LTD. URL: www.openvox.cn 6

# make install # make samples "make samples" will install the standard sample configuration file in the directory /etc/asterisk. As a freshman, you should perform make samples, that is to say, it is unnecessary to perform make samples every time. Because once performed, it will cover the old sample configuration files you have installed. After installed dahdi and asterisk, now install chan_ss7 as below: Go to the directory of chan_ss7 source codes and modify Makefile like this: #INCLUDE+=-I../source/telephony/zaptel/kernel #CFLAGS+=-DUSE_ZAPTEL ASTERISK_PATH=../asterisk-1.8.0/include INCLUDE+=-I../dahdi-linux-complete-2.3.0.1+2.3.0/include Execute commands to compile and install chan_ss7 # make # make install # cp ss7.conf /etc/asterisk ; copy the ss7.conf file to /etc/asterisk OpenVox Communication Co. LTD. URL: www.openvox.cn 7

# cp chan_ss7.so /usr/lib/asterisk/modules ; copy the chan_ss7.so to /usr/lib/asterisk/modules 1.3 Configuration 1. Driver loading After compiling and installing DAHDI and Asterisk, please load the driver by running: # modprobe dahdi # modprobe opvx115 # modprobe wctdm # dahdi_genconf After running, there is not any indication information displayed if loaded normally and successfully. "opvx115" and "wctdm" are the driver module name of DE130E and A400E. If there is any error, please trace the cause. Until all errors are clear up, you could execute "dahdi_genconf" again, and then go to the next step. By running "dahdi_genconf", it will generate /etc/dahdi/system.conf and etc/asterisk/dahdi-channels.conf automatically. Checking whether the generated files information agrees with your hardware setup, if not, you OpenVox Communication Co. LTD. URL: www.openvox.cn 8

should modify to your specific requirements. Do not forget to confirm dahdi-channels.conf is included in chan_dahdi.conf, if not, run command: # echo "#include dahdi-channels.conf" >> /etc/asterisk/chan_dahdi.conf FXO ports use FXS signaling, while FXS ports adopt FXO signaling. A part of system.conf which is one of the basic channel configuration files is displayed. # Span 2: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) fxoks=1 fxoks=2 fxsks=3 fxsks=4 # Global data loadzone = cn defaultzone = cn ;Modify these two parameters to peer your country or zone Figure 6 A part of system.conf Some zonedata is available in the file.. /dahdi-xx/tools/zonedata.c, you can refer to it to match your country mode. Meanwhile, you also need to modify another parameter which is in file /etc/asterisk/indications.conf. country=cn 2. Edit files for ss7 a. Edit /etc/dahdi/system.conf like: OpenVox Communication Co. LTD. URL: www.openvox.cn 9

vim /etc/dahdi/system.conf This file is parsed by the Dahdi Configurator, dahdi_cfg # # Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/CCS/CRC4 RED Span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-31 #dchan=16 b. edit /etc/asterisk/ss7.conf [linkset-siuc] enabled => yes enable_st => no use_connect => no hunting_policy => even_mru context => ss7 language => da t35 => 15000,timeout subservice => auto ;signallingtype=>isup(tup) variant => CHINA [link-l1] linkset => siuc channels => 1-15,17-31 schannel => 16 firstcic => 0 ;sls => 1 ;sltm => no enabled => yes echocancel => no ;echocan_train => 350 ;echocan_taps => 128 [host-zmdvoip] enabled => yes opc => 0x10ff48 dpc => siuc:0x10fff6 links => l1:1 zmdvoip is your asterisk server name Some parameters in this file need to be changed according to your situation. Please replace zmdvoip by your asterisk server name. If opc is 0x10fff6 and dpc is 0x10ff48 carrier gives you, you must set opc => 0x10ff48 dpc => siuc:0x10fff6 like the above figure. OpenVox Communication Co. LTD. URL: www.openvox.cn 10

c. Edit /etc/asterisk/dahdi-channels.conf Please comment out the settings for DE130E, otherwise it will be contradictory with ss7 ;Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/CCS/CRC4 RED ;group=0,11 ;context=from-pstn ;switchtype = euroisdn ;signalling = pri_cpe ;channel => 1-15,17-31 ;context = default ;group = 63 After these tasks finished, please execute the following command: # service dahdi restart # dahdi_cfg vvvvvv The command is used for reading and loading parameters in the configuration file system.conf and writing to the hardware. A part of outputs are showed in the following figure. DAHDI Version: 2.3.0 Echo Canceller(s): Configuration ====================== Channel map: Channel 01: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 01) Channel 02: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 02) Channel 03: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 03) Channel 04: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 04) 4 channels to configure. Setting echocan for channel 1 to none Setting echocan for channel 2 to none Setting echocan for channel 3 to none Setting echocan for channel 4 to none Figure 7 Channel map OpenVox Communication Co. LTD. URL: www.openvox.cn 11

3. Asterisk initiation # asterisk -vvvvvvvgc If Asterisk is already activate, run "asterisk r" instead. In the CLI, please run the following command: localhost*cli> ss7 link status linkset siuc, link l1/16 INSERVICE, sls 0, total: 8684336, 8684368 localhost*cli> ss7 linestat Linkset: siuc CIC 0 Idle CIC 1 Idle CIC 2 Idle CIC 3 Idle CIC 4 Idle CIC 5 Idle CIC 6 Idle CIC 7 Idle CIC 8 Idle CIC 9 Idle CIC 10 Idle CIC 11 Idle CIC 12 Idle CIC 13 Idle CIC 14 Idle CIC 16 Idle CIC 17 Idle CIC 18 Idle CIC 19 Idle CIC 20 Idle CIC 21 Idle CIC 22 Idle CIC 23 Idle CIC 24 Idle CIC 25 Idle CIC 26 Idle OpenVox Communication Co. LTD. URL: www.openvox.cn 12

CIC 27 Idle CIC 28 Idle CIC 29 Idle CIC 30 Idle localhost*cli> dahdi show channels Chan Extension Context Language MOH Interpret Pseudo default default 1 from-internal default 2 from-internal default 3 from-pstn default 4 from-pstn default Figure 9 channels show If DAHDI channels and ss7 are found and up, it means they have been loaded into Asterisk successfully. The last thing is to edit your extension (softphone or hard phone) and dialplan by your requirements. After right dialplan, I will say congratulations to you! After saving your dialplan, please run "asterisk r", then execute "reload" in the CLI. Next you are able to make calls. Chapter 2 Reference www.openvox.cn www.digium.com www.asterisk.org www.voip-info.org www.asteriskguru.com OpenVox Communication Co. LTD. URL: www.openvox.cn 13

Appendix # yum install bison # yum install bison-devel # yum install ncurses # yum install ncurses-devel # yum install zlib # yum install zlib-devel # yum install openssl # yum install openssl-devel # yum install gnutls-devel # yum install gcc # yum install gcc-c++ # yum install libxml2 Tips Any questions during installation please consult in our forum or look up for answers from the following websites: Forum wiki OpenVox Communication Co. LTD. URL: www.openvox.cn 14