BRONC: Operating system name and version:
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS" (on a Supermicro Server)
Version of smsd:
smstools3-3.1.14.tar.gz
Smsd installed from: sources / package repository / from elsewhere...
sources
Name and model of a modem / phone:
Huawei E173
Interface: serial / USB / some adapter...
USB
Hi,
the Huawei E173 seems to work fine with smstools. The Log looks good for me, but no sms is send out - the sms stays on the outgoing directory, no log-error is seen ... stops with: "Waiting for messages to send..."
More Details here:
/etc/smsd.conf
# SMSD Config Basics
devices = GSM1
logfile = /var/log/smsd.log
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
loglevel = 7
# Huawei E173
[GSM1]
init = AT^CURC=0
device = /dev/ttyUSB0
baudrate = 19200
incoming = no
report_device_details = yes
signal_quality_ber_ignore = yes
smsc = 491722270333
/var/log/smsd.log (after smsd start)
2012-08-22 09:24:37,2, smsd: Smsd v3.1.14 started.
2012-08-22 09:24:37,2, smsd: Running as root:root.
2012-08-22 09:24:37,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.TR6nEe /tmp/smsd_data.XUNNeY
2012-08-22 09:24:37,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2012-08-22 09:24:37,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-08-22 09:24:37,5, GSM1: Modem handler 0 has started. PID: 15231. Will only send messages.
2012-08-22 09:24:37,5, smsd: Outgoing file checker has started. PID: 15229.
2012-08-22 09:24:37,7, smsd: All PID's: 15229,15231
2012-08-22 09:24:37,6, GSM1: Checking if modem is ready
2012-08-22 09:24:37,7, GSM1: -> AT
2012-08-22 09:24:37,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:37,7, GSM1: <- OK
2012-08-22 09:24:37,6, GSM1: Pre-initializing modem
2012-08-22 09:24:37,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2012-08-22 09:24:37,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:38,7, GSM1: <- OK
2012-08-22 09:24:38,6, GSM1: Checking if modem needs PIN
2012-08-22 09:24:38,7, GSM1: -> AT+CPIN?
2012-08-22 09:24:38,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:38,7, GSM1: <- +CPIN: READY OK
2012-08-22 09:24:38,6, GSM1: Initializing modem
2012-08-22 09:24:38,7, GSM1: -> AT^CURC=0
2012-08-22 09:24:38,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:39,7, GSM1: <- OK
2012-08-22 09:24:39,7, GSM1: -> AT+CSQ
2012-08-22 09:24:39,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:39,7, GSM1: <- +CSQ: 15,99 OK
2012-08-22 09:24:39,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm (Good)
2012-08-22 09:24:39,6, GSM1: Checking if Modem is registered to the network
2012-08-22 09:24:39,7, GSM1: -> AT+CREG?
2012-08-22 09:24:39,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:40,7, GSM1: <- +CREG: 2,1, 475, 3978 OK
2012-08-22 09:24:40,6, GSM1: Modem is registered to the network
2012-08-22 09:24:40,6, GSM1: Location area code: 475, Cell ID: 3978
2012-08-22 09:24:40,7, GSM1: -> AT+CSQ
2012-08-22 09:24:40,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:40,7, GSM1: <- +CSQ: 15,99 OK
2012-08-22 09:24:40,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm (Good)
2012-08-22 09:24:40,6, GSM1: Selecting PDU mode
2012-08-22 09:24:40,7, GSM1: -> AT+CMGF=0
2012-08-22 09:24:40,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:41,7, GSM1: <- OK
2012-08-22 09:24:41,6, GSM1: Changing SMSC
2012-08-22 09:24:41,7, GSM1: -> AT+CSCA="+491722270333"
2012-08-22 09:24:41,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:41,7, GSM1: <- OK
2012-08-22 09:24:41,7, GSM1: -> AT+CIMI
2012-08-22 09:24:41,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:42,7, GSM1: <- 262022103645358 OK
2012-08-22 09:24:42,7, GSM1: -> AT+CGSN
2012-08-22 09:24:42,7, GSM1: Command is sent, waiting for the answer
2012-08-22 09:24:42,7, GSM1: <- 356345046647193 OK
2012-08-22 09:24:42,5, GSM1: CGSN: 356345046647193
2012-08-22 09:24:42,5, GSM1: IMSI: 262022103645358
2012-08-22 09:24:42,7, GSM1: ## Start of device details
2012-08-22 09:24:42,7, GSM1: # Manufacturer identification:
2012-08-22 09:24:42,7, GSM1: -> AT+CGMI
2012-08-22 09:24:43,7, GSM1: <- huawei
OK
2012-08-22 09:24:43,7, GSM1: # Model identification:
2012-08-22 09:24:43,7, GSM1: -> AT+CGMM
2012-08-22 09:24:43,7, GSM1: <- E173
OK
2012-08-22 09:24:43,7, GSM1: # Revision identification:
2012-08-22 09:24:43,7, GSM1: -> AT+CGMR
2012-08-22 09:24:44,7, GSM1: <- 11.126.85.00.00
OK
2012-08-22 09:24:44,7, GSM1: # New message indications, list of supported modes:
2012-08-22 09:24:44,7, GSM1: -> AT+CNMI=?
2012-08-22 09:24:44,7, GSM1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2012-08-22 09:24:44,7, GSM1: # New message indications, current settings:
2012-08-22 09:24:44,7, GSM1: -> AT+CNMI?
2012-08-22 09:24:45,7, GSM1: <- +CNMI: 0,0,0,0,0
OK
2012-08-22 09:24:45,7, GSM1: # Preferred message storage, list of supported mem's:
2012-08-22 09:24:45,7, GSM1: -> AT+CPMS=?
2012-08-22 09:24:45,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2012-08-22 09:24:45,7, GSM1: # Phonebook storage, available mem's:
2012-08-22 09:24:45,7, GSM1: -> AT+CPBS=?
2012-08-22 09:24:46,7, GSM1: <- +CPBS: ("SM","EN","ON")
OK
2012-08-22 09:24:46,7, GSM1: # List messages, list of supported stat's:
2012-08-22 09:24:46,7, GSM1: -> AT+CMGL=?
2012-08-22 09:24:46,7, GSM1: <- +CMGL: (0-4)
OK
2012-08-22 09:24:46,7, GSM1: # Delete message, list of supported values:
2012-08-22 09:24:46,7, GSM1: -> AT+CMGD=?
2012-08-22 09:24:47,7, GSM1: <- +CMGD: (),(0-4)
OK
2012-08-22 09:24:47,7, GSM1: # Phone activity status, list of supported stat's:
2012-08-22 09:24:47,7, GSM1: -> AT+CPAS=?
2012-08-22 09:24:47,7, GSM1: <- +CPAS: (0,3,4)
OK
2012-08-22 09:24:47,7, GSM1: # TE character set, list of supported charset's:
2012-08-22 09:24:47,7, GSM1: -> AT+CSCS=?
2012-08-22 09:24:48,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2012-08-22 09:24:48,7, GSM1: # TE character set, current setting:
2012-08-22 09:24:48,7, GSM1: -> AT+CSCS?
2012-08-22 09:24:48,7, GSM1: <- +CSCS: "IRA"
OK
2012-08-22 09:24:48,7, GSM1: ## End of device details
2012-08-22 09:24:48,5, GSM1: Waiting for messages to send...
The I put this to CLI:
server:~# sendsms 491705555555 'Hallo'
--
Text: Hallo
To: 491705555555
server:~#
The Message is stored to the "outgoing" directoty but after this nothing happens ... SMS is unsent. :shock:
Someone has an idea how to get the sms out? Thanks for your help !!
Grüße
Hans
|