fredrikeriksson: Operating system name and version: Ubuntu 10.04 64-bit
Version of smsd: 3.1.6
Smsd installed from: apt-get
Name and model of a modem / phone: Huawei e1750
Interface: /dev/ttyUSB0
Hi,
I'm having some weird issues... this morning my modem was working fine, sms and flashes was going out proper... but now in the afternoon it hangs when post AT+CMGS...
This is what the logfile tells me.
2010-10-20 14:52:51,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/4cbee60bb0d1f
2010-10-20 14:52:51,6, GSM1: Sending SMS from 070xxxxxxx to 070xxxxxxx
2010-10-20 14:52:51,6, GSM1: Checking if modem is ready
2010-10-20 14:52:51,7, GSM1: -> AT
2010-10-20 14:52:51,7, GSM1: Command is sent, waiting for the answer
2010-10-20 14:52:52,7, GSM1: <- OK
2010-10-20 14:52:52,6, GSM1: Pre-initializing modem
2010-10-20 14:52:52,7, GSM1: -> ATE0+CMEE=1
2010-10-20 14:52:52,7, GSM1: Command is sent, waiting for the answer
2010-10-20 14:52:52,7, GSM1: <- OK
2010-10-20 14:52:52,7, GSM1: -> AT+CSQ
2010-10-20 14:52:53,7, GSM1: Command is sent, waiting for the answer
2010-10-20 14:52:53,7, GSM1: <- +CSQ: 13,99 OK
2010-10-20 14:52:53,6, GSM1: Checking if Modem is registered to the network
2010-10-20 14:52:53,7, GSM1: -> AT+CREG?
2010-10-20 14:52:53,7, GSM1: Command is sent, waiting for the answer
2010-10-20 14:52:53,7, GSM1: <- +CREG: 0,1 OK
2010-10-20 14:52:53,6, GSM1: Modem is registered to the network
2010-10-20 14:52:53,6, GSM1: Selecting PDU mode
2010-10-20 14:52:54,7, GSM1: -> AT+CMGF=0
2010-10-20 14:52:54,7, GSM1: Command is sent, waiting for the answer
2010-10-20 14:52:54,7, GSM1: <- OK
2010-10-20 14:52:54,7, GSM1: -> AT+CMGS=32
2010-10-20 14:52:54,7, GSM1: Command is sent, waiting for the answer
2010-10-20 14:52:54,7, GSM1: <- >
2010-10-20 14:52:54,7, GSM1: -> 0011000AA170802605290000FF15F3F61C442FCFE92E97CBE572B940E973D9AD00^Z
2010-10-20 14:52:55,7, GSM1: Command is sent, waiting for the answer
2010-10-20 14:53:25,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2010-10-20 14:53:25,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2010-10-20 14:53:25,5, GSM1: Waiting 10 sec. before retrying
Message file
To: 4670xxxxxxx
test message
configuration file:
devices = GSM1
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
loglevel = 10
receive_before_send = no
autosplit = 3
[GSM1]
device = /dev/ttyUSB0
baudrate = 19200
I can seem to find what has gone wrong... I've tried everything from changing baudrates, to trying national_prefixes and even trying to write the file in a non-UTF8 format. If I understand the AT commands properly, shouldn't AT+CMGS= be the phonenumber? why does it fill in "32" instead?
I've rebooted and moved my modem from USB slots...
The same issue arises when trying to send via minicom.
Best regards
Fredrik Eriksson
|