ATCOM® GSM Card AX-4G Product Guide Version: 2.0 Written by Robert.Ao Dec 05th, 2011 http://ArtTel.
Content CONTACT ATCOM ............................................................................................................................... 2 CHAPTER 1 THE INTRODUCTION OF AX-4G ......................................................................................... 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-4G Overview of the AX-4G AX-4G Asterisk card is the GSM channel PCI card that supports up to four GSM channels. Using AX-4G GSM card, 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 in IP PBX, such as voicemail, call transfer, call park, call pick up, call forward, bulk SMS sending, SMS receiving and so on.
Measurement and Weight Inner box G.W./unit Card Size 221 * 142 * 62mm 0.25kg 196mm *115 mm Package Item Quantity AX-4G mother board 1 GSM module (GX01) 1-4 www.atcom.cn http://ArtTel.
Chapter 2 Hardware Introduction TS01 Module1 Module2 Slot Switch 1 4 Pin Power Supply Connector LED1 LED2 Switch 2 Antenna Interface TS01: Omnidirectional antenna GX01: Module1+Module2 Module1: Module1 is used to load Module2, and one Module1 supports one cell phone card slot. Module2: GSM/GPRS/EDGE 850/900/1800/1900MHz wireless module Slot: SIM card of cell phone slot www.atcom.cn http://ArtTel.
Switch 1: There are two ways to provide power feeding for AX-4G, customers can use PCI slot to give power feeding directly, in this situation, please turn the switch1 to 1 on and 2 off; customer can also give power feeding through 4 pin power connector, and in this situation, please turn the swith1 to 1 off and 2 on. 4 Pin Power Supply: 4 pin power supply connector. LED1: When the channel is in communication status, LED1 will be green steady. LED2: Network status indicator of SIM card.
Chapter 3 Software Installation Test Environment: dahdi-linux-2.3.0.4 (download from ATCOM website) dahdi-tools-2.3.0.4 asterisk-1.6.2.6.4 (download from ATCOM website) centos 5.6 (kernel version: 2.6.18-238.el5) AX-4G+4*GX01 After inserting the card into your PCI slot and boot your server, please use the “lspci” command to check the PCI bus compatibility.
1) 2) 3) [root@localhost src]# tar -xvzf dahdi-linux-2.3.1.tar.gz [root@localhost dahdi-linux-2.3.0]# make [root@localhost dahdi-linux-2.3.0]# make install 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.1.
Chapter 4 Software Configuration 1. Please check if the AX-4G driver has been loaded successfully, run cat /proc/interrupts command and you should see one line with ax4g: 20: 2310670 2218516 IO-APIC-fasteoi ax4g/ax2g4a If you can not see ax4g, you can try to poweroff your server and replug AX-4G into another PCI slot. 2. Please run the “dahdi_genconf” command to configure the /etc/dahdi/system.conf file and generate /etc/asterisk/dahdi-channels.conf file.
After running dahdi_genconf successfully, the dahdi-channels.
4. Please add the following line at the bottom of the chan_dahdi.conf file: #include dahdi-channels.conf 5. Please run asterisk with the following command: asterisk –vvgc reload 6. Please run dahdi show channels command You should see 4 channels as the following: *CLI> dahdi show channels Chan Extension Context Language pseudo default Service 1 from-pstn Service 2 from-pstn Service 3 from-pstn Service 4 from-pstn Service *CLI> www.atcom.cn http://ArtTel.
Chapter 5 Test 1. Please check the status of the cell phone card plugged in the ax4g. 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:4, S3:2 The S0, S1, S2, S3 stand for the four modules on the ax4g 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.
exten=>_1.,2,Hangup() exten=>_2.,1,Dial(dahdi/2/${EXTEN:1}) exten=>_2.,2,Hangup() exten=>_3.,1,Dial(dahdi/3/${EXTEN:1}) exten=>_3.,2,Hangup() exten=>_4.,1,Dial(dahdi/4/${EXTEN:1}) exten=>_4.,2,Hangup() [from-pstn] exten=>s,1,Answer() exten=>s,2,Dial(sip/500) exten=>s,3,hangup() 9.
Chapter 6 Sending and Receiving SMS There are three ways for users to send SMS by ATCOM AX4G. 1. Sending SMS by asterisk CLI command directly. Before sending SMS, customer should register a sip phone.
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.cn http://ArtTel.