background image

AXE2G4AN User Manual

www.atcom.cn

Email: [email protected]

16

4. Check the SMS result
1)

Users can get the following output in the asterisk CLI.

If users can see the characters: “

result=1

”, it means that the SMS has been sent out

successfully; If users get “

result=-1

”, it means that the SMS fails to send out.

For example:

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.c:166 apply_sms_outgoing: pbx_spool find called

name=13728731752

-- Attempting call on sms/ for application queuesms(dahdi/1,15012871900&13728731752,hello! welcom

to ATCOM!) (Retry 1)

-- 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

channum=1 time=2011/09/09 16:08:31 send to called=13728731752

result=1

-- Hungup 'DAHDI/1-1'

2)

Check the SMS status with log file
Users can also check SMS result by checking the “

/var/log/asterisk/sms/sendsms

” directory.

The system will generate a log file each day if the SMS is sent successfully or not.
For example,

sendsms_2013-12-02.log

It is created on Dec 02th, 2013, which writes down all the sent SMS results on Dec 02th,

2013.

5. Receiving SMS

When one SMS is received, the system will generate a file for storing the SMS under

/var/log/asterisk/sms/recvsms

” directory.

The format of the file name: recvsms_channel numbecell phone number.log
The format of SMS content: channo:channel >>date time|+cell phone number| SMS content

Summary of Contents for AXE2G4AN

Page 1: ...AXE2G4AN User Manual ATCOM GSM Card AXE2G4AN User Manual Version 2 0 2013 12 31...

Page 2: ...AXE2G4AN User Manual www atcom cn Email support atcomemail com Release note Version Changed note Editor Date 1 0 First Release Robert 2 0 Release the User manual Deniel 2013 12 31...

Page 3: ...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...

Page 4: ...e and other terminals for IP PBX softswitch IMS NGN providers and carriers supplying the competitive total VoIP solution for SMB market We keep improving the customer s experience and creating the big...

Page 5: ...o open the server case when they change the SIM card Features Two GSM channels and four analog ports Bulk SMS sending SMS receiving and storage Multi language for SMS content PIN Number unlock for the...

Page 6: ...com 2 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...

Page 7: ...ure above is omnidirectional the model is TS01 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...

Page 8: ...apter 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 k...

Page 9: ...e following prerequisite packages yum install y bison bison devel zlib zlib devel openssl openssl devel gnutls devel gcc gcc c libxml2 libxml2 devel ncurses ncurses devel yum install update yum instal...

Page 10: ...2 2 6 2 make install 4 root localhost dahdi linux complete 2 6 2 2 6 2 make config 4 Install the libgsm package 1 root localhost src tar xvzf libgsm tar gz 2 root localhost libgsm make 3 root localhos...

Page 11: ...file root localhost dahdi_genconf It will not show anything if the command runs successfully After doing that the etc dahdi system conf file will be created as the following configuration Autogenerat...

Page 12: ...In use SWEC MG2 signalling fxo_ks callerid asreceived group 5 context from pstn channel 1 callerid group context default line 2 AXGSM 0 2 FXSKS In use SWEC MG2 signalling fxo_ks callerid asreceived gr...

Page 13: ...M 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 root localhost asterisk dahdi_cfg vv DAHDI Tools Version 2 6...

Page 14: ...ault default In Service 1 from internal default In Service 2 from internal default In Service 3 from pstn default In Service 4 from pstn default In Service localhost CLI gsm show spans SPANNO STATUS A...

Page 15: ...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 a...

Page 16: ...rea it may cause bad voice quality If so please contact with the Service Provider And users can move the system to other area 2 Check the GX01N version root localhost dmesg Module 0 Installed AUTO GSM...

Page 17: ...ple centos6 CLI gsm show span info 1 VERSION M50AR01A06W64 IMEI 863092010178526 IMSI 460008362997291 SMSC 8613800755500 5 Check the GSM channel messages root centos6 dahdi lsdahdi Span 2 AXGSM 0 2 ATC...

Page 18: ...nf 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 ext...

Page 19: ...under the var spool asterisk file as the following format and then copy the content to outgoing file After that the SMS will be send out bulksms xml xml version 1 0 encoding UTF 8 sms receiver 150128...

Page 20: ...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...

Page 21: ...4AN User Manual www atcom cn Email support atcomemail com 17 Chapter 8 Reference http www asteriskguru com http www asterisk org downloads http www openippbx org index php title Main_Page http www atc...

Reviews: