|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Tue Jul 01, 2025 13:46 |
Page: 1
Keywords: Mode: All keywords (AND) |
Sun Jan 15, 2012 03:34
|
huawei: Operating system name and version: Ubuntu
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Huawei E1552
Interface: USB
Hello, I already set-up my smstools application. There's no problem with receiving side. It works perfectly. But I was having trouble with sending messages. The files in outgoing directories were not moved to checked. That's why these messages were not sent. But when I manually moved the files from outgoing to checked directory, it worked. The file was sent. I was thinking of permission issue so I tried to change the modes of the directories from /var/spool/sms/* to 777 but still the problem was not solved. I read on the documentation that smsd will inherit the privileges of the user who run it. I used root but why it seems that it has no permission to move files? Any idea would be much appreciated.
This is my smsd.conf
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
[GSM1]
device = /dev/ttyUSB2
incoming = no
report_device_details =yes
This is the smsd.log file.
2012-01-07 04:27:34,2, smsd: Smsd v3.1.14 started.
2012-01-07 04:27:34,2, smsd: Running as root:root.
2012-01-07 04:27:34,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.TlZ567 /tmp/smsd_data.I6H3zg
2012-01-07 04:27:34,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2012-01-07 04:27:34,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-01-07 04:27:34,5, smsd: Outgoing file checker has started. PID: 7268.
2012-01-07 04:27:34,5, GSM1: Modem handler 0 has started. PID: 7269. Will only send messages.
2012-01-07 04:27:34,7, smsd: All PID's: 7268,7269
2012-01-07 04:27:34,3, GSM1: Baudrate 9200 not supported, using 19200
2012-01-07 04:27:34,6, GSM1: Checking if modem is ready
2012-01-07 04:27:34,7, GSM1: -> AT
2012-01-07 04:27:34,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:35,7, GSM1: <- OK
2012-01-07 04:27:35,6, GSM1: Pre-initializing modem
2012-01-07 04:27:35,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2012-01-07 04:27:35,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:35,7, GSM1: <- OK
2012-01-07 04:27:35,6, GSM1: Checking if modem needs PIN
2012-01-07 04:27:35,7, GSM1: -> AT+CPIN?
2012-01-07 04:27:35,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:36,7, GSM1: <- +CPIN: READY OK
2012-01-07 04:27:36,6, GSM1: Initializing modem
2012-01-07 04:27:36,7, GSM1: -> AT^CURC=0
2012-01-07 04:27:36,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:36,7, GSM1: <- OK
2012-01-07 04:27:36,7, GSM1: -> AT+CSQ
2012-01-07 04:27:36,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:37,7, GSM1: <- +CSQ: 15,99 OK
2012-01-07 04:27:37,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm (Good)
2012-01-07 04:27:37,6, GSM1: Checking if Modem is registered to the network
2012-01-07 04:27:37,7, GSM1: -> AT+CREG?
2012-01-07 04:27:37,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:37,7, GSM1: <- +CREG: 2,1,C95,35DA OK
2012-01-07 04:27:37,6, GSM1: Modem is registered to the network
2012-01-07 04:27:37,6, GSM1: Location area code: C95, Cell ID: 35DA
2012-01-07 04:27:37,7, GSM1: -> AT+CSQ
2012-01-07 04:27:37,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:38,7, GSM1: <- +CSQ: 15,99 OK
2012-01-07 04:27:38,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm (Good)
2012-01-07 04:27:38,6, GSM1: Selecting PDU mode
2012-01-07 04:27:38,7, GSM1: -> AT+CMGF=0
2012-01-07 04:27:38,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:38,7, GSM1: <- OK
2012-01-07 04:27:38,6, GSM1: Changing SMSC
2012-01-07 04:27:38,7, GSM1: -> AT+CSCA="+639170000130"
2012-01-07 04:27:38,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:39,7, GSM1: <- OK
2012-01-07 04:27:39,7, GSM1: -> AT+CIMI
2012-01-07 04:27:39,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:39,7, GSM1: <- 515021009410644 OK
2012-01-07 04:27:39,7, GSM1: -> AT+CGSN
2012-01-07 04:27:39,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:40,7, GSM1: <- 353143034214610 OK
2012-01-07 04:27:40,5, GSM1: CGSN: 353143034214610
2012-01-07 04:27:40,5, GSM1: IMSI: 515021009410644
2012-01-07 04:27:40,7, GSM1: ## Start of device details
2012-01-07 04:27:40,7, GSM1: # Manufacturer identification:
2012-01-07 04:27:40,7, GSM1: -> AT+CGMI
2012-01-07 04:27:40,7, GSM1: <- huawei
OK
2012-01-07 04:27:40,7, GSM1: # Model identification:
2012-01-07 04:27:40,7, GSM1: -> AT+CGMM
2012-01-07 04:27:41,7, GSM1: <- E1552
OK
2012-01-07 04:27:41,7, GSM1: # Revision identification:
2012-01-07 04:27:41,7, GSM1: -> AT+CGMR
2012-01-07 04:27:41,7, GSM1: <- 11.608.10.00.00
OK
2012-01-07 04:27:41,7, GSM1: # New message indications, list of supported modes:
2012-01-07 04:27:41,7, GSM1: -> AT+CNMI=?
2012-01-07 04:27:42,7, GSM1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2012-01-07 04:27:42,7, GSM1: # New message indications, current settings:
2012-01-07 04:27:42,7, GSM1: -> AT+CNMI?
2012-01-07 04:27:42,7, GSM1: <- +CNMI: 0,0,0,0,0
OK
2012-01-07 04:27:42,7, GSM1: # Preferred message storage, list of supported mem's:
2012-01-07 04:27:42,7, GSM1: -> AT+CPMS=?
2012-01-07 04:27:43,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2012-01-07 04:27:43,7, GSM1: # Phonebook storage, available mem's:
2012-01-07 04:27:43,7, GSM1: -> AT+CPBS=?
2012-01-07 04:27:43,7, GSM1: <- +CPBS: ("SM","EN","ON")
OK
2012-01-07 04:27:43,7, GSM1: # List messages, list of supported stat's:
2012-01-07 04:27:43,7, GSM1: -> AT+CMGL=?
2012-01-07 04:27:44,7, GSM1: <- +CMGL: (0-4)
OK
2012-01-07 04:27:44,7, GSM1: # Delete message, list of supported values:
2012-01-07 04:27:44,7, GSM1: -> AT+CMGD=?
2012-01-07 04:27:44,7, GSM1: <- +CMGD: (0,1,2,3,4,5,6,7,8,10,11,12,13,14,21,23,24,25,26,27,28,30,32,33,34,36,37),(0-4)
OK
2012-01-07 04:27:44,7, GSM1: # Phone activity status, list of supported stat's:
2012-01-07 04:27:44,7, GSM1: -> AT+CPAS=?
2012-01-07 04:27:45,7, GSM1: <- +CPAS: (0,3,4)
OK
2012-01-07 04:27:45,7, GSM1: # TE character set, list of supported charset's:
2012-01-07 04:27:45,7, GSM1: -> AT+CSCS=?
2012-01-07 04:27:45,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2012-01-07 04:27:45,7, GSM1: # TE character set, current setting:
2012-01-07 04:27:45,7, GSM1: -> AT+CSCS?
2012-01-07 04:27:46,7, GSM1: <- +CSCS: "IRA"
OK
2012-01-07 04:27:46,7, GSM1: ## End of device details
2012-01-07 04:27:46,5, GSM1: Waiting for messages to send...
Thank you!
|
Wed Jan 11, 2012 09:02
|
huawei: Already figured out what causes this problem. It was a permission issue. When invoking sendsms command as root, the file created in outgoing directory was owned by root and has 600 permission. This is why smsd stack at "Waiting for messages to send..." message because it can't move the file from outgoing to checked directory.
Hope this will help to those having this issue also. Cheers!
|
Sat Jan 07, 2012 13:51
|
huawei: Operating system name and version: Ubuntu (wubi - Windows installer)
Version of smsd: smstools3-3.1.14.tar.gz
Smsd installed from: sources
Name and model of a modem / phone: Huawei E1552
Interface: USB
Hello, I have been working on it for almost a month now and still I can't get it to work. I am using an Ubuntu (Wubi - Windows installer) and a Huawei E1552. Below is my smsd.conf and log.
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
[GSM1]
init = AT^CURC=0
device = /dev/ttyUSB0
incoming = no
baudrate = 9200
report_device_details =yes
signal_quality_ber_ignore = yes
smsc = 639170000130
2012-01-07 04:27:34,2, smsd: Smsd v3.1.14 started.
2012-01-07 04:27:34,2, smsd: Running as root:root.
2012-01-07 04:27:34,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.TlZ567 /tmp/smsd_data.I6H3zg
2012-01-07 04:27:34,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2012-01-07 04:27:34,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-01-07 04:27:34,5, smsd: Outgoing file checker has started. PID: 7268.
2012-01-07 04:27:34,5, GSM1: Modem handler 0 has started. PID: 7269. Will only send messages.
2012-01-07 04:27:34,7, smsd: All PID's: 7268,7269
2012-01-07 04:27:34,3, GSM1: Baudrate 9200 not supported, using 19200
2012-01-07 04:27:34,6, GSM1: Checking if modem is ready
2012-01-07 04:27:34,7, GSM1: -> AT
2012-01-07 04:27:34,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:35,7, GSM1: <- OK
2012-01-07 04:27:35,6, GSM1: Pre-initializing modem
2012-01-07 04:27:35,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2012-01-07 04:27:35,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:35,7, GSM1: <- OK
2012-01-07 04:27:35,6, GSM1: Checking if modem needs PIN
2012-01-07 04:27:35,7, GSM1: -> AT+CPIN?
2012-01-07 04:27:35,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:36,7, GSM1: <- +CPIN: READY OK
2012-01-07 04:27:36,6, GSM1: Initializing modem
2012-01-07 04:27:36,7, GSM1: -> AT^CURC=0
2012-01-07 04:27:36,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:36,7, GSM1: <- OK
2012-01-07 04:27:36,7, GSM1: -> AT+CSQ
2012-01-07 04:27:36,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:37,7, GSM1: <- +CSQ: 15,99 OK
2012-01-07 04:27:37,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm (Good)
2012-01-07 04:27:37,6, GSM1: Checking if Modem is registered to the network
2012-01-07 04:27:37,7, GSM1: -> AT+CREG?
2012-01-07 04:27:37,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:37,7, GSM1: <- +CREG: 2,1,C95,35DA OK
2012-01-07 04:27:37,6, GSM1: Modem is registered to the network
2012-01-07 04:27:37,6, GSM1: Location area code: C95, Cell ID: 35DA
2012-01-07 04:27:37,7, GSM1: -> AT+CSQ
2012-01-07 04:27:37,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:38,7, GSM1: <- +CSQ: 15,99 OK
2012-01-07 04:27:38,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm (Good)
2012-01-07 04:27:38,6, GSM1: Selecting PDU mode
2012-01-07 04:27:38,7, GSM1: -> AT+CMGF=0
2012-01-07 04:27:38,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:38,7, GSM1: <- OK
2012-01-07 04:27:38,6, GSM1: Changing SMSC
2012-01-07 04:27:38,7, GSM1: -> AT+CSCA="+639170000130"
2012-01-07 04:27:38,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:39,7, GSM1: <- OK
2012-01-07 04:27:39,7, GSM1: -> AT+CIMI
2012-01-07 04:27:39,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:39,7, GSM1: <- 515021009410644 OK
2012-01-07 04:27:39,7, GSM1: -> AT+CGSN
2012-01-07 04:27:39,7, GSM1: Command is sent, waiting for the answer
2012-01-07 04:27:40,7, GSM1: <- 353143034214610 OK
2012-01-07 04:27:40,5, GSM1: CGSN: 353143034214610
2012-01-07 04:27:40,5, GSM1: IMSI: 515021009410644
2012-01-07 04:27:40,7, GSM1: ## Start of device details
2012-01-07 04:27:40,7, GSM1: # Manufacturer identification:
2012-01-07 04:27:40,7, GSM1: -> AT+CGMI
2012-01-07 04:27:40,7, GSM1: <- huawei
OK
2012-01-07 04:27:40,7, GSM1: # Model identification:
2012-01-07 04:27:40,7, GSM1: -> AT+CGMM
2012-01-07 04:27:41,7, GSM1: <- E1552
OK
2012-01-07 04:27:41,7, GSM1: # Revision identification:
2012-01-07 04:27:41,7, GSM1: -> AT+CGMR
2012-01-07 04:27:41,7, GSM1: <- 11.608.10.00.00
OK
2012-01-07 04:27:41,7, GSM1: # New message indications, list of supported modes:
2012-01-07 04:27:41,7, GSM1: -> AT+CNMI=?
2012-01-07 04:27:42,7, GSM1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2012-01-07 04:27:42,7, GSM1: # New message indications, current settings:
2012-01-07 04:27:42,7, GSM1: -> AT+CNMI?
2012-01-07 04:27:42,7, GSM1: <- +CNMI: 0,0,0,0,0
OK
2012-01-07 04:27:42,7, GSM1: # Preferred message storage, list of supported mem's:
2012-01-07 04:27:42,7, GSM1: -> AT+CPMS=?
2012-01-07 04:27:43,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2012-01-07 04:27:43,7, GSM1: # Phonebook storage, available mem's:
2012-01-07 04:27:43,7, GSM1: -> AT+CPBS=?
2012-01-07 04:27:43,7, GSM1: <- +CPBS: ("SM","EN","ON")
OK
2012-01-07 04:27:43,7, GSM1: # List messages, list of supported stat's:
2012-01-07 04:27:43,7, GSM1: -> AT+CMGL=?
2012-01-07 04:27:44,7, GSM1: <- +CMGL: (0-4)
OK
2012-01-07 04:27:44,7, GSM1: # Delete message, list of supported values:
2012-01-07 04:27:44,7, GSM1: -> AT+CMGD=?
2012-01-07 04:27:44,7, GSM1: <- +CMGD: (0,1,2,3,4,5,6,7,8,10,11,12,13,14,21,23,24,25,26,27,28,30,32,33,34,36,37),(0-4)
OK
2012-01-07 04:27:44,7, GSM1: # Phone activity status, list of supported stat's:
2012-01-07 04:27:44,7, GSM1: -> AT+CPAS=?
2012-01-07 04:27:45,7, GSM1: <- +CPAS: (0,3,4)
OK
2012-01-07 04:27:45,7, GSM1: # TE character set, list of supported charset's:
2012-01-07 04:27:45,7, GSM1: -> AT+CSCS=?
2012-01-07 04:27:45,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2012-01-07 04:27:45,7, GSM1: # TE character set, current setting:
2012-01-07 04:27:45,7, GSM1: -> AT+CSCS?
2012-01-07 04:27:46,7, GSM1: <- +CSCS: "IRA"
OK
2012-01-07 04:27:46,7, GSM1: ## End of device details
2012-01-07 04:27:46,5, GSM1: Waiting for messages to send...
This is my command when sending message. sendsms 639170000101 'Test'
As you can see on the log, no sending of message is happening. What could be the possible reason htat causes this problem? Is it hardware compatibility issues? Receiving is not a problem as it works fine. I searched on the forum and no one seems having the same problem with mine. Any brilliant ideas would be much appreciated. Thanks in advance. :)
|
Sun Dec 18, 2011 14:19
|
huawei: Operating system name and version: Ubuntu 11
Version of smsd: smstools3-3.1.12
Smsd installed from: package repository
Name and model of a modem / phone: Huawei E620
Interface: USB
Hello. I am new to SMS Tools and I'm trying to setup a simple receive/send message installation. I was able to receive a message but no luck in sending. It doesn't even log on the log file (smsd.log) when it is attempting to send. Any idea would be much appreciated! Thank you!
:(
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|