Page 1
AX2G4A User Manual ATCOM GSM Card AX2G4A ® User Manual Version: 2.0 2013-06-03...
Page 2
AX2G4A User Manual Release note Version Changed note Editor Date First Release Robert 2011-01-20 Release the User manual Deniel 2013-06-03 www.atcom.cn Email: support@atcomemail.com...
AX2G4A User Manual Content Contact ATCOM..........................1 Chapter 1 the Introduction of AX4G....................1 Chapter 2 Hardware Introduction......................3 Chapter 3 Test Environment........................5 Chapter 4 Software Installation......................6 Chapter 5 Software Configuration...................... 7 Chapter 6 Test............................ 11 Chapter 7 Sending and Receiving SMS....................14 Chapter 8 Reference.......................... 16 www.atcom.cn...
Page 4
Contact ATCOM The Introduction of ATCOM ATCOM is the leading VoIP hardware manufacturer in global market. We have been keeping innovating with customer’s needs oriented , working with partners to establish a total solution for SMB VoIP with IP phone , IP PBX and Asterisk cards.
AX2G4A User Manual Chapter 1 the Introduction of AX2G4A 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...
Attention: In order to enhance the GSM signal in some hard environment, except the Antenna in the illustration above, ATCOM can also provide one other type of antenna(TL01) which has long cable(about one meter long) and can be connected to outside.
Page 8
AX2G4A User Manual 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.
Download the dahdi and asterisk packages from the link: http://www.atcom.cn/dl_ax4g.html Attention: users need download dahdi and asterisk packages for ax4g/ax2g4a card from ATCOM website. Install dahdi-linux-complete package [root@localhost src]# tar -xvzf dahdi-linux-complete-2.6.2+2.6.2.tar.gz [root@localhost dahdi-linux-complete-2.6.2+2.6.2]# make...
2310670 2218516 IO-APIC-fasteoi ax4g/ax2g4a If you can not see ax4g/ax2g4a, you can try to power off your server and re-plug AX-2G4A 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.
Page 12
AX2G4A User Manual After running dahdi_genconf successfully, the dahdi-channels.conf file will get the following configuration: ; Span 1: WCTDM/6 "ATCOM AX4G/AX2G4A Board 7" (MASTER) ;;; line="1 WCTDM/6/0 FXSKS (In use) (SWEC: MG2)" signalling=fxs_ks callerid=asreceived group=0 context=from-pstn channel => 1 callerid=...
Page 14
300. And then please add two lines to the “/etc/asterisk/dahdi-channels.conf” file like the following. The GSM channels configure ; Span 1: WCTDM/6 "ATCOM AX4G/AX2G4A Board 7" (MASTER) ;;; line="1 WCTDM/6/0 FXSKS (In use) (SWEC: MG2)" signalling=fxs_ks answeronpolarityswitch=yes...
AX2G4A User Manual Chapter 6 Test Please plug the SIM card into the GSM module. And then run the following command three times. the third result will get the one line with the following information. [root@localhost ~]# cat /proc/dahdi/ax4g_sta_card_1 [root@localhost ~]# S0:4, S1:4, S2:4, S3:4 The “S0, S1,S2,S4”...
Page 16
AX2G4A User Manual Check the GX01 version: [root@localhost ~]# dmesg wctdm_init_GSM CARD:0 VoiceGSM System:0a Module 0: Installed -- AUTO GSM(version 0x49) wctdm_init_GSM CARD:1 VoiceGSM System:0a Module 1: Installed -- AUTO GSM(version 0x49) .... Notice: only the GX01 0x41 and above version support the following function: bulk SMS sending, multi-language for SMS content and Pin number unlock;...
Page 17
AX2G4A User Manual Edit a dial-plan for calling. Users can edit the dial-plan in the “/etc/asterisk/extensions.conf” file. Here, there is a simple examples. [from-internal] exten=>_1.,1,Dial(dahdi/1/${EXTEN:1}) Dial-out via GSM channels exten=>_1.,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() How to make a outgoing calling via the GSM channel with a sip phone.
1. Sending SMS by asterisk CLI command directly. In the following example, it sends a message to 13728701234 using the first channel: localhost*CLI> sendsms dahdi/1 13728737752 Welcome to ATCOM 2. Sending bulk SMS Before sending the SMS, please start Asterisk. Users can edit a *.xml file under the “/var/spool/asterisk/”...
Page 19
-- Launching queuesms(dahdi/1,15012871900&13728731752,hello! welcom to ATCOM!) on type/data-00000001 [Sep 9 16:08:23] NOTICE[3823]: pbx_spool.c:531 attempt_thread: Call completed to sms/ -- Launching DoSms(15012871900&13728731752 hello! welcom to ATCOM!) on DAHDI/1-1 [Sep 9 16:08:27] NOTICE[3825]: chan_dahdi.c:18205 sms_queue_send: sessionid=1315555703.3 channum=1 time=2011/09/09 16:08:27 send to called=15012871900 result=1 [Sep 9 16:08:31] NOTICE[3825]: chan_dahdi.c:18205 sms_queue_send: sessionid=1315555703.3...
Need help?
Do you have a question about the AX2G4A and is the answer not in the manual?
Questions and answers