|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Fri Aug 29, 2025 19:32 |
Page: 1
Keywords: Mode: All keywords (AND) |
Fri Mar 04, 2011 14:48
|
pjaway: No messages are being received - they arrive on the phone - but are not being picked up
Have restarted smsd and server
Still the same
|
Fri Mar 04, 2011 13:43
|
pjaway: This is the same for all out going messages;
Will try and send some messages now - to see what happens
Thanks
PJ
|
Fri Mar 04, 2011 12:55
|
pjaway: I have added that to smsd.conf
restarted
sent a test message - here is the output
tail -f /var/log/smsd.log
2011-03-04 12:52:21,6, modem1: Modem is registered to the network
2011-03-04 12:52:21,6, modem1: Selecting PDU mode
2011-03-04 12:52:21,7, modem1: -> AT+CMGF=0
2011-03-04 12:52:21,7, modem1: Command is sent, waiting for the answer
2011-03-04 12:52:22,7, modem1: <- OK
2011-03-04 12:52:22,7, modem1: -> ATE1+CMGS=23
2011-03-04 12:52:22,7, modem1: Command is sent, waiting for the answer
2011-03-04 12:52:22,7, modem1: <- >
2011-03-04 12:52:22,7, modem1: -> 0011000C914487092666480000FF0AF4F29C0E92C974331A
2011-03-04 12:52:23,7, modem1: Command is sent, waiting for the answer
2011-03-04 12:53:23,7, modem1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-03-04 12:53:23,7, modem1: <- 0011000C914487092666480000FF0AF4F29C0E92C974331A
2011-03-04 12:53:23,5, modem1: Verify PDU: OK
2011-03-04 12:53:23,7, modem1: -> ATE0
2011-03-04 12:53:23,7, modem1: Command is sent, waiting for the answer
2011-03-04 12:53:29,7, modem1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-03-04 12:53:29,7, modem1: <- ATE0
2011-03-04 12:53:29,3, modem1: The modem answer was not OK: 0011000C914487092666480000FF0AF4F29C0E92C974331A
2011-03-04 12:53:29,5, modem1: Waiting 12 sec. before retrying
2011-03-04 12:53:41,6, modem1: Checking if modem is ready
2011-03-04 12:53:41,7, modem1: -> AT
2011-03-04 12:53:41,7, modem1: Command is sent, waiting for the answer
2011-03-04 12:53:46,7, modem1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2011-03-04 12:53:46,7, modem1: <- AT
2011-03-04 12:53:46,7, modem1: ->
2011-03-04 12:53:46,7, modem1: Command is sent, waiting for the answer
2011-03-04 12:53:52,7, modem1: put_command expected (OK)|(ERROR), timeout occurred. 4.
Does this give anyone any ideas ?
|
Fri Mar 04, 2011 09:27
|
pjaway: Operating system name and version: ubuntu 10.10
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Samsung D900e Phone
Interface: USB
Have been using this phone for 4 months now - moved servers from an old HP G3 to a Dell Pc
this has been working for about 4 weeks - now I started to get the following problems
2011-03-02 22:35:07,6, modem1: Checking if modem is ready
2011-03-02 22:35:07,7, modem1: -> AT
2011-03-02 22:35:07,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:08,7, modem1: <- OK
2011-03-02 22:35:08,6, modem1: Pre-initializing modem
2011-03-02 22:35:08,7, modem1: -> ATE0+CMEE=1;+CREG=2
2011-03-02 22:35:08,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:08,7, modem1: <- OK
2011-03-02 22:35:08,7, modem1: -> AT+CSQ
2011-03-02 22:35:08,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:09,7, modem1: <- +CSQ: 6,99 OK
2011-03-02 22:35:09,6, modem1: Signal Strength Indicator: (6,99) -101 dBm (Marginal), Bit Error Rate: not known or not detectable
2011-03-02 22:35:09,6, modem1: Checking if Modem is registered to the network
2011-03-02 22:35:09,7, modem1: -> AT+CREG?
2011-03-02 22:35:09,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:09,7, modem1: <- +CREG: 2,1,"0C5A","3730" OK
2011-03-02 22:35:09,6, modem1: Modem is registered to the network
2011-03-02 22:35:09,6, modem1: Selecting PDU mode
2011-03-02 22:35:09,7, modem1: -> AT+CMGF=0
2011-03-02 22:35:09,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:10,7, modem1: <- OK
2011-03-02 22:35:10,6, modem1: Checking memory size
2011-03-02 22:35:10,7, modem1: -> AT+CPMS?
2011-03-02 22:35:10,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:10,7, modem1: <- +CPMS: "ME",0,200,"ME",0,200,"ME",0,200 OK
2011-03-02 22:35:10,6, modem1: Used memory is 0 of 200
2011-03-02 22:35:10,6, modem1: No SMS received
2011-03-02 22:35:10,6, modem1: Sending SMS from to 447890XXXXXX
2011-03-02 22:35:10,6, modem1: Checking if modem is ready
2011-03-02 22:35:11,7, modem1: -> AT
2011-03-02 22:35:11,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:11,7, modem1: <- OK
2011-03-02 22:35:11,6, modem1: Pre-initializing modem
2011-03-02 22:35:11,7, modem1: -> ATE0+CMEE=1;+CREG=2
2011-03-02 22:35:11,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:11,7, modem1: <- OK
2011-03-02 22:35:12,7, modem1: -> AT+CSQ
2011-03-02 22:35:12,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:12,7, modem1: <- +CSQ: 6,99 OK
2011-03-02 22:35:12,6, modem1: Signal Strength Indicator: (6,99) -101 dBm (Marginal), Bit Error Rate: not known or not detectable
2011-03-02 22:35:12,6, modem1: Checking if Modem is registered to the network
2011-03-02 22:35:12,7, modem1: -> AT+CREG?
2011-03-02 22:35:12,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:12,7, modem1: <- +CREG: 2,1,"0C5A","3730" OK
2011-03-02 22:35:12,6, modem1: Modem is registered to the network
2011-03-02 22:35:12,6, modem1: Selecting PDU mode
2011-03-02 22:35:13,7, modem1: -> AT+CMGF=0
2011-03-02 22:35:13,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:13,7, modem1: <- OK
2011-03-02 22:35:13,7, modem1: -> AT+CMGS=23
2011-03-02 22:35:13,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:35:13,7, modem1: <- >
2011-03-02 22:35:14,7, modem1: -> 0011000C914487092666480000FF0AF4F29C0E92C974331A?
2011-03-02 22:35:14,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:36:14,7, modem1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-03-02 22:36:14,7, modem1: <-
2011-03-02 22:36:14,3, modem1: The modem did not answer (expected OK).
2011-03-02 22:36:14,5, modem1: Waiting 12 sec. before retrying
2011-03-02 22:36:26,6, modem1: Checking if modem is ready
2011-03-02 22:36:26,7, modem1: -> AT
2011-03-02 22:36:26,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:36:31,7, modem1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-03-02 22:36:31,7, modem1: <-
2011-03-02 22:36:31,7, modem1: -> ?
2011-03-02 22:36:31,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:36:36,7, modem1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2011-03-02 22:36:36,7, modem1: <-
2011-03-02 22:36:36,7, modem1: -> AT
2011-03-02 22:36:36,7, modem1: Command is sent, waiting for the answer
2011-03-02 22:36:41,7, modem1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2011-03-02 22:36:41,7, modem1: <-
2011-03-02 22:36:42,7, modem1: -> ?
smsd.conf is
# Global configuration
devices = modem1
loglevel = 7
logfile = /var/log/sms/smstools.log
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
delaytime = 6
errorsleeptime = 12
blocktime = 180
autosplit = 3
receive_before_send = yes
# Modem configuration
# Samsung D900e
[modem1]
device = /dev/ttyACM0
incoming = yes
send_delay = 1
send_handshake_select = no
I added the send_delay and Send_handshake to try and fix the problem
Also as I spent years working under change control - ~I am sure that no updates on the system
have taken place in the last two weeks
|
Sat Jan 15, 2011 00:25
|
pjaway: Operating system name and version: ubuntu 10.10, uname -a reports 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686 GNU/Linux
Version of smsd: 3.1.14
Smsd installed from:
Name and model of a modem / phone: Huawei Technologies Co., Ltd. E620 USB Modem
Interface: USB
output from smsd log : (onstartup)
2011-01-15 00:13:19,2, smsd: Smsd v3.1.14 started.
2011-01-15 00:13:19,2, smsd: Running as root:root.
2011-01-15 00:13:19,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.Y1bBlT /tmp/smsd_data.j4jRrv
2011-01-15 00:13:19,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-01-15 00:13:19,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-01-15 00:13:19,5, smsd: Outgoing file checker has started. PID: 3402.
2011-01-15 00:13:19,7, smsd: All PID's: 3402,3404
2011-01-15 00:13:19,5, GSM1: Modem handler 0 has started. PID: 3404. Will only send messages.
2011-01-15 00:13:19,6, GSM1: Checking if modem is ready
2011-01-15 00:13:20,7, GSM1: -> AT
2011-01-15 00:13:20,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:20,7, GSM1: <- OK
2011-01-15 00:13:20,6, GSM1: Pre-initializing modem
2011-01-15 00:13:20,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-01-15 00:13:20,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:20,7, GSM1: <- OK
2011-01-15 00:13:20,6, GSM1: Checking if modem needs PIN
2011-01-15 00:13:21,7, GSM1: -> AT+CPIN?
2011-01-15 00:13:21,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:21,7, GSM1: <- +CPIN: READY OK
2011-01-15 00:13:21,6, GSM1: Initializing modem
2011-01-15 00:13:21,7, GSM1: -> AT+CPMS="ME","ME","ME"
2011-01-15 00:13:21,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:21,7, GSM1: <- +CPMS: 0,23,0,23,0,23 OK
2011-01-15 00:13:22,7, GSM1: -> AT+CSQ
2011-01-15 00:13:22,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:22,7, GSM1: <- +CSQ: 16,99 OK
2011-01-15 00:13:22,6, GSM1: Signal Strength Indicator: (16,99) -81 dBm (Good), Bit Error Rate: not known or not detectable
2011-01-15 00:13:22,6, GSM1: Checking if Modem is registered to the network
2011-01-15 00:13:22,7, GSM1: -> AT+CREG?
2011-01-15 00:13:22,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:22,7, GSM1: <- +CREG: 2,1,C5A,3730 OK
2011-01-15 00:13:22,6, GSM1: Modem is registered to the network
2011-01-15 00:13:22,6, GSM1: Location area code: C5A, Cell ID: 3730
2011-01-15 00:13:23,7, GSM1: -> AT+CSQ
2011-01-15 00:13:23,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:23,7, GSM1: <- +CSQ: 16,99 OK
2011-01-15 00:13:23,6, GSM1: Signal Strength Indicator: (16,99) -81 dBm (Good), Bit Error Rate: not known or not detectable
2011-01-15 00:13:23,6, GSM1: Selecting PDU mode
2011-01-15 00:13:23,7, GSM1: -> AT+CMGF=0
2011-01-15 00:13:23,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:23,7, GSM1: <- OK
2011-01-15 00:13:24,7, GSM1: -> AT+CIMI
2011-01-15 00:13:24,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:24,7, GSM1: <- 234101033361078 OK
2011-01-15 00:13:24,7, GSM1: -> AT+CGSN
2011-01-15 00:13:24,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:13:24,7, GSM1: <- 352835034214950 OK
2011-01-15 00:13:24,5, GSM1: CGSN: 352835034214950
2011-01-15 00:13:24,5, GSM1: IMSI: 234101033361078
2011-01-15 00:13:24,7, GSM1: ## Start of device details
2011-01-15 00:13:24,7, GSM1: # Manufacturer identification:
2011-01-15 00:13:25,7, GSM1: -> AT+CGMI
2011-01-15 00:13:25,7, GSM1: <- huawei
OK
2011-01-15 00:13:25,7, GSM1: # Model identification:
2011-01-15 00:13:25,7, GSM1: -> AT+CGMM
2011-01-15 00:13:25,7, GSM1: <- E169
OK
2011-01-15 00:13:25,7, GSM1: # Revision identification:
2011-01-15 00:13:26,7, GSM1: -> AT+CGMR
2011-01-15 00:13:26,7, GSM1: <- 11.315.05.00.405
OK
2011-01-15 00:13:26,7, GSM1: # New message indications, list of supported modes:
2011-01-15 00:13:26,7, GSM1: -> AT+CNMI=?
2011-01-15 00:13:26,7, GSM1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2011-01-15 00:13:26,7, GSM1: # New message indications, current settings:
2011-01-15 00:13:27,7, GSM1: -> AT+CNMI?
2011-01-15 00:13:27,7, GSM1: <- +CNMI: 0,0,0,0,0
OK
2011-01-15 00:13:27,7, GSM1: # Preferred message storage, list of supported mem's:
2011-01-15 00:13:27,7, GSM1: -> AT+CPMS=?
2011-01-15 00:13:27,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2011-01-15 00:13:27,7, GSM1: # Phonebook storage, available mem's:
2011-01-15 00:13:28,7, GSM1: -> AT+CPBS=?
2011-01-15 00:13:28,7, GSM1: <- +CPBS: ("SM","EN","ON")
OK
2011-01-15 00:13:28,7, GSM1: # List messages, list of supported stat's:
2011-01-15 00:13:28,7, GSM1: -> AT+CMGL=?
2011-01-15 00:13:28,7, GSM1: <- +CMGL: (0-4)
OK
2011-01-15 00:13:28,7, GSM1: # Delete message, list of supported values:
2011-01-15 00:13:29,7, GSM1: -> AT+CMGD=?
2011-01-15 00:13:29,7, GSM1: <- +CMGD: (),(0-4)
OK
2011-01-15 00:13:29,7, GSM1: # Phone activity status, list of supported stat's:
2011-01-15 00:13:29,7, GSM1: -> AT+CPAS=?
2011-01-15 00:13:29,7, GSM1: <- +CPAS: (0,3,4)
OK
2011-01-15 00:13:29,7, GSM1: # TE character set, list of supported charset's:
2011-01-15 00:13:30,7, GSM1: -> AT+CSCS=?
2011-01-15 00:13:30,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2011-01-15 00:13:30,7, GSM1: # TE character set, current setting:
2011-01-15 00:13:30,7, GSM1: -> AT+CSCS?
2011-01-15 00:13:30,7, GSM1: <- +CSCS: "IRA"
OK
2011-01-15 00:13:30,7, GSM1: ## End of device details
2011-01-15 00:13:30,5, GSM1: Waiting for messages to send...
Using sendsms or sms play to send a message no message is sent
I get the following error
2011-01-15 00:19:55,5, smsd: Moved file /var/spool/sms/outgoing/send_hhlv1U to /var/spool/sms/checked
2011-01-15 00:19:55,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_hhlv1U
2011-01-15 00:19:55,6, GSM1: Sending SMS from to 44XXXXXXXX
2011-01-15 00:19:55,6, GSM1: Checking if modem is ready
2011-01-15 00:19:55,7, GSM1: -> AT
2011-01-15 00:19:55,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:19:56,7, GSM1: <- OK
2011-01-15 00:19:56,6, GSM1: Pre-initializing modem
2011-01-15 00:19:56,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-01-15 00:19:56,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:19:56,7, GSM1: <- OK
2011-01-15 00:19:56,6, GSM1: Initializing modem
2011-01-15 00:19:56,7, GSM1: -> AT+CPMS="ME","ME","ME"
2011-01-15 00:19:56,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:19:57,7, GSM1: <- +CPMS: 0,23,0,23,0,23 OK
2011-01-15 00:19:57,7, GSM1: -> AT+CSQ
2011-01-15 00:19:57,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:19:57,7, GSM1: <- +CSQ: 16,99 OK
2011-01-15 00:19:57,6, GSM1: Signal Strength Indicator: (16,99) -81 dBm (Good), Bit Error Rate: not known or not detectable
2011-01-15 00:19:57,6, GSM1: Checking if Modem is registered to the network
2011-01-15 00:19:57,7, GSM1: -> AT+CREG?
2011-01-15 00:19:57,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:19:58,7, GSM1: <- +CREG: 2,1,C5A,3730 OK
2011-01-15 00:19:58,6, GSM1: Modem is registered to the network
2011-01-15 00:19:58,6, GSM1: Selecting PDU mode
2011-01-15 00:19:58,7, GSM1: -> AT+CMGF=0
2011-01-15 00:19:58,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:19:58,7, GSM1: <- OK
2011-01-15 00:19:58,7, GSM1: -> AT+CMGS=26
2011-01-15 00:19:58,7, GSM1: Command is sent, waiting for the answer
2011-01-15 00:19:59,7, GSM1: <- >
2011-01-15 00:19:59,7, GSM1: -> 0011000B914487606286F40000FF0DF4F29C0E6A97E7F3F0B92C03.
2011-01-15 00:19:59,7, GSM1: Command is sent, waiting for the answer
011-01-15 00:22:01,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2011-01-15 00:22:01,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2011-01-15 00:22:01,4, GSM1: Sending SMS to 44XXXXXXXXX failed, trying time 126 sec. Retries: 2.
2011-01-15 00:22:02,6, GSM1: Moved file /var/spool/sms/checked/send_hhlv1U to /var/spool/sms/failed/send_hhlv1U
smsd.conf
#
# /etc/smsd.conf
#
# Description: Main configuration file for the smsd
#
# Global configuration
######
devices = GSM1
loglevel = 7
logfile = /var/log/sms/smsd.log
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
delaytime = 6
errorsleeptime = 12
blocktime = 180
autosplit = 3
receive_before_send = no
# Modem configuration
# Huawei E620 USB
[GSM1]
#init = AT+CPMS="ME"
init = AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB0
incoming = no
#baudrate = 19200
baudrate = 9600
memory_start = 0
check_memory_method = 3
report_device_details = yes
Any help advise please !
Paul
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|