ATCOM® Hybrid Card AX-2G4A Product Guide Version: 1.0 Written by Robert.
Content CONTACT ATCOM ............................................................................................................................... 2 CHAPTER 1 THE INTRODUCTION OF AX-2G4A..................................................................................... 3 CHAPTER 2 HARDWARE INTRODUCTION ............................................................................................ 5 CHAPTER 3 SOFTWARE INSTALLATION.............................................................................
Contact ATCOM The Introduction of ATCOM Founded in 1998, ATCOM technology has been always endeavoring in the R&D and manufacturing of the internet communication terminals. The product line of ATCOM includes IP Phone, USB Phone, IP PBX, VoIP gateway and Asterisk Card. Contact sales: Address District C, east of 2nd floor, #3, Crown industry buildings, Chegongmiao Industry area, Futian district, Shenzhen, China Tel +(86)755-23487618 Fax +(86)755-23485319 E-mail sales@atcomemail.
Chapter 1 the Introduction of AX-2G4A Overview of the AX-2G4A AX-2G4A Asterisk card is a hybrid card, which support two GSM channels and 4 FXO/FXS analog ports. Using AX-2G4A, open source Asterisk PBX and stand alone PC, users can create their SOHO telephony solution which includes all the sophisticated features of traditional PBX, and extended features such as voicemail in IP PBX.
Measurement and Weight Inner box G.W./unit Card Size 221 * 142 * 62mm 0.25kg 174mm *104 mm Package Item Quantity AX-2G4A mother board 1 GSM module (GX01) Dual ports analog module 1-2 www.atcom.
Chapter 2 Hardware Introduction GX01: GSM module, one GX01 supports one GSM channel. AX210S: FXS module, it supports two FXS ports. AX210X: FXO module, it supports two FXO ports. Slot1: A slot for plugging GX01, it is the first channel of the card. Slot2: A slot for plugging GX01, it is the second channel of the card. Slot3: A slot for plugging FXS/FXO module, it is the third and fourth channels of the card. Slot4: A slot for plugging FXS/FXO module, it is the fifth and sixth channels of the card.
LED11: When the channel 1 is in communication status, LED11 will be green steady. LED12: Network status indicator of SIM card of the first channel. When the SIM card is searching network, the LED12 will blink fast; when the SIM card has found the GSM network and registered successfully, the LED12 will flip at lower frequency. LED21: When the channel 2 is in communication status, LED21 will be green steady. LED22: Network status indicator of SIM card of the second channel.
Chapter 3 Software Installation Test Environment: dahdi-linux-2.3.0 (download from ATCOM website) dahdi-tools-2.3.0 asterisk-1.6.2.6 (download from ATCOM website) centos 5.6 (kernel version: 2.6.18-238.el5) AX-2G4A+2*GX01+1*AX210S+1*AX210X After inserting the card into your PCI slot and boot your server, please use the “lspci” command to check the PCI bus compatibility.
Install dahdi-tools 1) [root@localhost src]# tar -xvzf dahdi-tools-2.3.0.tar.gz 2) [root@localhost dahdi-tools-2.3.0]# ./configure 3) [root@localhost dahdi-tools-2.3.0]# make 4) [root@localhost dahdi-tools-2.3.0]# make install 5) [root@localhost dahdi-tools-2.3.0]# make config 4. Install asterisk 1) [root@localhost src]# tar -xvzf asterisk-1.6.2.6.tar.gz 2) [root@localhost asterisk-1.6.2.6]# ./configure 3) [root@localhost asterisk-1.6.2.6]# make 4) [root@localhost asterisk-1.6.2.
Chapter 4 Software Configuration 1. In order to load the driver for AX-2G4A once dahdi starts, please edit file:/etc/dahdi/modules Enter into /etc/dahdi/modules file, find the following two lines: # Digium TDM400P: up to 4 analog ports wctdm Then delete the wctdm, and add the following lines: ax4g ax400p ax1600p 2. Please restart dahdi by running /etc/init.d/dahdi restart command. 3.
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Jul 1 11:33:13 2010 # If you edit this file and execute /usr/sbin/dahdi_genconf again, # your manual changes will be LOST.
After running dahdi_genconf successfully, the dahdi-channels.
;;; line="5 WCTDM/6/4 FXOKS (In use) (SWEC: MG2)" signalling=fxo_ks callerid="Channel 5" <4005> mailbox=4005 group=5 context=from-internal channel => 5 callerid= mailbox= group= context=default ;;; line="6 WCTDM/6/5 FXOKS (In use) (SWEC: MG2)" signalling=fxo_ks callerid="Channel 6" <4006> mailbox=4006 group=5 context=from-internal channel => 6 callerid= mailbox= group= context=default www.atcom.
5. Please run dahdi_cfg –vv command. [root@localhost asterisk]# dahdi_cfg -vvvvvvvvvv DAHDI Tools Version - 2.3.0 DAHDI Version: 2.3.
Chapter 5 Test 1. Please check the status of the cell phone card plugged in the AX-2G4A. Please type the following command three times, the result of the third time is correct: cat /proc/dahdi/ax4g_sta_card_1 You can get one line with the following information: S0:4, S1:4, S2:0, S3:0 The S0, S1 stand for the two modules on the AX-2G4A orderly, and different numbers behind colon stand for different status of cell phone card. a: it means that the cell phone card is sending SMS.
4. Use the dmesg command to check your GX01 version: [root@localhost ~]# dmesg wctdm_init_GSM CARD:0 VoiceGSM System:0a Module 0: Installed -- AUTO GSM(version 0x41) wctdm_init_GSM CARD:1 VoiceGSM System:0a Module 1: Installed -- AUTO GSM(version 0x41) Notice: only the GX01 0x41 and above version support bulk SMS sending, multi-language and Pin number. 5. Input PIN-Number for the SIM card in /etc/asterisk/dahdi-channels.
[from-pstn] exten=>s,1,Answer() exten=>s,2,Dial(sip/500) exten=>s,3,hangup() 9. Use a registered sip phone to make an outgoing call, according to the dial-plan above, if you want to make the outgoing call through the first channel, you have to add a prefix “1” when you dial out, if you want to make the outgoing call through the second channel, you have to add a prefix “2”.
Chapter 6 Send SMS There are two ways for users to send SMS by ATCOM AX-2G4A. 1. Sending SMS by asterisk CLI command directly. In the following example, it sends a message to 13728737752 using the first channel: localhost*CLI> sendsms dahdi/1 13728737752 Welcome to ATCOM == Using SIP RTP CoS mark 5 -Launching Sendsms(dahdi/1,13728737752,Welcome to ATCOM) on SIP/600-0000002c -- Launching DoSms(13728737752 Welcome to ATCOM) on DAHDI/1-1 [Apr 25 14:32:32] WARNING[22660]: chan_dahdi.
From asterisk CLI, you can get the following output, if you can see the red characters result=1, it means that the SMS has been sent out successfully; If you get result=-1, it means that the SMS fails to send out. localhost*CLI> [Sep 9 16:08:23] NOTICE[3593]: pbx_spool.c:166 apply_sms_outgoing: pbx_spool find called name=15012871900 [Sep 9 16:08:23] NOTICE[3593]: pbx_spool.
Chapter 7 Reference http://www.asteriskguru.com/ http://www.asterisk.org/downloads http://www.openippbx.org/index.php?title=Main_Page http://www.atcom.cn/ www.atcom.