Product guide

www.atcom.cn 18
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 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'
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. For one
AX-2G4A, it should be 1 or 2.
Content: input or paste the SMS content that you need to send out.
3. Delete all the SMS which are reserved in en specific channel
Start asterisk, and run the gsm delall 1 command to delete all the SMS in the first channel.
localhost*CLI> gsm delall 1
gsm moudle del all msg in cardnum=1
gsm delall ok