|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Thu Mar 13, 2025 20:05 |
Page: 1 2 Next
Keywords: Mode: All keywords (AND) |
Wed Aug 10, 2011 05:34
|
alexanderfuture: Operating system name and version: MS Server 2003 64 bit (with Cygwin)
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Wavecom WISMO
Interface: USB
Hi Ke Ke,
We have been experiencing the SMSD process downtime quite frequently right now. It was down last friday, and today, it happened again. This issue is similar to what I had reported before "http://smstools3.kekekasvi.com/topic.php?id=643".
SMSD process is registered as a windows service. There was no one touching the modem or server during these days.
Today issue was:
After moving two files to checked folder, it didn't continue anymore. Therefore, we tried to restart the service and it was totally hanged.
Following are the log entry for your reference:
2011-08-10 09:46:29,5, smsd: Moved file /var/log/ssmd/outgoing/NDZlMzNmNmUtYTU5Ni00YzBlLTAwMDAtMDEzMWIxNWU4NmNl.txt to /var/log/ssmd/checked
2011-08-10 10:05:49,5, smsd: Moved file /var/log/ssmd/outgoing/MjY4N2Y5ZjEtNzIyMC1mMWQzLTAwMDAtMDEzMWIxNzAzMGU2.txt to /var/log/ssmd/checked
2011-08-10 10:07:15,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 2156.
My suspects are:
. Is the file name very long for smsd to handle?
. Does SMSD not working when Server went into "Stand by / Sleep / Locked" mode?
. Does SMSD hang when connection to ISP is low or not able to connect?
. Does SMSD hang when someone trying to write a file in outgoing folder at that time SMSD is trying to send out another file in checked folder?
. Does anyone experience before similar to this problem?
This is my config on the server. Do I miss any configs?
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
os_cygwin = yes
delaytime = 10
incoming_utf8 = yes
receive_before_send = yes
trust_outgoing = yes
checked = /var/log/ssmd/checked
failed = /var/log/ssmd/failed
incoming = /var/log/ssmd/incoming
outgoing = /var/log/ssmd/outgoing
report = /var/log/ssmd/report
saved = /var/log/ssmd/saved
sent = /var/log/ssmd/sent
#eventhandler = filename
[GSM1]
#init = AT+CMEE=1
init = AT+CMGF=1
pin = 2537
baudrate = 115200
rtscts = yes
memory_start = 1
device = /dev/com4
incoming = no
outgoing = yes
smsc = +6596197777
|
Sat May 21, 2011 14:41
|
|
Sat May 21, 2011 13:30
|
alexanderfuture: Hi Ke Ke,
Thanks for the prompt reply.
This happened for the first time. I will update you again, if it should happen again.
By the way, Is there any sample scripts to perform following function:
- Send email to specific person whenever the sms process/service is being stopped.
|
Sat May 21, 2011 08:13
|
alexanderfuture: Operating system name and version: Windows Server 2003 (64 bit) CYGWIN
Version of smsd: 3.1.4
Smsd installed from: sources
Name and model of a modem / phone:
Technical Specification:
Wavecom Chipset Q24Plus
SIM holder integrated
3V SIM Interface
Activity Status Indication
Power Output: Class4(2W @ EGSM 900/GSM 850); Class1 (1W @ GSM 1800/1900)
Normal operation temperature: -20 to 55ºC
Operating Voltage : 5 to 24VDC
Typical idle mode supply current: 5mA
Baud rates: 300-115200 bits/s (Downgradable to GSM 9600, or maintain at GPRS 115200)
Compliant with ETSI GSM Phase 2 +
Control via AT commands (GSM07.07 & 07.05)
Interface: USB (Prolific USB to Serial Adapter)
Hi KeKe,
Alex again.
I am wondering, if a sms modem could enter sleep mode for few days of working and smsd cannot check for modem's readiness. If it could go into sleep mode, is there any settings in smsd.config could protect from this?
Thanks for your help in advanced.
Best regards,
Alex Kent
For your reference, below is part of the smsd log:
2011-05-19 11:32:17,5, smsd: Moved file /var/log/ssmd/outgoing/NjgyY2FkYTEtZDhlMC01YjJjLTAwMDAtMDEzMDA2NGY3ZWM2.txt to /var/log/ssmd/checked
2011-05-19 11:32:17,6, GSM1: I have to send 1 short message for /var/log/ssmd/checked/NjgyY2FkYTEtZDhlMC01YjJjLTAwMDAtMDEzMDA2NGY3ZWM2.txt
2011-05-19 11:32:17,6, GSM1: Sending SMS from to 6598223900
2011-05-19 11:32:17,6, GSM1: Checking if modem is ready
2011-05-19 11:32:18,7, GSM1: -> AT
2011-05-19 11:32:18,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:18,7, GSM1: <- OK
2011-05-19 11:32:18,6, GSM1: Pre-initializing modem
2011-05-19 11:32:18,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-05-19 11:32:18,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:19,7, GSM1: <- OK +CREG: 1,"0085","2821"
2011-05-19 11:32:19,6, GSM1: Checking if modem needs PIN
2011-05-19 11:32:19,7, GSM1: -> AT+CPIN?
2011-05-19 11:32:19,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:19,7, GSM1: <- +CPIN: READY
2011-05-19 11:32:19,6, GSM1: Initializing modem
2011-05-19 11:32:19,7, GSM1: -> AT+CMGF=1
2011-05-19 11:32:19,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:20,7, GSM1: <- OK
2011-05-19 11:32:20,7, GSM1: -> AT+CSQ
2011-05-19 11:32:20,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:20,7, GSM1: <- +CSQ: 28,0 OK
2011-05-19 11:32:20,6, GSM1: Signal Strength Indicator: (28,0) -57 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-19 11:32:20,6, GSM1: Checking if Modem is registered to the network
2011-05-19 11:32:21,7, GSM1: -> AT+CREG?
2011-05-19 11:32:21,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:21,7, GSM1: <- +CREG: 2,1,"0085","2821" OK
2011-05-19 11:32:21,6, GSM1: Modem is registered to the network
2011-05-19 11:32:21,6, GSM1: Selecting PDU mode
2011-05-19 11:32:21,7, GSM1: -> AT+CMGF=0
2011-05-19 11:32:21,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:22,7, GSM1: <- OK
2011-05-19 11:32:22,6, GSM1: Changing SMSC
2011-05-19 11:32:22,7, GSM1: -> AT+CSCA="+6596197777"
2011-05-19 11:32:22,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:22,7, GSM1: <- OK
2011-05-19 11:32:23,7, GSM1: -> AT+CMGS=19
2011-05-19 11:32:23,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:23,7, GSM1: <- >
2011-05-19 11:32:23,7, GSM1: -> 0011000A9156892293000000FF06B1592D27B301.
2011-05-19 11:32:23,7, GSM1: Command is sent, waiting for the answer
2011-05-19 11:32:26,7, GSM1: <- +CMGS: 68 OK
2011-05-19 11:32:26,5, GSM1: SMS sent, Message_id: 68, To: 6598223900, sending time 9 sec.
2011-05-19 11:32:26,6, GSM1: Moved file /var/log/ssmd/checked/NjgyY2FkYTEtZDhlMC01YjJjLTAwMDAtMDEzMDA2NGY3ZWM2.txt to /var/log/ssmd/sent/NjgyY2FkYTEtZDhlMC01YjJjLTAwMDAtMDEzMDA2NGY3ZWM2.txt
2011-05-19 13:01:37,5, smsd: Moved file /var/log/ssmd/outgoing/NmZjZDA4ZTEtY2IzOS1lNzM2LTAwMDAtMDEzMDA2YTEzYzQw.txt to /var/log/ssmd/checked
2011-05-19 13:01:39,6, GSM1: I have to send 1 short message for /var/log/ssmd/checked/NmZjZDA4ZTEtY2IzOS1lNzM2LTAwMDAtMDEzMDA2YTEzYzQw.txt
2011-05-19 13:01:39,6, GSM1: Sending SMS from to 6598223900
2011-05-19 13:01:39,6, GSM1: Checking if modem is ready
2011-05-19 13:01:39,7, GSM1: -> AT
2011-05-19 13:01:39,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:39,7, GSM1: <- OK
2011-05-19 13:01:39,6, GSM1: Pre-initializing modem
2011-05-19 13:01:40,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-05-19 13:01:40,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:40,7, GSM1: <- OK +CREG: 1,"0085","38A7"
2011-05-19 13:01:40,6, GSM1: Checking if modem needs PIN
2011-05-19 13:01:40,7, GSM1: -> AT+CPIN?
2011-05-19 13:01:40,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:41,7, GSM1: <- +CPIN: READY
2011-05-19 13:01:41,6, GSM1: Initializing modem
2011-05-19 13:01:41,7, GSM1: -> AT+CMGF=1
2011-05-19 13:01:41,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:41,7, GSM1: <- OK
2011-05-19 13:01:42,7, GSM1: -> AT+CSQ
2011-05-19 13:01:42,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:42,7, GSM1: <- +CSQ: 26,0 OK
2011-05-19 13:01:42,6, GSM1: Signal Strength Indicator: (26,0) -61 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-19 13:01:42,6, GSM1: Checking if Modem is registered to the network
2011-05-19 13:01:42,7, GSM1: -> AT+CREG?
2011-05-19 13:01:42,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:43,7, GSM1: <- +CREG: 2,1,"0085","38A7" OK
2011-05-19 13:01:43,6, GSM1: Modem is registered to the network
2011-05-19 13:01:43,6, GSM1: Cell ID changed: 2821 -> 38A7
2011-05-19 13:01:43,7, GSM1: -> AT+CSQ
2011-05-19 13:01:43,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:43,7, GSM1: <- +CSQ: 26,0 OK
2011-05-19 13:01:43,6, GSM1: Signal Strength Indicator: (26,0) -61 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-19 13:01:43,6, GSM1: Selecting PDU mode
2011-05-19 13:01:43,7, GSM1: -> AT+CMGF=0
2011-05-19 13:01:43,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:44,7, GSM1: <- OK
2011-05-19 13:01:44,6, GSM1: Changing SMSC
2011-05-19 13:01:44,7, GSM1: -> AT+CSCA="+6596197777"
2011-05-19 13:01:44,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:44,7, GSM1: <- OK
2011-05-19 13:01:45,7, GSM1: -> AT+CMGS=19
2011-05-19 13:01:45,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:45,7, GSM1: <- >
2011-05-19 13:01:45,7, GSM1: -> 0011000A9156892293000000FF063758EE969B01.
2011-05-19 13:01:45,7, GSM1: Command is sent, waiting for the answer
2011-05-19 13:01:48,7, GSM1: <- +CMGS: 69 OK
2011-05-19 13:01:48,5, GSM1: SMS sent, Message_id: 69, To: 6598223900, sending time 9 sec.
2011-05-19 13:01:48,6, GSM1: Moved file /var/log/ssmd/checked/NmZjZDA4ZTEtY2IzOS1lNzM2LTAwMDAtMDEzMDA2YTEzYzQw.txt to /var/log/ssmd/sent/NmZjZDA4ZTEtY2IzOS1lNzM2LTAwMDAtMDEzMDA2YTEzYzQw.txt
2011-05-19 16:19:35,2, GSM1: Modem handler 0 terminated. PID: 3752, was started 11-05-09 16:29:02.
2011-05-20 15:38:48,5, smsd: Moved file /var/log/ssmd/outgoing/MDdlMmI4NTMtNzVkMS00MjIzLTAwMDAtMDEzMDBjNTc5ZDY0.txt to /var/log/ssmd/checked
2011-05-20 15:38:48,5, smsd: Moved file /var/log/ssmd/outgoing/MjFlMzVkNmItMTg0OC02NmRkLTAwMDAtMDEzMDBjNTdhM2Zi.txt to /var/log/ssmd/checked
2011-05-20 15:39:38,5, smsd: Moved file /var/log/ssmd/outgoing/ZDhkMzAxYmQtY2Q2Yy1lY2U5LTAwMDAtMDEzMDBjNTg2MWNk.txt to /var/log/ssmd/checked
2011-05-20 16:42:38,5, smsd: Moved file /var/log/ssmd/outgoing/NmNiZDY1ZGEtMjVjNy1kYmNkLTAwMDAtMDEzMDBjOTIwYTVj.txt to /var/log/ssmd/checked
2011-05-20 16:43:08,5, smsd: Moved file /var/log/ssmd/outgoing/NTNmZTg1NzUtMDNmMi03ODQ3LTAwMDAtMDEzMDBjOTI2OTU0.txt to /var/log/ssmd/checked
2011-05-20 16:43:08,5, smsd: Moved file /var/log/ssmd/outgoing/ZmM1N2FiZjEtMTIyYi01YmFmLTAwMDAtMDEzMDBjOTI2YThk.txt to /var/log/ssmd/checked
2011-05-20 17:12:58,5, smsd: Moved file /var/log/ssmd/outgoing/NThkZGY4MjktYTcyYi1mNmNjLTAwMDAtMDEzMDBjYWRkNzBm.txt to /var/log/ssmd/checked
2011-05-20 17:17:35,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 3680.
2011-05-20 17:17:35,2, smsd: Smsd mainprocess terminated. PID 3680, was started 11-05-09 16:29:02.
2011-05-20 17:17:39,2, smsd: Smsd v3.1.14 started.
2011-05-20 17:17:39,2, smsd: Running as SYSTEM:Administrators.
2011-05-20 17:17:39,7, smsd: Running startup_check (shell): /var/log/ssmd/incoming/smsd_script.lKmeaI /tmp/smsd_data.XqoEve
2011-05-20 17:17:40,7, smsd: Done: startup_check (shell), execution time 1 sec., status: 0 (0)
2011-05-20 17:17:40,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-05-20 17:17:40,2, smsd: Running in terminal mode.
2011-05-20 17:17:40,5, smsd: Outgoing file checker has started. PID: 2304.
2011-05-20 17:17:40,7, smsd: All PID's: 2304,628
2011-05-20 17:17:40,5, GSM1: Modem handler 0 has started. PID: 628. Will only send messages.
2011-05-20 17:17:40,6, GSM1: Checking if modem is ready
2011-05-20 17:17:40,7, GSM1: -> AT
2011-05-20 17:17:40,7, GSM1: Command is sent, waiting for the answer
2011-05-20 17:17:45,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-05-20 17:17:45,7, GSM1: <-
2011-05-20 17:17:46,7, GSM1: -> .
2011-05-20 17:17:46,7, GSM1: Command is sent, waiting for the answer
2011-05-20 17:17:51,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-05-20 17:17:51,7, GSM1: <-
2011-05-20 17:17:51,7, GSM1: -> AT
2011-05-20 17:17:51,7, GSM1: Command is sent, waiting for the answer
2011-05-20 17:17:57,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2011-05-20 17:17:57,7, GSM1: <-
2011-05-20 17:17:57,7, GSM1: -> .
2011-05-20 17:17:57,7, GSM1: Command is sent, waiting for the answer
2011-05-20 17:18:00,5, smsd: Moved file /var/log/ssmd/outgoing/YTVkMGIyOGEtMjAxYy1jY2Y4LTAwMDAtMDEzMDBjYjI1ZTFl.txt to /var/log/ssmd/checked
2011-05-20 17:18:00,5, smsd: Moved file /var/log/ssmd/outgoing/NDAxYjE2NzItMWZhMS03NThlLTAwMDAtMDEzMDBjYjI2YmQ5.txt to /var/log/ssmd/checked
2011-05-20 17:18:03,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2011-05-20 17:18:03,7, GSM1: <-
2011-05-20 17:18:03,7, GSM1: -> AT
2011-05-20 17:18:03,7, GSM1: Command is sent, waiting for the answer
2011-05-20 17:18:09,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 5.
2011-05-20 17:18:09,7, GSM1: <-
2011-05-20 17:18:09,7, GSM1: -> .
2011-05-20 17:18:09,7, GSM1: Command is sent, waiting for the answer
2011-05-20 17:18:14,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 6.
|
Mon May 09, 2011 04:38
|
alexanderfuture: Hi Ke Ke,
This is the modem's specification update. Please ignore the previous one.
Wavecom Chipset Q24Plus
SIM holder integrated
3V SIM Interface
Activity Status Indication
Power Output: Class4(2W @ EGSM 900/GSM 850); Class1 (1W @ GSM 1800/1900)
Normal operation temperature: -20 to 55ºC
Operating Voltage : 5 to 24VDC
Typical idle mode supply current: 5mA
Baud rates: 300-115200 bits/s (Downgradable to GSM 9600, or maintain at GPRS 115200)
Compliant with ETSI GSM Phase 2 +
Control via AT commands (GSM07.07 & 07.05)
Thanks.
|
Mon May 09, 2011 02:32
|
alexanderfuture: Operating system name and version: Windows Server 2003 - 64 Bit
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem:
Blueocean (Model : U-GSM-35)
Siemen Chipset T35
SIM holder integrated
3V SIM Interface
Activity Status Indication
Power Output: Class4(2W @ EGSM 900/GSM 850); Class1 (1W @ GSM 1800/1900)
Normal operation temperature: -20 to 55ºC
Operating Voltage : 5 to 24VDC
Typical idle mode supply current: 5mA
Baud rates: 300-115200 bits/s
Compliant with ETSI GSM Phase 2 +
Control via AT commands (GSM07.07 & 07.05)
Interface: USB (Proliant USB to Serial Driver)
Hi Ke Ke,
I have got a modem which requires me to install Prolific USB to Serial Converter, and what happened is when smsd detects the readiness of the device; it gets time out. For your reference, I have added the config file and log file outputs below. Please let me know what should I do to make it work? :(
Thanks for your kind help in advance.
SMSD.conf
# Example smsd.conf. Read the manual for a description
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
os_cygwin = yes
delaytime = 10
incoming_utf8 = yes
receive_before_send = yes
trust_outgoing = yes
checked = /var/log/ssmd/checked
failed = /var/log/ssmd/failed
incoming = /var/log/ssmd/incoming
outgoing = /var/log/ssmd/outgoing
report = /var/log/ssmd/report
saved = /var/log/ssmd/saved
sent = /var/log/ssmd/sent
#eventhandler = filename
[GSM1]
#init = AT+CMEE=1
init = AT+CNMI=2,0,0,2,1
#init = AT+CPMS="SM"
pin = 2537
baudrate = 115200
rtscts = yes
memory_start = 1
device = /dev/com4
incoming = no
outgoing = yes
smsc = +6596197777
SMSD.log
2011-05-09 10:08:27,2, smsd: Smsd v3.1.14 started.
2011-05-09 10:08:27,2, smsd: Running as SYSTEM:Administrators.
2011-05-09 10:08:27,7, smsd: Running startup_check (shell): /var/log/ssmd/incoming/smsd_script.lpNbfJ /tmp/smsd_data.by76wd
2011-05-09 10:08:28,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-05-09 10:08:28,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-05-09 10:08:28,2, smsd: Running in terminal mode.
2011-05-09 10:08:28,5, smsd: Outgoing file checker has started. PID: 3164.
2011-05-09 10:08:28,7, smsd: All PID's: 3164,1712
2011-05-09 10:08:28,5, GSM1: Modem handler 0 has started. PID: 1712. Will only send messages.
2011-05-09 10:08:28,5, smsd: Moved file /var/log/ssmd/outgoing/M2JiY2M3YzQtMTgyZi1mNTkwLTAwMDAtMDEyZmQyODFjOWQz.txt to /var/log/ssmd/checked
2011-05-09 10:08:28,5, smsd: Moved file /var/log/ssmd/outgoing/YTAwNTVkNzYtMmVhYS03OTRjLTAwMDAtMDEyZmQyODFjNjc4.txt to /var/log/ssmd/checked
2011-05-09 10:08:28,6, GSM1: Checking if modem is ready
2011-05-09 10:08:28,7, GSM1: -> AT
2011-05-09 10:08:28,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:08:35,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-05-09 10:08:35,7, GSM1: <-
2011-05-09 10:08:35,7, GSM1: -> . [square character]
2011-05-09 10:08:35,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:08:41,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-05-09 10:08:41,7, GSM1: <-
2011-05-09 10:08:41,7, GSM1: -> AT
2011-05-09 10:08:41,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:08:48,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2011-05-09 10:08:48,7, GSM1: <-
2011-05-09 10:08:48,7, GSM1: -> .[square character]
2011-05-09 10:08:48,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:08:54,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2011-05-09 10:08:54,7, GSM1: <-
2011-05-09 10:08:54,7, GSM1: -> AT
2011-05-09 10:08:54,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:09:01,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 5.
2011-05-09 10:09:01,7, GSM1: <-
2011-05-09 10:09:01,7, GSM1: -> .[square character]
2011-05-09 10:09:01,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:09:07,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 6.
2011-05-09 10:09:07,7, GSM1: <-
2011-05-09 10:09:07,7, GSM1: -> AT
2011-05-09 10:09:07,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:09:14,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 7.
2011-05-09 10:09:14,7, GSM1: <-
2011-05-09 10:09:14,7, GSM1: -> .[square character]
2011-05-09 10:09:14,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:09:17,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 3164.
2011-05-09 10:09:18,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 8.
2011-05-09 10:09:18,7, GSM1: <-
2011-05-09 10:09:18,2, GSM1: Failed to initialize modem GSM1. Stopping.
2011-05-09 10:09:18,2, GSM1: Modem handler 0 terminated. PID: 1712, was started 11-05-09 10:08:28.
2011-05-09 10:09:18,2, smsd: Smsd mainprocess terminated. PID 3164, was started 11-05-09 10:08:28.
We had to stop the windows service to debug the config. So far no solutions for this yet.
Some AT Command Reference are here; http://www.bluocean.biz/technicalinfo.html
|
Thu Jan 13, 2011 10:32
|
alexanderfuture: What I am trying to achieve is:
To send email to administrator when smsd fires up FAILED event and move the file to FAILED Folder. So that at least, someone knows there is a failed sms in SMS Server.
Thanks in advanced.
|
Thu Jan 13, 2011 10:20
|
alexanderfuture: Operating system name and version: Windows 7 (64 bit)
Version of smsd: 3.1.14
Smsd installed from: downloaded the source from website (installed in cygwin)
Name and model of a modem: Wavecom WMOD2
Interface: USB
Hi Ke Ke,
I have something to clarify with you. Things are as follow:
- Validity from SMS FILE FORMAT is used in SMSD or ISP SERVER? It is used in which area?
- When smsd is moving the file around (Outgoing -> Checked -> Sent), will smsd overwrite the files in CHECKED and SENT folders? (Uniqueness of File name is measured by the whole SMS File related folders or only at the outgoing folder only?)
- How to interact with java programs when there is an event? Is there any sample for it?
(For eventhandler attribute in smsd.conf)
Thanks in advanced. :)
|
Thu Jan 13, 2011 02:51
|
alexanderfuture: Hi Ke Ke,
Thanks very much for your help along the way. Now I can send the SMS successfully after the hassles. :D
I found the wavecom smsd.conf sample from the following link and add the init and baud_rate in my config; then everything is working like charm:
http://smstools3.kekekasvi.com/topic.php?id=406
Thanks millions to Ke Ke (for the exceptional support) and techniker (for the sample config).
After the hassles I had run through, I would like to contribute my setup steps for windows + cygwin environment so that people will not take very long period to kick start the sms server. Steps are as follow;
CYGWIN SETUP
1. Go to www.cygwin.com, download it and click on Install Now.
2. Click on Next until you can select a download server. Select one that is near to you and click on Next
3. After the list of cygwin packages is received you can select the parts that you want to install. Do not deselect anything.
4. Open the Devel list and
5. select gcc and
6. make by clicking one time on them.
7. If you want to use statusmonitor feature, a gcc-g++ package is also needed.
8. After the version 3.2, libiconv is also needed if iconv is used. It's used by default.
9. Then click on Next until you can see the progress bar and follow the instructions to finish the setup.
OSSP MM SETUP
10. Go to http://www.ossp.org/pkg/lib/mm/
11. Download the desired version under Distribution files section (I downloaded mm-1.4.2.tar.gz )
12. move that downloaded file to [CYGWIN FOLDER PATH]/usr/src/
13. now, start the cygwin from start menu
14. Install OSSP MM via following steps:
14.1 $./configure --prefix=/usr/local
14.2 $ make
14.3 $ make test
14.4 $ make install
Installing SMSTools3
15. Download the SMS Server Tools 3 into the directory [CYGWIN FOLDER PATH]\usr\src.
(Some windows versions store the file with a wrong filename (*.tar.tar) instead of *.tar.gz but this does not cause any problem.)
16. Enter the following commands to extract the archive:
16.1 $ cd /usr/src
16.2 $ tar -xzf smstools3*
17. Enable the status monitor:
17.1 Go to [CYGWIN FOLDER PATH]\usr\src\smstools3\src\ from windows browser
17.2 find this file "MakeFile" and open it in notepad
17.3 Find this section:
# Comment this out, to enable statistics
CFLAGS += -D NOSTATS
17.4 Change to become like following:
# Comment this out, to enable statistics
#CFLAGS += -D NOSTATS
17.5 close notepad and return to CYGWIN BASH SHELL (COMMAND PROMPT / TERMINAL)
17.6 enter following commands:
17.6.1 $ cd /usr/src/smstools3
17.6.2 $ make
17.6.3 $ make install
Preparing for SMSD Config
18. make sure the modem is connected to computer
19. check the COM port number for the modem
19.1 right click on My Computer/Computer menu from start menu
19.2 click Properties on pop-up menu
19.3 Find Device Manager link/button/tab and click on it
19.4 Find "Port (COM & LPT)" and expand it
19.5 You will see "Universal Serial Port (COMxx)" [in my case, Universal Serial Port (Com10)]
19.6 note the com port number
20. check the SMS Service Center Number of ISP:
20.1 You can find it in this web page http://modmymobile.com/wiki/index.php/SMS_Service_Center_List
20.2 Note down your sms service center number
Configuring SMSD for WAVECOM WMOD2
Refer to this link:
http://smstools3.kekekasvi.com/topic.php?id=406
or here is my config
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
os_cygwin = yes
delaytime = 10
incoming_utf8 = yes
receive_before_send = yes
trust_outgoing = yes
checked = /var/log/ssmd/checked
failed = /var/log/ssmd/failed
incoming = /var/log/ssmd/incoming
outgoing = /var/log/ssmd/outgoing
report = /var/log/ssmd/report
saved = /var/log/ssmd/saved
sent = /var/log/ssmd/sent
#eventhandler = filename
[GSM1]
init = AT+CMEE=1
pin = 2537
baudrate = 9600
rtscts = yes
memory_start = 1
device = /dev/com10
incoming = no
outgoing = yes
smsc = +6596845999
All the best. :)
|
Wed Jan 12, 2011 16:55
|
alexanderfuture: Allow me to correct the error log coz there is no such thing called SUB.... I guess it must be the number and it shows as SUB in my notepad++ editor...
in stead of SUB, it should be a rectangle
2011-01-13 00:22:15,6, GSM1: Checking if modem is ready
2011-01-13 00:22:16,7, GSM1: -> AT
2011-01-13 00:22:16,7, GSM1: Command is sent, waiting for the answer
2011-01-13 00:22:21,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-01-13 00:22:21,7, GSM1: <-
2011-01-13 00:22:22,7, GSM1: -> rectangle
2011-01-13 00:22:22,7, GSM1: Command is sent, waiting for the answer
2011-01-13 00:22:27,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-01-13 00:22:27,7, GSM1: <-
2011-01-13 00:22:28,7, GSM1: -> AT
2011-01-13 00:22:28,7, GSM1: Command is sent, waiting for the answer
2011-01-13 00:22:33,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2011-01-13 00:22:33,7, GSM1: <-
2011-01-13 00:22:34,7, GSM1: -> rectangle
2011-01-13 00:22:34,7, GSM1: Command is sent, waiting for the answer
2011-01-13 00:22:39,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2011-01-13 00:22:39,7, GSM1: <-
2011-01-13 00:22:40,7, GSM1: -> AT
|
Wed Jan 12, 2011 14:39
|
alexanderfuture: Hi,
Now start sending the AT commands to the modem but I got following error in its log:
2011-01-12 22:34:09,6, GSM1: Checking if modem is ready
2011-01-12 22:34:09,7, GSM1: -> AT
2011-01-12 22:34:09,7, GSM1: Command is sent, waiting for the answer
2011-01-12 22:34:15,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-01-12 22:34:15,7, GSM1: <-
2011-01-12 22:34:15,7, GSM1: -> SUB
Thanks.
|
Wed Jan 12, 2011 14:01
|
alexanderfuture: Hi Ke Ke,
Thanks for your suggestion.
As suggested, I reinstall the libmm again with ./configure --prefix=/usr/local
Now I can start the sms server but another problem come up again.
Here is the error from the smsd.log
2011-01-12 21:53:37,3, GSM1: Couldn't open serial port /dev/ttyS0, error: No such file or directory, waiting 30 sec.
I have a problem with finding my device. I am not sure which one to write. From my device manager program, I can see the device, (WAVECOM WMOD2),at COM10
Can you suggest the which one to write in the device path?
Thanks so much..
|
Wed Jan 12, 2011 02:09
|
alexanderfuture: Hi Ke Ke,
Thanks for your reply again.
I tried recompiling again and it is still having the same error message. So I uninstall smstools3 and re-install again. This time, when I compile I have got the following error (I ran "make clean smsd" and "make" in "/smstools3/src"):
stats.c: 30:16: mm.h: No such file or directory
stats.c: In function 'initstats':
stats.c: 56: warning implicit declaration of function 'MM_create'
stats.c: 67: warning implicit declaration of function 'MM_malloc'
stats.c: 89: warning implicit declaration of function 'MM_destroy'
make: *** [stats.o] Error 1
Is it relating with OSSP mm?
I suspected that it is because of OSSP mm. Therefore, I do the re-installation of OSSP mm but still seeing the above error.
For your info, I installed OSSP mm under "/usr/src/mm-1.4.2/" and I installed smstools3 under "/usr/src/smstools3/".
(I found mm.h under /usr/src/mm-1.4.2/ .)
|
Tue Jan 11, 2011 15:13
|
|
Tue Jan 11, 2011 15:07
|
alexanderfuture: Hi,
Thanks for your prompt reply but it is still not working.
This time, I noticed a message after I ran "make install".
Installing start-script
I do not know where to copy scripts/sms3. Please find out yourself.
Does it means that installation was not successful?
|
Tue Jan 11, 2011 14:20
|
alexanderfuture: Hi,
As suggested, I installed the OSSP mm, enable statistics in src/Makefile and recompliled the code again but I am having the same problem.
For your info:
- OSSP mm installation steps:
-- Downloaded from
http://www.ossp.org/pkg/lib/mm/
-- Installed via following command
$ ./configure --prefix=/usr/src/
$ make
$ make test
$ make install
- enabled statistics as follow:
# Comment this out, to enable statistics
#CFLAGS += -D NOSTATS
Did i missed out anything?
|
Mon Jan 10, 2011 16:54
|
alexanderfuture: Operating system name and version: Windows 7 (64 bit)
Version of smsd: 3.1.14
Smsd installed from: downloaded the source from website (installed in cygwin)
Name and model of a modem / phone: Wavecom WMOD2
Interface: USB
Hi,
I have installed smsd based on above details; followed the manual from the website for windows environment.
When I run smsd by using "smsd -s", I get this message "Status monitor is not included in this compilation", also the server doesn't seems working coz I can't find the log file anywhere, and the text file under outgoing folder is not being sent out. :(
Please help. Thanks in advance.
Just for your info;
I did not install smsd as a service.
below is my smsd.conf:
# Example smsd.conf. Read the manual for a description
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
os_cygwin = yes
delaytime = 10
incoming_utf8 = yes
receive_before_send = yes
trust_outgoing = yes
checked = /var/log/ssmd/checked
failed = /var/log/ssmd/failed
incoming = /var/log/ssmd/incoming
outgoing = /var/log/ssmd/outgoing
report = /var/log/ssmd/report
saved = /var/log/ssmd/saved
sent = /var/log/ssmd/sent
#eventhandler = filename
[GSM1]
#device = /dev/ttyS0
device = /dev/ttycom10
incoming = yes
smsc = +6596845999
#pin = 1111
|
Thu Jun 17, 2010 16:12
|
alexanderfuture: Sending SMS is fine with the latest version now. The problem is I can't receive messages.
When I reply from my phone, my phone show me error (Like: cannot be sent or red exclamation mark beside the message). Could this be the config ? or just the modem simply doesn't accept the incoming files?
Here is my configs:
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
report = /var/spool/sms/report
sent = /var/spool/sms/sent
#mypath = /usr/local/bin
logfile = /var/log/smsd.log
loglevel = 7
#alarmhandler = /usr/local/bin/alarmevent
alarmlevel = 4
delaytime = 10
errorsleeptime = 10
blocktime = 3600
#blockafter = 3
#eventhandler = /usr/local/bin/smsevent
#stats = /var/log/smsd_stats
#stats_interval = 3600
#stats_no_zeroes = no
#blacklist = /etc/smsd.black
#whitelist = /etc/smsd.white
#checkhandler = /usr/local/bin/smscheck
receive_before_send = no
# autosplit 0=no 1=yes 2=with text numbers 3=concatenated
autosplit = 1
# store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all
#store_received_pdu = 1
#validity = 255
#decode_unicode_text = no
#internal_combine = no
#user = smsd
#group = dialout
#infofile = /var/run/sms/smsd.working
#pidfile = /var/run/sms/smsd.pid
#keep_filename = no
#store_original_filename = yes
#regular_run = /var/spool/sms/regular_run
#regular_run_interval = 300
#admin_to = (number)
#terminal = no
#filename_preview = 80
#incoming_utf8 = yes
[queues]
# Commented lines are examples for germany
# D1 = /var/spool/sms/D1
# D2 = /var/spool/sms/D2
# O2 = /var/spool/sms/O2
# EPLUS = /var/spool/sms/EPLUS
# QUAM = /var/sppol/sms/QUAM
# MOBILCOM = /var/spool/sms/MOBILCOM
OTHER = /var/spool/sms/OTHER
[provider]
# Commented lines are examples for germany
# D1 = 49160, 49170, 49171, 49175, 49151
# D2 = 491520, 49162, 49172, 49173, 49174
# O2 = 49176, 49179, 49159
# EPLUS = 49163, 49177, 49178, 49157
# QUAM = 49150
# MOBILCOM = 49156
OTHER = 0,1,2,3,4,5,6,7,8,9
[GSM1]
#init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1 #this is default
#init = AT+CFUN=1 # this is set to kannel
init = ATZ
init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
# Windows: /dev/com1, Solaris: /dev/cua/a, Linux /dev/ttyS0
device = /dev/ttyUSB0
incoming = yes
queues = OTHER
#You don't need a PIN for mobile phones
#pin = 1111
mode = new
#smsc = 491722270000 # default
#singtel sms center number
#smsc = 6596500001
smsc = 6596400001
baudrate = 19200
rtscts = yes
cs_convert = yes
report = no
#This is normally 1, Vodafone Mobile Connect Card starts with 0.
memory_start = 0
#eventhandler = /usr/local/bin/smsevent
#primary_memory = memory name
#secondary_memory = memory name
#secondary_memory_max = number
#pdu_from_file = /var/spool/sms/GSM1-PDU
#sending_disabled = no
#decode_unicode_text = no
#internal_combine = no
#pinsleeptime = 5
#admin_to = (number)
#message_limit = 20
#message_count_clear = 60
Thanks.
|
Thu Jun 17, 2010 15:57
|
alexanderfuture: Ok one good news. I can send messages again with 3.1.8 like last time. The problem is the SMSC number. I think, one of Singtel's smsc I used is not working for today (may be). I used the another smsc number and now it works.
I will try out with the new version again. I hope I can do both send and receive this time.
:)
|
Thu Jun 17, 2010 15:52
|
alexanderfuture: Something is really wrong with
the modem or config
even the very first version cannot send any text messages.
I will try again later..
|
Thu Jun 17, 2010 15:31
|
alexanderfuture: Still no luck with the latest version
I found this error in the log file:
2010-06-17 23:28:30,6, GSM1: Initializing modem
2010-06-17 23:28:30,7, GSM1: -> ATQ0 V1 E0 S0=0 &C1 &D2 +FCLASS=0
2010-06-17 23:28:30,7, GSM1: Command is sent, waiting for the answer
2010-06-17 23:28:30,7, GSM1: <- OK
2010-06-17 23:28:31,7, GSM1: -> AT+CSQ
2010-06-17 23:28:31,7, GSM1: Command is sent, waiting for the answer
2010-06-17 23:28:31,7, GSM1: <- +CSQ: 21,99 OK
2010-06-17 23:28:31,6, GSM1: Signal Strength Indicator: (21,99) -71 dBm, Bit Error Rate: not known or not detectable
2010-06-17 23:28:31,6, GSM1: Checking if Modem is registered to the network
2010-06-17 23:28:31,7, GSM1: -> AT+CREG?
2010-06-17 23:28:31,7, GSM1: Command is sent, waiting for the answer
2010-06-17 23:28:31,7, GSM1: <- +CREG: 0,1 OK
2010-06-17 23:28:31,6, GSM1: Modem is registered to the network
2010-06-17 23:28:31,6, GSM1: Selecting PDU mode
2010-06-17 23:28:32,7, GSM1: -> AT+CMGF=0
2010-06-17 23:28:32,7, GSM1: Command is sent, waiting for the answer
2010-06-17 23:28:32,7, GSM1: <- OK
2010-06-17 23:28:32,6, GSM1: Changing SMSC
2010-06-17 23:28:32,7, GSM1: -> AT+CSCA="+6596500001"
2010-06-17 23:28:32,7, GSM1: Command is sent, waiting for the answer
2010-06-17 23:28:32,7, GSM1: <- OK
|
Thu Jun 17, 2010 12:56
|
alexanderfuture: For your information, this is my current config file.
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
report = /var/spool/sms/report
sent = /var/spool/sms/sent
#mypath = /usr/local/bin
logfile = /var/log/smsd.log
loglevel = 7
#alarmhandler = /usr/local/bin/alarmevent
alarmlevel = 4
delaytime = 10
errorsleeptime = 10
blocktime = 3600
receive_before_send = no
# autosplit 0=no 1=yes 2=with text numbers 3=concatenated
autosplit = 3
log_unmodified = yes
[queues]
OTHER = /var/spool/sms/OTHER
[provider]
OTHER = 0,1,2,3,4,5,6,7,8,9
[GSM1]
init = ATZ
init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
device = /dev/ttyUSB0
incoming = yes
queues = OTHER
mode = new
#singtel sms center number
smsc = 6596500001
#default from sample
#baudrate = 19200
baudrate = 9600
rtscts = yes
cs_convert = yes
report = no
#This is normally 1, Vodafone Mobile Connect Card starts with 0.
memory_start = 1
#eventhandler = /usr/local/bin/smsevent
|
Thu Jun 17, 2010 12:55
|
alexanderfuture: Hi,
I tested it out. This time I can't send sms. Receiving part, i haven't tested yet. Here is the log for your reference.
2010-06-17 20:40:06,2, smsd: Smsd v3.1.9 started.
2010-06-17 20:40:06,2, smsd: Running as root:root.
2010-06-17 20:40:06,7, smsd: Running startup_check (shell): /tmp/smsd_script.UgQpDc /tmp/smsd_data.uMqJnt
2010-06-17 20:40:06,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-06-17 20:40:06,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-06-17 20:40:06,5, smsd: Outgoing file checker has started. PID: 3522.
2010-06-17 20:40:06,5, GSM1: Modem handler 0 has started. PID: 3524.
2010-06-17 20:40:06,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-06-17 20:40:06,6, GSM1: Checking device for incoming SMS
2010-06-17 20:40:06,6, GSM1: Checking if modem is ready
2010-06-17 20:40:06,7, GSM1: -> AT
2010-06-17 20:40:06,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:06,7, GSM1: <- AT
OK
2010-06-17 20:40:06,6, GSM1: Pre-initializing modem
2010-06-17 20:40:06,7, GSM1: -> ATE0+CMEE=1
2010-06-17 20:40:06,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:07,7, GSM1: <- ATE0+CMEE=1
OK
2010-06-17 20:40:07,6, GSM1: Checking if modem needs PIN
2010-06-17 20:40:07,7, GSM1: -> AT+CPIN?
2010-06-17 20:40:07,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:07,7, GSM1: <- +CPIN: READY
OK
2010-06-17 20:40:07,6, GSM1: Initializing modem
2010-06-17 20:40:07,7, GSM1: -> ATZ
2010-06-17 20:40:07,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:08,7, GSM1: <- OK
2010-06-17 20:40:08,7, GSM1: -> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
2010-06-17 20:40:08,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:08,7, GSM1: <- ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
2010-06-17 20:40:08,7, GSM1: -> AT+CSQ
2010-06-17 20:40:08,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:09,7, GSM1: <- AT+CSQ
+CSQ: 26,99
OK
2010-06-17 20:40:09,6, GSM1: Checking if Modem is registered to the network
2010-06-17 20:40:09,7, GSM1: -> AT+CREG?
2010-06-17 20:40:09,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:09,7, GSM1: <- AT+CREG?
+CREG: 0,1
OK
2010-06-17 20:40:09,6, GSM1: Modem is registered to the network
2010-06-17 20:40:09,6, GSM1: Selecting PDU mode
2010-06-17 20:40:09,7, GSM1: -> AT+CMGF=0
2010-06-17 20:40:10,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:10,7, GSM1: <- AT+CMGF=0
OK
2010-06-17 20:40:10,6, GSM1: Changing SMSC
2010-06-17 20:40:10,7, GSM1: -> AT+CSCA="+6596500001"
2010-06-17 20:40:10,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:10,7, GSM1: <- AT+CSCA="+6596500001"
OK
2010-06-17 20:40:11,7, GSM1: -> AT+CIMI
2010-06-17 20:40:11,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:11,7, GSM1: <- AT+CIMI
525016165116089
OK
2010-06-17 20:40:11,7, GSM1: -> AT+CGSN
2010-06-17 20:40:11,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:11,7, GSM1: <- AT+CGSN
353435026422569
OK
2010-06-17 20:40:11,5, GSM1: CGSN: 353435026422569
2010-06-17 20:40:11,5, GSM1: IMSI: 525016165116089
2010-06-17 20:40:11,6, GSM1: Checking if reading of messages is supported
2010-06-17 20:40:12,7, GSM1: -> AT+CPMS?
2010-06-17 20:40:12,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:12,7, GSM1: <- AT+CPMS?
+CPMS: "SM",0,30,"SM",0,30,"SM",0,30
OK
2010-06-17 20:40:12,6, GSM1: Checking memory size
2010-06-17 20:40:12,7, GSM1: -> AT+CPMS?
2010-06-17 20:40:12,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:40:12,7, GSM1: <- AT+CPMS?
+CPMS: "SM",0,30,"SM",0,30,"SM",0,30
OK
2010-06-17 20:40:12,6, GSM1: Used memory is 0 of 30
2010-06-17 20:40:12,6, GSM1: No SMS received
...
2010-06-17 20:41:27,5, smsd: Moved file /var/spool/sms/outgoing/send_AXt8kW to /var/spool/sms/OTHER
2010-06-17 20:41:27,6, GSM1: I have to send 1 short message for /var/spool/sms/OTHER/send_AXt8kW
2010-06-17 20:41:27,6, GSM1: Sending SMS from to 6590233423
2010-06-17 20:41:27,6, GSM1: Checking if modem is ready
2010-06-17 20:41:27,7, GSM1: -> AT
2010-06-17 20:41:27,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:27,7, GSM1: <- AT
OK
2010-06-17 20:41:27,6, GSM1: Pre-initializing modem
2010-06-17 20:41:27,7, GSM1: -> ATE0+CMEE=1
2010-06-17 20:41:27,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:28,7, GSM1: <- ATE0+CMEE=1
OK
2010-06-17 20:41:28,6, GSM1: Initializing modem
2010-06-17 20:41:28,7, GSM1: -> ATZ
2010-06-17 20:41:28,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:28,7, GSM1: <- OK
2010-06-17 20:41:28,7, GSM1: -> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
2010-06-17 20:41:28,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:29,7, GSM1: <- ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
2010-06-17 20:41:29,7, GSM1: -> AT+CSQ
2010-06-17 20:41:29,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:29,7, GSM1: <- AT+CSQ
+CSQ: 28,99
OK
2010-06-17 20:41:29,6, GSM1: Checking if Modem is registered to the network
2010-06-17 20:41:29,7, GSM1: -> AT+CREG?
2010-06-17 20:41:30,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:30,7, GSM1: <- AT+CREG?
+CREG: 0,1
OK
2010-06-17 20:41:30,6, GSM1: Modem is registered to the network
2010-06-17 20:41:30,6, GSM1: Selecting PDU mode
2010-06-17 20:41:30,7, GSM1: -> AT+CMGF=0
2010-06-17 20:41:30,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:30,7, GSM1: <- AT+CMGF=0
OK
2010-06-17 20:41:30,6, GSM1: Changing SMSC
2010-06-17 20:41:31,7, GSM1: -> AT+CSCA="+6596500001"
2010-06-17 20:41:31,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:31,7, GSM1: <- AT+CSCA="+6596500001"
OK
2010-06-17 20:41:31,7, GSM1: -> AT+CMGS=51
2010-06-17 20:41:31,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:41:31,7, GSM1: <- AT+CMGS=51
>
2010-06-17 20:41:32,7, GSM1: -> 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B.
2010-06-17 20:41:32,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:02,7, GSM1: <- 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B
+CMS ERROR: 500
(Unknown error)
2010-06-17 20:42:02,3, GSM1: The modem answer was not OK: 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B+CMS ERROR: 500 (Unknown error)
2010-06-17 20:42:02,5, GSM1: Waiting 10 sec. before retrying
2010-06-17 20:42:12,6, GSM1: Checking if modem is ready
2010-06-17 20:42:12,7, GSM1: -> AT
2010-06-17 20:42:12,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:12,7, GSM1: <- AT
OK
2010-06-17 20:42:12,6, GSM1: Pre-initializing modem
2010-06-17 20:42:13,7, GSM1: -> ATE0+CMEE=1
2010-06-17 20:42:13,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:13,7, GSM1: <- ATE0+CMEE=1
OK
2010-06-17 20:42:13,6, GSM1: Initializing modem
2010-06-17 20:42:13,7, GSM1: -> ATZ
2010-06-17 20:42:13,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:13,7, GSM1: <- OK
2010-06-17 20:42:14,7, GSM1: -> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
2010-06-17 20:42:14,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:14,7, GSM1: <- ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
2010-06-17 20:42:14,7, GSM1: -> AT+CSQ
2010-06-17 20:42:14,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:15,7, GSM1: <- AT+CSQ
+CSQ: 29,99
OK
2010-06-17 20:42:15,6, GSM1: Checking if Modem is registered to the network
2010-06-17 20:42:15,7, GSM1: -> AT+CREG?
2010-06-17 20:42:15,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:15,7, GSM1: <- AT+CREG?
+CREG: 0,1
OK
2010-06-17 20:42:15,6, GSM1: Modem is registered to the network
2010-06-17 20:42:15,6, GSM1: Selecting PDU mode
2010-06-17 20:42:15,7, GSM1: -> AT+CMGF=0
2010-06-17 20:42:15,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:16,7, GSM1: <- AT+CMGF=0
OK
2010-06-17 20:42:16,6, GSM1: Changing SMSC
2010-06-17 20:42:16,7, GSM1: -> AT+CSCA="+6596500001"
2010-06-17 20:42:16,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:16,7, GSM1: <- AT+CSCA="+6596500001"
OK
2010-06-17 20:42:16,7, GSM1: -> AT+CMGS=51
2010-06-17 20:42:16,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:17,7, GSM1: <- AT+CMGS=51
>
2010-06-17 20:42:17,7, GSM1: -> 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B.
2010-06-17 20:42:17,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:47,7, GSM1: <- 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B
+CMS ERROR: 500
(Unknown error)
2010-06-17 20:42:47,3, GSM1: The modem answer was not OK: 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B+CMS ERROR: 500 (Unknown error)
2010-06-17 20:42:47,5, GSM1: Waiting 10 sec. before retrying
2010-06-17 20:42:57,6, GSM1: Checking if modem is ready
2010-06-17 20:42:57,7, GSM1: -> AT
2010-06-17 20:42:57,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:58,7, GSM1: <- AT
OK
2010-06-17 20:42:58,6, GSM1: Pre-initializing modem
2010-06-17 20:42:58,7, GSM1: -> ATE0+CMEE=1
2010-06-17 20:42:58,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:58,7, GSM1: <- ATE0+CMEE=1
OK
2010-06-17 20:42:58,6, GSM1: Initializing modem
2010-06-17 20:42:58,7, GSM1: -> ATZ
2010-06-17 20:42:58,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:59,7, GSM1: <- OK
2010-06-17 20:42:59,7, GSM1: -> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
2010-06-17 20:42:59,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:42:59,7, GSM1: <- ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
2010-06-17 20:42:59,7, GSM1: -> AT+CSQ
2010-06-17 20:42:59,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:43:00,7, GSM1: <- AT+CSQ
+CSQ: 25,99
OK
2010-06-17 20:43:00,6, GSM1: Checking if Modem is registered to the network
2010-06-17 20:43:00,7, GSM1: -> AT+CREG?
2010-06-17 20:43:00,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:43:00,7, GSM1: <- AT+CREG?
+CREG: 0,1
OK
2010-06-17 20:43:00,6, GSM1: Modem is registered to the network
2010-06-17 20:43:00,6, GSM1: Selecting PDU mode
2010-06-17 20:43:01,7, GSM1: -> AT+CMGF=0
2010-06-17 20:43:01,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:43:01,7, GSM1: <- AT+CMGF=0
OK
2010-06-17 20:43:01,6, GSM1: Changing SMSC
2010-06-17 20:43:01,7, GSM1: -> AT+CSCA="+6596500001"
2010-06-17 20:43:01,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:43:01,7, GSM1: <- AT+CSCA="+6596500001"
OK
2010-06-17 20:43:02,7, GSM1: -> AT+CMGS=51
2010-06-17 20:43:02,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:43:02,7, GSM1: <- AT+CMGS=51
>
2010-06-17 20:43:02,7, GSM1: -> 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B.
2010-06-17 20:43:02,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:43:28,7, GSM1: <- 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B
+CMS ERROR: 500
(Unknown error)
2010-06-17 20:43:28,3, GSM1: The modem answer was not OK: 0011000A9156093243320000FF2BC8329BFD6681C4F2B70B340CBB41F9771D242FC3D979101D9D9E83E6EDB90B444587DDEBB90B+CMS ERROR: 500 (Unknown error)
2010-06-17 20:43:28,4, GSM1: Sending SMS to 6590233423 failed
2010-06-17 20:43:28,6, GSM1: Moved file /var/spool/sms/OTHER/send_AXt8kW to /var/spool/sms/failed/send_AXt8kW
...
2010-06-17 20:45:10,6, GSM1: Checking device for incoming SMS
2010-06-17 20:45:10,6, GSM1: Checking if modem is ready
2010-06-17 20:45:10,7, GSM1: -> AT
2010-06-17 20:45:10,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:11,7, GSM1: <- AT
OK
2010-06-17 20:45:11,6, GSM1: Pre-initializing modem
2010-06-17 20:45:11,7, GSM1: -> ATE0+CMEE=1
2010-06-17 20:45:11,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:11,7, GSM1: <- ATE0+CMEE=1
OK
2010-06-17 20:45:11,6, GSM1: Initializing modem
2010-06-17 20:45:11,7, GSM1: -> ATZ
2010-06-17 20:45:11,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:12,7, GSM1: <- OK
2010-06-17 20:45:12,7, GSM1: -> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
2010-06-17 20:45:12,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:12,7, GSM1: <- ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
2010-06-17 20:45:12,7, GSM1: -> AT+CSQ
2010-06-17 20:45:12,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:13,7, GSM1: <- AT+CSQ
+CSQ: 0,99
OK
2010-06-17 20:45:13,6, GSM1: Checking if Modem is registered to the network
2010-06-17 20:45:13,7, GSM1: -> AT+CREG?
2010-06-17 20:45:13,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:13,7, GSM1: <- AT+CREG?
+CREG: 0,2
OK
2010-06-17 20:45:13,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 1. TIME
2010-06-17 20:45:14,7, GSM1: -> AT+CSQ
2010-06-17 20:45:14,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:15,7, GSM1: <- AT+CSQ
+CSQ: 0,99
OK
2010-06-17 20:45:15,7, GSM1: -> AT+CREG?
2010-06-17 20:45:15,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:15,7, GSM1: <- AT+CREG?
+CREG: 0,2
OK
2010-06-17 20:45:15,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 2. TIME
2010-06-17 20:45:16,7, GSM1: -> AT+CSQ
2010-06-17 20:45:16,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:17,7, GSM1: <- AT+CSQ
+CSQ: 26,99
OK
2010-06-17 20:45:17,7, GSM1: -> AT+CREG?
2010-06-17 20:45:17,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:17,7, GSM1: <- AT+CREG?
+CREG: 0,2
OK
2010-06-17 20:45:17,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 3. TIME
2010-06-17 20:45:18,7, GSM1: -> AT+CSQ
2010-06-17 20:45:18,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:19,7, GSM1: <- AT+CSQ
+CSQ: 26,99
OK
2010-06-17 20:45:19,7, GSM1: -> AT+CREG?
2010-06-17 20:45:19,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:19,7, GSM1: <- AT+CREG?
+CREG: 0,2
OK
2010-06-17 20:45:19,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 4. TIME
2010-06-17 20:45:20,7, GSM1: -> AT+CSQ
2010-06-17 20:45:20,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:21,7, GSM1: <- AT+CSQ
+CSQ: 26,99
OK
2010-06-17 20:45:21,7, GSM1: -> AT+CREG?
2010-06-17 20:45:21,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:21,7, GSM1: <- AT+CREG?
+CREG: 0,1
OK
2010-06-17 20:45:21,6, GSM1: Modem is registered to the network
2010-06-17 20:45:21,6, GSM1: Selecting PDU mode
2010-06-17 20:45:21,7, GSM1: -> AT+CMGF=0
2010-06-17 20:45:22,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:22,7, GSM1: <- AT+CMGF=0
OK
2010-06-17 20:45:22,6, GSM1: Changing SMSC
2010-06-17 20:45:22,7, GSM1: -> AT+CSCA="+6596500001"
2010-06-17 20:45:22,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:22,7, GSM1: <- AT+CSCA="+6596500001"
OK
2010-06-17 20:45:22,6, GSM1: Checking memory size
2010-06-17 20:45:23,7, GSM1: -> AT+CPMS?
2010-06-17 20:45:23,7, GSM1: Command is sent, waiting for the answer
2010-06-17 20:45:23,7, GSM1: <- AT+CPMS?
+CPMS: "SM",0,30,"SM",0,30,"SM",0,30
OK
2010-06-17 20:45:23,6, GSM1: Used memory is 0 of 30
2010-06-17 20:45:23,6, GSM1: No SMS received
|
Thu Jun 17, 2010 11:46
|
|
Wed Jun 16, 2010 15:14
|
|
Page: 1 2 Next
Time in this board is UTC.
|
|
|
 |
|
 |
|