Author |
Post |
|
#1 Sun Mar 21, 2010 08:03, 179 months ago.
|
Member
Registered: Mar 2010
Location: Helsinki, Finland
|
Operating system name and version: Solaris 10 Version of smsd: 3.1.5 Smsd installed from: sources Name and model of a modem / phone: Siemens MC35i Interface: serial
I can't receive SMS's with my Siemens MC35i running smsd 3.1.5. Here's my smsd.conf:
devices = GSM1 outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed sent = /var/spool/sms/sent incoming = /var/spool/sms/incoming logfile = /var/log/smsd.log loglevel = 5 admin_to = +35840xxxxxxx checkhandler = /opt/gnu/share/smstools/scripts/checkhandler-multirecip
[GSM1] device = /dev/cua/b incoming = yes init = AT+CPMS="SM" pin = xxxx hangup_incoming_call = yes
smsd gives following when using "SM": 2010-03-21 09:52:39,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK
when using "SM","SM","MT" it gives following: 2010-03-21 09:48:24,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"MT",11,55 OK
So there's messages in the modems memory.
I tried check_memory_method = 3 (and 31, 5 etc) but it didn't do any good. Default check_memory_method is 1.
Yours, Jussi Sallinen.
|
|
#2 Sun Mar 21, 2010 10:22, 179 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
You could try with init = AT+CPMS="MT","MT","MT", if not already tried.
By default this device uses "ME" storage for incoming messages, and if it's filled up, "SM" storage is used. The storage "MT" is the sum of the storages "ME" and "SM".
|
|
#3 Sun Mar 21, 2010 12:16, 179 months ago.
|
Member
Registered: Mar 2010
Location: Helsinki, Finland
Topic owner
|
keke wrote You could try with init = AT+CPMS="MT","MT","MT", if not already tried.
Ah, thanks! That did the job :-) Does AT+CPMS="MT","MT","MT" clear the SIM and Modem memory when Sending and Receiving SMS's? ie. would I have trouble when memory fills, if I use check_memory_method 1: CPMS?
|
|
#4 Sun Mar 21, 2010 12:41, 179 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Sallinen wrote Does AT+CPMS="MT","MT","MT" clear the SIM and Modem memory when Sending and Receiving SMS's? ie. would I have trouble when memory fills, if I use check_memory_method 1: CPMS?
AT+CPMS does not clear anything, Messages are deleted after they are read. I do not know if this device can send SMS when all storage spaces are filled. If it can't, use the global setting receive_before_send = yes. This will ensure that there is at least one storage space available when sending a message. If you have lot of traffic, you could try to use check_memory_method = 31. It's better than the default method.
|
|
#5 Sun Mar 21, 2010 13:11, 179 months ago.
|
Member
Registered: Mar 2010
Location: Helsinki, Finland
Topic owner
|
So when smstools reads/receives the message from the modem the message is deleted, right? In that case there isn't any problem since I run smstools 24/7.
|
|
#6 Sun Mar 21, 2010 13:21, 179 months ago.
|
Member
Registered: Mar 2010
Location: Helsinki, Finland
Topic owner
|
Oh well, why not just use check_memory_method = 31 :-)
|
|
#7 Sun Mar 21, 2010 15:38, 179 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Sallinen wrote So when smstools reads/receives the message from the modem the message is deleted, right?
Yes. Sallinen wrote Oh well, why not just use check_memory_method = 31 :-)
Yeah, it should work with MC35i and with cmgl_value 4 which is a default.
|