OpenVox G400P User manual

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
1
OpenVox Communication Co.Ltd
OpenVox-Best Cost Effective Asterisk Cards
Address: F/3, Building No.127, Jindi Industrial Zone,
Shazui Road, Futian District, Shenzhen, Guangdong 518048, China
Tel:+86-755-82535461, 82535095, 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!
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
2
Copyright
Copyright© 2011 OpenVox Inc. All rights reserved. No part of this document maybe
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 consentof OpenVox Inc.
Disclaimer
OpenVox Inc. reserves the right to modify the design, characteristics,andproducts at
any time without notification or obligation and shall not be held liable for any error or
damage of any kind resulting from the useof 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 documentare
subject to revision without notice. Contact OpenVox to ensure you have the latest
revision of this document.
Trademarks
All other trademarks mentioned in this document are the property of their respective
owners.
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
3
Contents
General Safety Instructions ........................................................................................4
Test Environments.......................................................................................................5
Chapter 1 Overview.....................................................................................................6
1.1 What is Asterisk ................................................................................................6
1.2 What is G400P ..................................................................................................7
Chapter 2 Hardware Setup.......................................................................................10
2.1 Power supply...................................................................................................10
2.2 Slot compatibility............................................................................................11
2.3 Indication LEDs ..............................................................................................11
2.4GSM modules and SIM cards..........................................................................12
2.5 Introduction of main chipset ...........................................................................12
2.6 Hardware setup procedure ..............................................................................13
Chapter 3 Software Installation and Configuration...............................................14
3.1 Hardware detection.........................................................................................14
3.2 Dependencies installation ...............................................................................14
3.3 chan_extra, DAHDI and Asterisk installation ................................................16
3.4 Driver loading and Asterisk initiation.............................................................22
3.5 Dialplan edit....................................................................................................23
Chapter 4 References.................................................................................................25
Appendix A Specifications ........................................................................................26
Appendix B 2G and 3G Modules..............................................................................27
Appendix C GSM Frequency Band Reference .......................................................29
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
4
General Safety Instructions
CAUTION
1. The computers that have G400P card installed must comply with
the country’s specific safety regulations.
2. Only service personnel should install G400P card.
3. Before you install G400P card, please unplug the power cord from
the computer and remove the cover from your PC.
4. For avoiding personal injuries and damage to your computer and
G400P card, make sure bracket of the card is secured to the PC ’s
chassis ground by fastening the card with screws.
5. Electrical Surges, ESD are very destructive to the equipment. To avoid
it, make sure there is a low impedance discharge path from your
computer to chassis ground.
6. To reduce the risk of damage or injury, please follow all steps or
procedures as instructed.
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
6
Chapter 1 Overview
1.1 What is Asterisk
The Definition ofAsterisk 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-basedtelephony equipment using
relatively inexpensive hardware. Asterisk provides Voicemail services
with Directory, Call Conferencing, Interactive Voice Response,Call
Queuing. It has supportfor 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).
PC+Softphone
SIP phone
Analog phone
Switch Asterisk
VOIP PBX
Operating System Linux and FreeBSD
OpenSource Drivers Asterisk®,DAHDI,
Zaptel,Bristuff,Misdn and ISDN4BSD
Protocol SIP, IAX, SS7, MGCP, H323, R2 and more..
Applications IVR, CRM, FAX, E-mail, CallCenter, Billing
and your application..
Figure 1 Topology
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
7
1.2 What is G400P
G400P is a 4-channel (slots) PCIGSMcard and works in the GSM
network. One GSMmodule supports one SIM card. The 3rd generation
module based on chan_extra driver for OpenVoxGSM cards support
3G(WCDMA). With the new module, users easily get the best stability in
voice and SMS function
It allows users to choosethe amount of modules and SIM cards according
to their specific requirements. G400P can be implemented in Asterisk
PBX and GSMnetwork. Through this implementation, users will realize
to make an Asterisk PBX with flexibility and mobility perfectly.
Targetapplications
GSMconnectivity for PBX
Mobile PBX
GSMVOIPGateway
SMS Gateway
GSMCallback service
Sample application
As the following figure conveys, SIP phone and soft phone are able to
communicate with mobile phonesvia G400P which acts as a GSM
connection for PBX.
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
8
PC+软电话
SIP 电话
移动电话
服务器
G400P
网络交换机
Figure 2 Sample application
Key benefits
IMEI and PIN modification
SMS batch receiving/sending, AT command availability
SupportUSSD
Scalable: Extending the system by adding more modules
Easy to use: It bases on chan_extra open sourcesolution
Configurable: Setting GSMnetwork requirements through
configuration files
High quality with low price
Low power consumption
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
9
Application: Use Asterisk®to build your IP-PBX/Voicemail system
RoHS compliant
Certificates: CE, FCC
Features
Owns an electrical circuit switch to ensure the GSMmodules are
power-off when the system reboots
Be compatible with Industry Standard: PCI2.2
Quad-Band GSM/GPRS 850/ 900/1800/1900 MHz
Supports LEDs indicating network status
DIGITAL audio quality(echo cancel)
1 SIM card per GSM channel
Supports external antenna
GSMdata connections
DTMF detection
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
10
Chapter 2 Hardware Setup
There are some points should bepaid attention to setup G400P.
2.1 Powersupply
Please take particular attention to powersupply connection. There are
two alternatives allow users to select a power supply.
1. Using 12V external DC, you should adjust the jumper J3 to 1;
2. Using Molex connectorby setting the jumper J3 to 2 as figure 3.
Figure 3 Power supply method
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
11
2.2 Slot compatibility
G400P is compatible with 32-bit 5.0V PCI slot (slot2), 64-bit 3.3V PCI
slot (slot3), and 64-bit 5.0V PCI slot (slot 4), while it is not fit for PCI-E
slot. You should confirm your slot type, and then insert G400P into a PCI
slot. PCI and PCI-E slots are showed as follows:
64-bit 5.0V PCI slot
64-bit 3.3V PCI slot
32-bit 5.0V PCI slot
PCI-E ×1slot
1
2
3
4
Figure 4 slots
2.3 Indication LEDs
There are 4 LEDs on the board. Each one indicates the working status of
each SIM card. The detail explainations are as followings:
LED off: SIM card does not work
64ms On/800ms: SIM card does not find the network(64ms
On/800ms means the LED is light on 64ms then go out 800ms)
64ms On/3000ms:SIM card finds the network
64ms On/300ms: GPRScommunication
In addition, there are two LEDs located at the bottomof the board which
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
12
are D8 and D9, under normal circumstances, they are lit when powered
and D9 flashes more quickly than D8.
2.4 GSM modules and SIM cards
G400P supports 2G and 3G module, M20 is 2G module and WCD100 is
3G module, please go to here for modules’detail information. One GSM
module supports oneSIM card and one antenna, please plug a SIM card
into the back of a GSMmodule and activate it. For more details, please
refer to figure 3.
2.5 Introduction of main chipset
Designed for global market, M20 is quad-band GSM/GPRS engine that
works on frequencies, GSM/GPRS 850/900/1800/1900 MHz.
With a tiny configuration of 35mm ×32.5mm ×2.95 mm, M20 can fit
almost all the spacerequirement in yourapplication, such as smart phone,
PDAphone, Car Phone,Wireless PSTN,and other mobile devices.
The M20 provides RF antenna interface. Customer’s antenna should be
located in the customer’s main board and connect to module’s antenna
pad through micro strip line or other type RF traces whose impendence
must be controlled in 50Ω.
The M20 is integrated with the TCP/IP protocol,Extended TCP/IP AT
commands are developed for customersto use the TCP/IPprotocoleasily,
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
13
which is useful for those data transfer applications.
2.6 Hardware setup procedure
Power off your PC, remember unplug the AC power cable
Place SIM cards for GSMmodules
Insert G400P into a PCI slot
Select a power supply way as previously stated
Fix the board by a screw
Power on your PC
PCI slot
Power connection
GSM module
Figure 5 Hardware setup
Caution:During the above processes,anESD wrist
strap is needed. Once power is on, you must not attempt
to install ortake down the board.After hard ware setup,
it is time to install software.
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
14
Chapter 3 Software Installation and Configuration
3.1 Hardware detection
Detect hardware by executing command:
# lspci –vvvv
Check the outcome and confirm your system has recognized G400P. If it
has been recognized, the outputs information will be showed like that:
03:00.0 Class ff00: Unknown device 1b74:0100 (rev 01)
Subsystem: Unknown device 1b74:0104
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 169
Region 0: Memory at febf0000 (32-bit, non-prefetchable) [size=64K]
Figure 6 Hardware detection
If G400P is not recognized by the system, you have to power off and take
out of the card, then try to insert it into another PCIslot.
3.2 Dependencies installation
Some dependencies are crucial, if any of them is absent, the software
installation process would not go through successfully. Let’s run "yum
install XX"(XX stands for the dependency’s name) to check the
availability of some dependencies.
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
15
# 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
# yum install libxml2-devel
If there is no kernel-devel sourcein the system, users
should run the following command to install the
kernel-devel to peer current kernel:
# yum install kernel-devel-`uname –r`
While if there is no matched kernel-devel found, you should download
matched RPMpackage to install it, or execute the following command to
update to the latest and stable kernel version:
# yum install kernel kernel-devel
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
16
After installed, please rebootyour machine to apply the new kernel and
install the dependencies. If the dependency has been installed, system
indicates that nothing to do which means you could go to next one
directly. Otherwise, the systemwill keep on installing it.
3.3 chan_extra, DAHDI and Asterisk installation
Go to OpenVoxofficial website to download chan_extra, the url link is:
http://www.chan-extra.org/download/releases/
Download chan_extra to the directory /usr/src/ in generally, and then
unzip it.
#_wget_http://www.chan-extra.org/download/release
s/chan_extra-1.XX.tar.gz
# tar –xvzf chan_extra-1.XX.tar.gz
Change to the directory chan_extra-1.XX (XX stands for chan_extra
version), then perform the specific command to install it.
# cd /usr/src/chan_extra-1.XX
# ./install.sh
After running the above commands, the script will check wether the
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
17
dependencies have been installed, if not, you should type "y" to accept to
install all the necessarydependencies until the system detects all of them
are "OK", then press "enter"key to operate the next step.
########################################################################
# OpenVox Extra Installation Script #
# v1.1.2 #
# OpenVox Communication Co.,Ltd #
# Copyright (c) 2009-2011 OpenVox. All Rights Reserved. #
########################################################################
Checking for C development tools ... [ OK ]
Checking for C++ developement tools ... [ OK ]
Checking for Make utility ... [ OK ]
Checking for ncurses library ... [ OK ]
Checking for ncurses-devel library ... [ OK ]
Checking for Perl developement tools ... [ OK ]
Checking for Patch ... [ OK ]
Checking for bison... [ OK ]
Checking for bison-devel... [ OK ]
Checking for openssl... [ OK ]
Checking for openssl-devel... [ OK ]
Checking for gnutls-devel... [ OK ]
Checking for zlib... [ OK ]
Checking for zlib-devel... [ OK ]
Checking for kernel development packages... [ OK ]
Checking for libxml2-devel... [ OK ]
Press [Enter] to continue...
Figure 7 Depedencies detection
G400P software installation is indicated by some wizard options, you
should select the right optionby your specific case. Now let’s introduce
how to install the driver by source code.
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
18
########################################################################
# OpenVox Extra Installation Script #
# v1.1.2 #
# OpenVox Communication Co.,Ltd #
# Copyright (c) 2009-2011 OpenVox. All Rights Reserved. #
########################################################################
1) Source code install
2) Trixbox-dahdi install
3) Elastix-dahdi install
q) quit
Please enter your selection (1..3 or q) ->
Figure 8 Installation ways selection
It is time to select the installation way after dependencies detection.
->1) Source code install
(CentOS in addition to Elastix and trixbox, please choose "Sourcecode
install"option by typing "1". After a few seconds or minutes, you will
come to next option that the way you want to install DAHDI)
Looking for dahdi-linux-complete directory in /usr/src ...
1 : /usr/src/dahdi-linux-complete-2.3.0.1+2.3.0
------------------------------------------
n : Download and install dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz
[Default installation]
m : Enter dahdi-linux-complete dir path manually
d : Download the latest version of dahdi-linux-complete
q : Skip the step
(ctrl-c to Exit)
Please select working dahdi-linux-complete directory [1-1, n, m, d, q]:
Figure 9 DAHDI installation ways selection
-->1: /usr/src/dahdi-linux-complete-XXX
(This option means the available DAHDI version which allows you to
type the correspondingnumber to install. Here the default version
http://ArtTel.ru

G400P User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
19
dahdi-linux-complete-2.3.0.1+2.3.0 which are included in the
installation package. If there are any other versions, the system will
automatically look for and showthe outcome.)
-->n: dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz
[default]
(If you want the system to download and install the default version
dahdi-linux-complete-2.3.0.1+2.3.0 automatically, you should type
"n")
-->m: Enter dahdi_linux_complete dir path
manually
(This option allows you to type the full path of DAHDI sourceif you
have installed DAHDI. Also you can type the specific DAHDI
version, the script will download the version you want of DAHDI to
/usr/src/, then you will see a new option as following if you type
dahdi-linux-complete-XXX(please type the version number instead of
XXX ) )
-->d: Download the latest dahdi_linux_complete
(This option will download and install the latest
dahdi_linux_complete version, the latest version of
http://ArtTel.ru
Table of contents
Other OpenVox PCI Card manuals

OpenVox
OpenVox B400P User manual

OpenVox
OpenVox D210P User manual

OpenVox
OpenVox B200E User manual

OpenVox
OpenVox A800P User manual

OpenVox
OpenVox B400P User manual

OpenVox
OpenVox DE115P User manual

OpenVox
OpenVox D230P User manual

OpenVox
OpenVox DE410E User manual

OpenVox
OpenVox DAHDI D110P User manual

OpenVox
OpenVox A400M Series User manual