AX4G 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.
Chapter 1 the Introduction of AX4G Overview of the AX-4G AX4G Asterisk card is a GSM card, which support four GSM channels. It use the open source Asterisk PBX and stand alone PC. Users can create their SOHO telephony solution which includes...
AX4G User Manual Chapter 2 Hardware Introduction 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...
Page 8
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.
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
AX4G 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...
[root@localhost ~]# cat /proc/dahdi/GSM_signal_card_1 [root@localhost ~]# SQ0 = 31, SQ1 = 30, SQ2 = 20, SQ3 = 22 The “SQ0, SQ1” stand for the two GSM modules on the AX4G orderly, and the different numbers behind equality sign stand for the GSM signal.
Page 16
AX4G 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
AX4G 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 AX4G and is the answer not in the manual?
Questions and answers