keke wrote
I need to see your smsd.conf.
Hi Keke it's ok now. I already figure it out. I just want to share my smsd configuration specially for those who are using SIM900D and Wavecom Fastrack 20.
Note: Providers in the list are all mobile numbers here in the Philippines for Smart Communication and Globe Telecom. I added SunTel in the Globe list (GSM2) since it is in postpaid plan with unlimited subscription for text messages.
P.S: Modem configuration for GSM2 gives an "Unexpected Output: RING RING RING" when auto-answering an Incoming Call with SMS but it's tolerable because my eventhandler can still send an auto-answer.
Here's the configuration:
# device used
devices = GSM1,GSM2
# folder used in the sms
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
stats = /var/spool/sms/stats
report = /var/spool/sms/report
# additional setting
stats_interval = 0
status_interval = 1
logtime_ms = yes
logfile = /var/log/smsd.log
pidfile = /var/run/smsd.pid
loglevel = 5
receive_before_send = yes
eventhandler = /usr/local/bin/mysmsd
autosplit = 3
max_continuous_sending = 7200
trust_outgoing = yes
phonecalls = /var/spool/sms/phonecalls
[queues]
GSM1 = /var/spool/sms/GSM1
GSM2 = /var/spool/sms/GSM2
[provider]
# Examples for philippines
GSM1 = 63907,63908,63909,63910,63912,63918,63919,63920,63921,63928,63929,63930,63938,63939,63948,63949,63989,s214,s258,63999,63946,63947,63998,63813
GSM2 = 63905,63906,63915,63916,63917,63925,63926,63927,63935,63936,63937,63996,63997,63922,63923,63932,63933,63942,63943,s222,s8888,s290,63817
[GSM1]
# SIMCOM SIM900D GSM/GPRS Modem (SMART)
device = /dev/ttyUSB2
init = AT+CPMS="SM","SM","SM"
check_network = 0
trust_spool = no
report = yes
incoming = yes
outgoing = yes
status_signal_quality = no
baudrate = 115200
smsc = 639180000101
queues = GSM1
phonecalls = clip
hangup_incoming_call = yes
[GSM2]
# Wavecom Supreme Fastrack 20 (GLOBE)
device = /dev/ttyUSB0
init = AT+CPMS="ME","ME","ME"
check_network = 0
trust_spool = no
report = yes
incoming = yes
outgoing = yes
status_signal_quality = no
baudrate = 115200
smsc = 639170000130
queues = GSM2
phonecalls = yes
voicecall_hangup_ath = yes
'smsdconf' Syntax Highlight powered by GeSHi