Download Print this page

ATCOM AX-4G Product Manual page 17

Hide thumbs Also See for AX-4G:

Advertisement

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.c:166 apply_sms_outgoing: pbx_spool find
called name=13728731752
--
Attempting
queuesms(dahdi/1,15012871900&13728731755,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]
sessionid=1315555703.3 channum=1 time=2011/09/09 16:08:27 send to called=15012871900
result=1
[Sep
9
16:08:31]
sessionid=1315555703.3 channum=1 time=2011/09/09 16:08:31 send to called=13728731755
result=1
-- Hungup 'DAHDI/1-1'
User can also check if the SMS is sent successfully or not by checking the
/var/log/asterisk/sms/sendsms directory, the system will generate one log file each day for writing
down if the SMS is sent successfully or not, for example, sendsms_2011-12-02.log is generated on
Dec 02th, 2011, which writes down all the sent SMS results on Dec 02th, 2011.
The Format of the xml file
Xml file name: customer can name whatever name you want.
Receiver: add the destination phone number, one line for one destination phone number, the
example above add two destination phone numbers.
Channel: choose the GSM channel by which the system send the SMS out.
Content: input or paste the SMS content that you need to send out.
3. Receiving SMS
When the AX4G gets a SMS, it will pop up the information like the following in asterisk CLI
localhost*CLI>
chan_dahdi.c: handle_init_event: gsm recv new sms from +8613728737752
When one SMS is received, the system will generate a file for storing the SMS, and the file is
under /var/log/asterisk/sms/recvsms directory.
The format of the file name: recvsms_channel number_time_+cell phone number.log
The format of SMS content: channo:channel >>date time|+cell phone number| SMS content.
www.atcom.cn
call
on
NOTICE[3825]:
chan_dahdi.c:18205
NOTICE[3825]:
chan_dahdi.c:18205
sms/
for
application
sms_queue_send:
sms_queue_send:
16

Advertisement

loading
Need help?

Need help?

Do you have a question about the AX-4G and is the answer not in the manual?

Questions and answers