Download Print this page

Advertisement

Quick Links

AXE2G4AN User Manual
ATCOM
GSM Card AXE2G4AN
®
User Manual
Version: 2.0
2013-12-31

Advertisement

loading

Summary of Contents for ATCOM AXE2G4AN

  • Page 1 AXE2G4AN User Manual ATCOM GSM Card AXE2G4AN ® User Manual Version: 2.0 2013-12-31...
  • Page 2 AXE2G4AN User Manual Release note Version Changed note Editor Date First Release Robert Release the User manual Deniel 2013-12-31 www.atcom.cn Email: support@atcomemail.com...
  • Page 3: Table Of Contents

    AXE2G4AN User Manual Content Chapter 1 the Introduction of AXE2G4AN..................1 Chapter 2 Hardware Introduction......................3 Chapter 3 Test Environment........................4 Chapter 4 Software Installation......................5 Chapter 5 Software Configuration...................... 7 Chapter 6 Test............................12 Chapter 7 Sending and Receiving SMS....................15 Chapter 8 Reference.......................... 17 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.
  • Page 5: Chapter 1 The Introduction Of Axe2G4An

    Chapter 1 the Introduction of AXE2G4AN Overview of the AXE2G4AN AXE2G4AN Asterisk card is a hybrid card, which support two GSM channels and 4 FXO/FXS analog ports. Using AXE2G4AN, 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 pickup, call forward, bulk SMS sending, SMS receiving and so on.
  • Page 6 AXE2G4AN User Manual Hardware Requirement 500-Mhz Pentium III 64MB RAM 3.3V PCI-E 2.2 slot Measurement and Weight Inner box 221 * 142 * 62mm G.W./unit 0.25kg Card Size 175mm *106 mm Package Item Quantity AXE2G4AN mother board GSM module (GX01N) Dual ports analog module www.atcom.cn...
  • Page 7: Chapter 2 Hardware Introduction

    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: Chapter 3 Test Environment

    AXE2G4AN User Manual Chapter 3 Test Environment Test Environment: dahdi-linux-complete-2.6.2+2.6.2 (download from ATCOM website) asterisk-1.8.7.0 (download from ATCOM website) libgsm-1.1.0 (download from ATCOM website) Centos6.0 (kernel version: 2.6.18-348.3.1.el5) AXE2G4AN+2*GX01N+1*AX210S+1*AX210X www.atcom.cn Email: support@atcomemail.com...
  • Page 9: Chapter 4 Software Installation

    Download the dahdi and asterisk packages. Attention: Users need download the latest dahdi and asterisk packages for axe4gn/axe2g4an card from ATCOM download center: http://www.atcom.cn/dl_axe2g4an.html [root@localhost src]# wget http://www.atcom.cn/cn/download/cards/axe2g4an/libgsm-current.tar.gz...
  • Page 10 AXE2G4AN User Manual 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 [root@localhost dahdi-linux-complete-2.6.2+2.6.2]# make install [root@localhost dahdi-linux-complete-2.6.2+2.6.2]# make config Install the libgsm package [root@localhost src]# tar -xvzf libgsm.tar.gz [root@localhost libgsm]# make [root@localhost libgsm]# make install Install asterisk 1) [root@localhost src]# tar -xvzf asterisk-1.8.7.0.tar.gz...
  • Page 11: Chapter 5 Software Configuration

    # If you edit this file and execute /usr/sbin/dahdi_genconf again, # your manual changes will be LOST. # Dahdi Configuration File # This file is parsed by the Dahdi Configurator, dahdi_cfg # Span 1: WCTDM/6 "ATCOM AXFSO Board 7" (MASTER) fxoks=1 echocanceller=mg2,1 fxoks=2...
  • Page 12 = us defaultzone = us After running dahdi_genconf successfully, the “dahdi-channels.conf” file will get the following configuration: ; Span 1: AXGSM "ATCOM AXFSO Board 7" (MASTER) ;;; line="1 AXGSM/0/1 AXFSO (In use) (SWEC: MG2)" signalling=fxo_ks callerid=asreceived group=5 context=from-pstn channel => 1...
  • Page 13 ; Span 2: AXGSM/0/2 "ATCOM GSM/WCDMA 0" group=12 context=from-gsm signalling = gsm ;pinnum=1234 channel => 3 context = group = ; Span 3: AXGSM/0/3 "ATCOM GSM/WCDMA 0" (MASTER) group=13 context=from-gsm signalling = gsm ;pinnum=1234 channel => 5 context = group = Please run dahdi_cfg –vv command.
  • Page 14 AXE2G4AN User Manual 3. Please add the following line at the bottom of the “/etc/asterisk/chan_dahdi.conf” file. Users can run the following command in the CLI. [root@localhost ~]# echo #include dahdi-channels.conf >>/etc/asterisk/chan_dahdi.conf [root@localhost ~]# echo #include gcom-channels.conf >>/etc/asterisk/chan_gcom.conf 4. If users want to load the asterisk, users can run the following command: [root@localhost ~]# asterisk –vvgc...
  • Page 15 If users want to set the billing feature, users can edit the file: “/etc/asterisk/chan_dahdi.conf”. and disable the two parameters: answeronpolarityswitch=yes, polarityonanswerdelay= 300. And then please add two lines to the “/etc/asterisk/gcom-channels.conf” file like the following. The GSM channels configure ; Span 2: AXGSM/0/2 "ATCOM GSM/WCDMA 0" group=12 context=from-gsm answeronpolarityswitch=yes polarityonanswerdelay= 300 signalling = gsm ;pinnum=1234...
  • Page 16: Chapter 6 Test

    The “version 0x11” means the GSM hardware firmware version. Input PIN-Number for the SIM card. Users can add the following red line into “/etc/asterisk/gcom-channels.conf” file. After setting, please restart asterisk to make the changes effective. ; Span 2: AXGSM/0/2 "ATCOM GSM/WCDMA 0" group=12 context=from-gsm signalling = gsm pinnum=1234 www.atcom.cn...
  • Page 17 : 863092010178526 IMSI : 460008362997291 SMSC : +8613800755500 Check the GSM channel messages [root@centos6 dahdi]# lsdahdi ### Span 2: AXGSM/0/2 "ATCOM GSM/WCDMA 0" (MASTER) 1 unknown Clear (In use) (EC: MG2 - INACTIVE) 2 unknown Hardware-assisted HDLC (In use) ..
  • Page 18 AXE2G4AN User Manual Edit a dial-plan for calling. Users can edit the dial-plan in the “/etc/asterisk/extensions.conf” file. The following dial-plan is for a reference. [from-internal] exten=>_1.,1,Dial(gcom/1/${EXTEN:1}) ;Dial-out via GSM module 1; exten=>_1.,2,Hangup() exten=>_2.,1,Dial(gcom/3/${EXTEN:1}) ;Dial-out via GSM module 2; exten=>_2.,2,Hangup() ..
  • Page 19: Chapter 7 Sending And Receiving Sms

    1. Sending SMS by asterisk CLI command directly. In the following example, it sends a message to 13743211234 using the first channel: centos6*CLI> gsm send sms 1 13743211234 Welcome to ATCOM Usage: gsm send sms <span> <number> <sms> Send a sms on <span> <number> <sms>...
  • Page 20 -- 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...
  • Page 21: Chapter 8 Reference

    AXE2G4AN User Manual Chapter 8 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 Email: support@atcomemail.com...