sulcik: Operating system name and version: Win XP / CYGWIN
Version of smsd: Smsd v3.1.8
Smsd installed from: package repository
Name and model of a modem / phone: Samsung SGH-U800
Interface: USB
Hi all,
i have allready spent hours of seeking how to get it works, but still nothing.
My primary issue is that smsd recive sms from phone, bud sms stays in phone memory and i cant make smsd to remove them.
Once msg arrives, smsd found it and save it to the folder - ok - but luck to delete it from phone (stored at SIM).
I have tried to set up check_memory_method to all options one by one and nothing help. Then i tried to combine settings with cmgl_value and still nothing.
Where im doing something wrong ?
Here is a smsd.conf and system logs follow as next:
# Example smsd.conf. Read the manual for a description
devices = GSM1
logfile = /cygdrive/d/web/logs/smsd.log
loglevel = 7
hangup_incoming_call = yes
admin_to= ##########
decode_unicode_text = yes
executable_check = yes
internal_combine = yes
internal_combine_binary = yes
keep_messages = no
incoming = /cygdrive/d/web/sms_directories/in
outgoing= /cygdrive/d/web/sms_directories/out
saved = /cygdrive/d/web/sms_directories/saved
sent = /cygdrive/d/web/sms_directories/sent
[GSM1]
device = /dev/com3
incoming = high
pin = ####
#smsc = 420602909909
smsc = 420608005681
check_network = 1
device_open_alarm_after = 3
device_open_retries= 3
mode= new
needs_wakeup_at = yes
outgoing = yes
pinsleeptime=2
primary_memory = SM
secondary_memory = EM
read_timeout = 5
cs_convert = yes
report = no
report_device_details = yes
socket_connection_alarm_after =5
socket_connection_retries = -1
status_signal_quality = yes
cmgl_value = +CMGD: (0),(0-4)
check_memory_method = 2
2010-06-03 13:40:07,2, smsd: Smsd v3.1.8 started.
2010-06-03 13:40:07,2, smsd: Running as SYSTEM:mkgroup.
2010-06-03 13:40:07,7, smsd: Running startup_check (shell): /tmp/smsd_script.cux04A /tmp/smsd_data.4Yq1pi
2010-06-03 13:40:08,7, smsd: Done: startup_check (shell), execution time 1 sec., status: 0 (0)
2010-06-03 13:40:08,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-06-03 13:40:08,4, smsd: Note that at least GSM1 will send administrative messages, but mainspooler will not because shared memory is not available.
2010-06-03 13:40:08,2, smsd: Running in terminal mode.
2010-06-03 13:40:08,5, smsd: Outgoing file checker has started. PID: 4684.
2010-06-03 13:40:08,5, GSM1: Modem handler 0 has started. PID: 3048.
2010-06-03 13:40:08,5, GSM1: Using check_memory_method 2: CMGD is used.
2010-06-03 13:40:08,6, GSM1: Checking device for incoming SMS
2010-06-03 13:40:08,6, GSM1: Checking if modem is ready
2010-06-03 13:40:08,7, GSM1: -> AT
2010-06-03 13:40:08,7, GSM1: Command is sent
2010-06-03 13:40:09,3, GSM1: Unexpected input: OK
2010-06-03 13:40:09,7, GSM1: -> AT
2010-06-03 13:40:09,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:09,7, GSM1: <- OK
2010-06-03 13:40:09,6, GSM1: Pre-initializing modem
2010-06-03 13:40:10,7, GSM1: -> ATE0+CMEE=1
2010-06-03 13:40:10,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:10,7, GSM1: <- OK
2010-06-03 13:40:10,6, GSM1: Checking if modem needs PIN
2010-06-03 13:40:10,7, GSM1: -> AT+CPIN?
2010-06-03 13:40:10,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:11,7, GSM1: <- +CPIN: READY OK
2010-06-03 13:40:11,7, GSM1: -> AT+CSQ
2010-06-03 13:40:11,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:11,7, GSM1: <- +CSQ: 16,99 OK
2010-06-03 13:40:11,6, GSM1: Signal Strength Indicator: (16,99) -81 dBm, Bit Error Rate: not known or not detectable
2010-06-03 13:40:11,6, GSM1: Checking if Modem is registered to the network
2010-06-03 13:40:12,7, GSM1: -> AT+CREG?
2010-06-03 13:40:12,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:12,7, GSM1: <- +CREG: 0,1 OK
2010-06-03 13:40:12,6, GSM1: Modem is registered to the network
2010-06-03 13:40:12,6, GSM1: Selecting PDU mode
2010-06-03 13:40:12,7, GSM1: -> AT+CMGF=0
2010-06-03 13:40:12,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:13,7, GSM1: <- OK
2010-06-03 13:40:13,6, GSM1: Changing SMSC
2010-06-03 13:40:13,7, GSM1: -> AT+CSCA="+420608005681"
2010-06-03 13:40:13,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:14,7, GSM1: <- OK
2010-06-03 13:40:14,7, GSM1: -> AT+CIMI
2010-06-03 13:40:14,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:14,7, GSM1: <- 230030115087097 OK
2010-06-03 13:40:15,7, GSM1: -> AT+CGSN
2010-06-03 13:40:15,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:15,7, GSM1: <- 356615021009548 OK
2010-06-03 13:40:15,5, GSM1: CGSN: 356615021009548
2010-06-03 13:40:15,5, GSM1: IMSI: 230030115087097
2010-06-03 13:40:15,6, GSM1: Checking if reading of messages is supported
2010-06-03 13:40:15,7, GSM1: -> AT+CPMS?
2010-06-03 13:40:15,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:16,7, GSM1: <- +CPMS: "SM",1,20,"ME",0,23,"SM",1,20 OK
2010-06-03 13:40:16,7, GSM1: ## Start of device details
2010-06-03 13:40:16,7, GSM1: # Manufacturer identification:
2010-06-03 13:40:16,7, GSM1: -> AT+CGMI
2010-06-03 13:40:16,7, GSM1: <- SAMSUNG ELECTRONICS CORPORATION
OK
2010-06-03 13:40:16,7, GSM1: # Model identification:
2010-06-03 13:40:17,7, GSM1: -> AT+CGMM
2010-06-03 13:40:17,7, GSM1: <- SGH-U800
OK
2010-06-03 13:40:17,7, GSM1: # Revision identification:
2010-06-03 13:40:17,7, GSM1: -> AT+CGMR
2010-06-03 13:40:18,7, GSM1: <- U800BOHH5
OK
2010-06-03 13:40:18,7, GSM1: # New message indications, list of supported modes:
2010-06-03 13:40:18,7, GSM1: -> AT+CNMI=?
2010-06-03 13:40:18,7, GSM1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2010-06-03 13:40:18,7, GSM1: # New message indications, current settings:
2010-06-03 13:40:18,7, GSM1: -> AT+CNMI?
2010-06-03 13:40:19,7, GSM1: <- +CNMI: 0,0,0,0,0
OK
2010-06-03 13:40:19,7, GSM1: # Preferred message storage, list of supported mem's:
2010-06-03 13:40:19,7, GSM1: -> AT+CPMS=?
2010-06-03 13:40:19,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2010-06-03 13:40:19,7, GSM1: # Phonebook storage, available mem's:
2010-06-03 13:40:20,7, GSM1: -> AT+CPBS=?
2010-06-03 13:40:20,7, GSM1: <- +CPBS: ("SM","ME","DC","MC","RC")
OK
2010-06-03 13:40:20,7, GSM1: # List messages, list of supported stat's:
2010-06-03 13:40:20,7, GSM1: -> AT+CMGL=?
2010-06-03 13:40:21,7, GSM1: <- +CMGL: (0-4)
OK
2010-06-03 13:40:21,7, GSM1: # Delete message, list of supported values:
2010-06-03 13:40:21,7, GSM1: -> AT+CMGD=?
2010-06-03 13:40:21,7, GSM1: <- +CMGD: (0),(0-4)
OK
2010-06-03 13:40:21,7, GSM1: # Phone activity status, list of supported stat's:
2010-06-03 13:40:22,7, GSM1: -> AT+CPAS=?
2010-06-03 13:40:22,7, GSM1: <- +CPAS: (0,3,4)
OK
2010-06-03 13:40:22,7, GSM1: # TE character set, list of supported charset's:
2010-06-03 13:40:22,7, GSM1: -> AT+CSCS=?
2010-06-03 13:40:23,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2010-06-03 13:40:23,7, GSM1: # TE character set, current setting:
2010-06-03 13:40:23,7, GSM1: -> AT+CSCS?
2010-06-03 13:40:23,7, GSM1: <- +CSCS: "GSM"
OK
2010-06-03 13:40:23,7, GSM1: ## End of device details
2010-06-03 13:40:23,6, GSM1: Checking memory size
2010-06-03 13:40:24,7, GSM1: -> AT+CMGD=?
2010-06-03 13:40:24,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:24,7, GSM1: <- +CMGD: (0),(0-4) OK
2010-06-03 13:40:24,6, GSM1: Used memory is 1, list: 0
2010-06-03 13:40:24,6, GSM1: Trying to get stored message 0
2010-06-03 13:40:24,7, GSM1: -> AT+CMGR=0
2010-06-03 13:40:24,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:25,7, GSM1: <- +CMGR: 0,,23 0791246020099990040C9124704205341900000160203131918004F4F29C0E OK
2010-06-03 13:40:25,5, GSM1: SMS received, From: 420724504391
2010-06-03 13:40:25,6, GSM1: Wrote an incoming message file: /cygdrive/d/web/sms_directories/in/GSM1.acgcnF
2010-06-03 13:40:25,6, GSM1: Deleting message 0
2010-06-03 13:40:25,7, GSM1: -> AT+CMGD=0
2010-06-03 13:40:26,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:26,7, GSM1: <- OK
2010-06-03 13:40:26,6, GSM1: Changing memory
2010-06-03 13:40:26,7, GSM1: -> AT+CPMS="EM"
2010-06-03 13:40:27,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:27,7, GSM1: <- ERROR
2010-06-03 13:40:27,6, GSM1: Checking memory size
2010-06-03 13:40:27,7, GSM1: -> AT+CMGD=?
2010-06-03 13:40:27,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:27,7, GSM1: <- +CMGD: (),(0-4) OK
2010-06-03 13:40:27,6, GSM1: Changing memory
2010-06-03 13:40:28,7, GSM1: -> AT+CPMS="SM"
2010-06-03 13:40:28,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:28,7, GSM1: <- +CPMS: 0,20,0,23,0,20 OK
2010-06-03 13:40:28,6, GSM1: Checking device for incoming SMS
2010-06-03 13:40:28,6, GSM1: Checking memory size
2010-06-03 13:40:28,7, GSM1: -> AT+CMGD=?
2010-06-03 13:40:29,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:29,7, GSM1: <- +CMGD: (),(0-4) OK
2010-06-03 13:40:29,6, GSM1: Changing memory
2010-06-03 13:40:29,7, GSM1: -> AT+CPMS="EM"
2010-06-03 13:40:29,7, GSM1: Command is sent, waiting for the answer
2010-06-03 13:40:29,7, GSM1: <- ERROR
Thanks for any tips or advise.
Regards, Petr
|