+ All Categories
Home > Documents > A400P A400E DAHDI User Manual English

A400P A400E DAHDI User Manual English

Date post: 17-Oct-2015
Category:
Upload: emmun
View: 78 times
Download: 0 times
Share this document with a friend
Description:
A400P A400E DAHDI User Manual English
Popular Tags:

of 12

Transcript
  • 5/27/2018 A400P A400E DAHDI User Manual English

    1/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 1

    OpenVox A400P/A400E on DAHDIUser Manual

    Date: 02/08/2011

    Version: 1.2

    A400P A400E

  • 5/27/2018 A400P A400E DAHDI User Manual English

    2/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 2

    OpenVox-Best Cost Effective Aster isk Cards

    OpenVox Communication Co.Ltd.

    Address: F/3, Block No.127, Jindi Industrial Zone,

    Shazui Road, Futian district, Shenzhen, Guangdong 518048, China

    Tel:+86-755-82535461, 82535095, 82535362, Fax:+86-755-82535174

    E-Mail:[email protected] [email protected]

    M for Technical Support:[email protected]

    Business Hours: 9:00AM-18:00PM from Monday to Friday

    URL: www.openvox.cn

    Thank You for Choosing OpenVox Products!

    mailto:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]
  • 5/27/2018 A400P A400E DAHDI User Manual English

    3/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 3

    Content

    Test environments ........................................................................................................ 4

    1. Overview ................................................................................................................ 4

    1.1 What is A400P/A400E ...................................................................................... 4

    1.2 What is asterisk ................................................................................................. 4

    2. Hardware setup ..................................................................................................... 5

    3. Software installation and configuration ............................................................. 6

    3.1 Download .......................................................................................................... 6

    3.2 Installtion .......................................................................................................... 6

    3.3 Configuration .................................................................................................... 8

    4. Reference ............................................................................................................. 11

    5. Appendix .............................................................................................................. 12

  • 5/27/2018 A400P A400E DAHDI User Manual English

    4/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 4

    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.6.2.16.1

    Hardware: OpenVox A400P/A400E

    1.Overview1.1 What is A400P/A400E

    A400P/A400E is a modular analog telephony interface product. It is designed to be hardwarecompatible with Digiums TDM400p. A400P/A400E must be made up with FXO-100 or

    FXS-100 together to build a workable system. The FXO-100 and FXS-100 modules are also

    pin to pin compatible with Digiums X100M and S100M.

    Key Benefits:

    Scalable: just add additional cards to extend system Support PCI for A400P and PCI Express for A400E Be easy to use: full software and hardware compatible with Digium's TDM400P. User can use Diguim's X100M/S100M module on this card, or use our FXO-100/

    FXS-100 Module on TDM400P

    RoHS Compliant

    Certifications: A-Tick, CE and FCC

    Trixbox & Elastix Officially Certified

    Disclaimers

    Asterisk is a registered trademark of Digium, Inc.

    1.2 What is asterisk

    The Definition of Asterisk is described as follows:

    Asterisk is a complete PBX in software. It runs on Linux, BSD, Windows (emulated) and

    provides all of the features you would expect from a PBX and more. Asterisk does voice over

    IP in four protocols, and can interoperate with almost all standards-based telephony

    equipment using relatively inexpensive hardware. Asterisk provides Voicemail services with

    Directory, Call Conferencing, Interactive Voice Response, Call Queuing. It has support for

    three-way calling, caller ID services, ADSI, IAX, SIP, H323 (as both client and gateway),

    MGCP (call manager only) and SCCP/Skinny (voip-info.org).

  • 5/27/2018 A400P A400E DAHDI User Manual English

    5/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 5

    Figure 1 Topology

    2.Hardware setupThere are some matters need your attention before using A400P/A400E, please check that:

    Power off your pc, remember unplug the AC power cable; Insert A400P/A400E into a 3.3V or 5.0V PCI slot or PCI express slot; If you found J914inputand J915outputinterfaces on the card, it means the card

    supports clock line, for the detail information, please refer to the following link

    http://bbs.openvox.cn/viewthread.php?tid=874&extra=page%3D1

    Please plug PSTN line into FXO port and normal telephone line corresponds to FXSport

    Plug back the AC power cable, and power on PC. After power on, four LEDs of the board left will be light and not flash.

    http://bbs.openvox.cn/viewthread.php?tid=874&extra=page%3D1http://bbs.openvox.cn/viewthread.php?tid=874&extra=page%3D1
  • 5/27/2018 A400P A400E DAHDI User Manual English

    6/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 6

    Figure 2 Hardware setup

    3. Software installation and configuration

    A400P/A400E supports DAHDI software device driver on Linux. To make full use of

    A400P/A400E, you should download, compile, install and configure DAHDI and asterisk.

    3.1 Download

    Download DAHDI package to the directory of /usr/src/ from openvox official website

    http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi

    -linux-complete-2.3.0.1+2.3.0.tar.gz

    asterisk software package is also available from digium official website:http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6xxx.tar.gz

    Excute commands below to download and uncompress these two packages.

    # cd /usr/src/

    #_wget_http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.

    0.tar.gz

    #_wget_http://downloads.asterisk.org/pub/telephony/asterisk/re

    leases/asterisk-1.6xxx.tar.gz

    # tar -xvzf openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz

    # tar xvzf asterisk-1.6xxx.tar.gz

    3.2 Installtion

    1.Detect hardware by execute command: lspci

    vvvv

    Check the outcome and confirm your system has recognized A400P. If identified, outputs are

    http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/http://downloads.asterisk.org/pub/telephony/asterisk/releases/http://downloads.asterisk.org/pub/telephony/asterisk/releases/http://downloads.asterisk.org/pub/telephony/asterisk/releases/http://downloads.asterisk.org/pub/telephony/asterisk/releases/http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gzhttp://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.2/openvox_dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz
  • 5/27/2018 A400P A400E DAHDI User Manual English

    7/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 7

    like that:

    01:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface Subsystem: Device b100:0001 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-

  • 5/27/2018 A400P A400E DAHDI User Manual English

    8/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 8

    # cd asterisk-1.6xxx

    # ./configure

    # make

    # make install

    # make samples

    3.3 Configuration

    1. After compile and install dahdi and asterisk, please run:

    # dahdi_genconf

    If there is any error, please trace the cause. Until without any errors are displayed, you could

    execute dahdi_genconf again, then go to next step.By running dahdi_genconf, it will generate /etc/dahdi/system.conf and

    etc/asterisk/dahdi-channels.conf. Check automatically generated files information is agree

    with your hardware setup, if not, you should modify to your requirements. Confirm

    dahdi-channels.conf is included in chan_dahdi.conf, otherwise, 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 the basic channel configuration file, is displayed.

    # Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)fxsks=1fxsks=2fxoks=3fxoks=4

    # Global data

    loadzone = usdefaultzone = us

    Figure 4 A part of system.conf

    In order to match your country pattern, you need to change parameters loadzone and

    defaultzone to your country. For example, your system is in CHINA, then, you would like

    them change to:

    loadzone = cn

    defaultzone = cn

    Meanwhile, you also need to modify another parameter, which is in file

    /etc/asterisk/indications.conf:

  • 5/27/2018 A400P A400E DAHDI User Manual English

    9/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 9

    country=cn

    A part of file /etc/asterisk/dahdi-channels.conf is showed as below. (Modification, if it is not

    agree with the hardware setup)

    ; Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER);;; line="1 WCTDM/4/0 FXSKS"signalling=fxs_kscallerid=asreceivedgroup=0context=from-pstnchannel => 1callerid=group=context=default

    ;;; line="2 WCTDM/4/1 FXSKS"signalling=fxs_kscallerid=asreceivedgroup=0

    context=from-pstnchannel => 2callerid=group=context=default

    ;;; line="3 WCTDM/4/2 FXOKS"signalling=fxo_kscallerid="Channel 3" mailbox=4003group=5context=from-internalchannel => 3callerid=mailbox=

    group=context=default

    ;;; line="4 WCTDM/4/3 FXOKS"signalling=fxo_kscallerid="Channel 4" mailbox=4004group=5context=from-internalchannel => 4callerid=mailbox=group=context=default

    Figure 5 A part of dahdi-channels.conf

    2. Load opvxa24xx driver

    # modprobe dahdi

    # modprobe wctdm

    # dahdi_cfg vvvvvvvvvv

  • 5/27/2018 A400P A400E DAHDI User Manual English

    10/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 10

    Figure 6 Channel map

    3.Start asterisk by executing command:

    # asterisk -vvvvvvvvvgc

    If asterisk is already activate, run asteriskrinstead.

    localhost*CLI> dahdi show channels

    If dahdi channels are found, it means dahdi channels have been loaded into asterisk.

    4. Edit dialplan

    Users must make sure that the context from-pstn and from-internalare in extensions.conf,

    here an example is given:

    # vim /etc/asterisk/extensions.conf

    [from-pstn]exten => s,1,Answer() // answer an inbound callExten => s,n,Playback(cc_welcome)

    Exten => s,n,Hangup()

    [from-internal]exten => 200,1,Dial(dahdi/1/outgoing_number) // dial 200 to dialout from dahdi channel 1exten => 200,2,Hangup

    After saving your dialplan, please run asterisk r, then execute reloadin the CLI. Next

    you are able to make calls.

  • 5/27/2018 A400P A400E DAHDI User Manual English

    11/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 11

    Additional function

    Users should run commandcat /proc/interruptsto check A400P/A400E has independent

    interrupt. If A400P/A400E shares interrupt with other device, it may cause some problems

    even cannot work normally. While A400P/A400E allows users to modify interrupt pin during

    firmware upgrade for avoid conflict, please visit the following link for details:

    http://downloads.openvox.cn/pub/misc/opvx-update%20user%20manual.pdf

    4.Referencewww.openvox.cn

    www.digium.com

    www.asterisk.org

    www.voip-info.org

    www.asteriskguru.com

    www.elstix.org

    Tips

    Any questions during installation or usage, please consult in our forum or look up for answers

    from the following websites:

    http://bbs.openvox.cn/

    http://wiki.openvox.cn/index.php/%E9%A6%96%E9%A1%B5

    http://downloads.openvox.cn/pub/misc/opvx-update%20user%20manual.pdfhttp://downloads.openvox.cn/pub/misc/opvx-update%20user%20manual.pdfhttp://www.openvox.cn/http://www.openvox.cn/http://www.digium.com/http://www.digium.com/http://www.asterisk.org/http://www.asterisk.org/http://www.voip-info.org/http://www.voip-info.org/http://www.asteriskguru.com/http://www.asteriskguru.com/http://www.elstix.org/http://www.elstix.org/http://bbs.openvox.cn/http://bbs.openvox.cn/http://wiki.openvox.cn/index.php/%E9%A6%96%E9%A1%B5http://wiki.openvox.cn/index.php/%E9%A6%96%E9%A1%B5http://wiki.openvox.cn/index.php/%E9%A6%96%E9%A1%B5http://bbs.openvox.cn/http://www.elstix.org/http://www.asteriskguru.com/http://www.voip-info.org/http://www.asterisk.org/http://www.digium.com/http://www.openvox.cn/http://downloads.openvox.cn/pub/misc/opvx-update%20user%20manual.pdf
  • 5/27/2018 A400P A400E DAHDI User Manual English

    12/12

    A400P/A400E on DAHDI user manual

    OpenVox Communication Co. LTD. URL: www.openvox.cn 12

    5.Appendix


Recommended