Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Huawei e1552
Interface: USB
hi guys, been having rough time on configuring smstools to run,
at first i tried my SE C901 for testing but i dont know what exact configuration to smsd.conf
then upon reading lots of post here, i read a post regarding Huawei E620 and tried to copy its smsd.conf because i have a huawei e1552
here is my config:
# 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
# Hewai E1552 USB
[GSM1]
init = AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB0
incoming = yes
baudrate = 115200
memory_start = 0
smsc = +6391702
check_memory_method = 3
report_device_details = yes
######
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
# Hewai E1552 USB
[GSM1]
init = AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB0
incoming = yes
baudrate = 115200
memory_start = 0
smsc = +6391702
check_memory_method = 3
report_device_details = yes
i tried to send a message to 222 and message bal meaning an inquiry to balance to may network
upon sending, i notice a weird error on my sms logs, here it is..
Quote2011-07-27 23:44:47,2, smsd: Smsd v3.1.14 started.
2011-07-27 23:44:47,2, smsd: Running as root:root.
2011-07-27 23:44:47,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.44KrRd /tmp/smsd_data.BZWXYl
2011-07-27 23:44:47,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-07-27 23:44:47,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-07-27 23:44:47,5, smsd: Outgoing file checker has started. PID: 3485.
2011-07-27 23:44:47,7, smsd: All PID's: 3485,3487
2011-07-27 23:44:47,5, GSM1: Modem handler 0 has started. PID: 3487.
2011-07-27 23:44:47,5, GSM1: Using check_memory_method 3: CMGL is used.
2011-07-27 23:44:47,6, GSM1: Checking device for incoming SMS
2011-07-27 23:44:47,6, GSM1: Checking if modem is ready
2011-07-27 23:44:48,7, GSM1: -> AT
2011-07-27 23:44:48,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:50,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2011-07-27 23:44:50,7, GSM1: -> AT
2011-07-27 23:44:50,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:50,7, GSM1: <- OK
2011-07-27 23:44:50,6, GSM1: Pre-initializing modem
2011-07-27 23:44:50,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-07-27 23:44:50,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:51,7, GSM1: <- OK
2011-07-27 23:44:51,6, GSM1: Checking if modem needs PIN
2011-07-27 23:44:51,7, GSM1: -> AT+CPIN?
2011-07-27 23:44:51,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:51,7, GSM1: <- +CPIN: READY OK
2011-07-27 23:44:51,6, GSM1: Initializing modem
2011-07-27 23:44:51,7, GSM1: -> AT+CPMS="ME","ME","ME"
2011-07-27 23:44:51,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:52,7, GSM1: <- +CPMS: 0,23,0,23,0,23 OK
2011-07-27 23:44:52,7, GSM1: -> AT+CSQ
2011-07-27 23:44:52,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:52,7, GSM1: <- +CSQ: 14,99 OK
2011-07-27 23:44:52,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm (Workable), Bit Error Rate: not known or not detectable
2011-07-27 23:44:52,6, GSM1: Checking if Modem is registered to the network
2011-07-27 23:44:52,7, GSM1: -> AT+CREG?
2011-07-27 23:44:52,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:52,7, GSM1: <- +CREG: 2,1,1271,608B OK
2011-07-27 23:44:52,6, GSM1: Modem is registered to the network
2011-07-27 23:44:52,6, GSM1: Location area code: 1271, Cell ID: 608B
2011-07-27 23:44:53,7, GSM1: -> AT+CSQ
2011-07-27 23:44:53,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:53,7, GSM1: <- +CSQ: 14,99 OK
2011-07-27 23:44:53,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm (Workable), Bit Error Rate: not known or not detectable
2011-07-27 23:44:53,6, GSM1: Selecting PDU mode
2011-07-27 23:44:53,7, GSM1: -> AT+CMGF=0
2011-07-27 23:44:53,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:53,7, GSM1: <- OK
2011-07-27 23:44:53,6, GSM1: Changing SMSC
2011-07-27 23:44:54,7, GSM1: -> AT+CSCA="+6391702"
2011-07-27 23:44:54,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:54,7, GSM1: <- OK
2011-07-27 23:44:54,7, GSM1: -> AT+CIMI
2011-07-27 23:44:54,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:55,7, GSM1: <- 515023101395272 OK
2011-07-27 23:44:55,7, GSM1: -> AT+CGSN
2011-07-27 23:44:55,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:55,7, GSM1: <- 353143030503586 OK
2011-07-27 23:44:55,5, GSM1: CGSN: 353143030503586
2011-07-27 23:44:55,5, GSM1: IMSI: 515023101395272
2011-07-27 23:44:55,6, GSM1: Checking if reading of messages is supported
2011-07-27 23:44:55,7, GSM1: -> AT+CPMS?
2011-07-27 23:44:55,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:44:56,7, GSM1: <- +CPMS: "ME",0,23,"ME",0,23,"ME",0,23 OK
2011-07-27 23:44:56,7, GSM1: ## Start of device details
2011-07-27 23:44:56,7, GSM1: # Manufacturer identification:
2011-07-27 23:44:56,7, GSM1: -> AT+CGMI
2011-07-27 23:44:56,7, GSM1: <- huawei
OK
2011-07-27 23:44:56,7, GSM1: # Model identification:
2011-07-27 23:44:56,7, GSM1: -> AT+CGMM
2011-07-27 23:44:57,7, GSM1: <- E1552
OK
2011-07-27 23:44:57,7, GSM1: # Revision identification:
2011-07-27 23:44:57,7, GSM1: -> AT+CGMR
2011-07-27 23:44:57,7, GSM1: <- 11.608.10.00.00
OK
2011-07-27 23:44:57,7, GSM1: # New message indications, list of supported modes:
2011-07-27 23:44:57,7, GSM1: -> AT+CNMI=?
2011-07-27 23:44:58,7, GSM1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2011-07-27 23:44:58,7, GSM1: # New message indications, current settings:
2011-07-27 23:44:58,7, GSM1: -> AT+CNMI?
2011-07-27 23:44:58,7, GSM1: <- +CNMI: 2,1,2,2,0
OK
2011-07-27 23:44:58,7, GSM1: # Preferred message storage, list of supported mem's:
2011-07-27 23:44:58,7, GSM1: -> AT+CPMS=?
2011-07-27 23:44:59,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2011-07-27 23:44:59,7, GSM1: # Phonebook storage, available mem's:
2011-07-27 23:44:59,7, GSM1: -> AT+CPBS=?
2011-07-27 23:44:59,7, GSM1: <- +CPBS: ("SM","EN","ON")
OK
2011-07-27 23:44:59,7, GSM1: # List messages, list of supported stat's:
2011-07-27 23:44:59,7, GSM1: -> AT+CMGL=?
2011-07-27 23:44:59,7, GSM1: <- +CMGL: (0-4)
OK
2011-07-27 23:44:59,7, GSM1: # Delete message, list of supported values:
2011-07-27 23:45:00,7, GSM1: -> AT+CMGD=?
2011-07-27 23:45:00,7, GSM1: <- +CMGD: (),(0-4)
OK
2011-07-27 23:45:00,7, GSM1: # Phone activity status, list of supported stat's:
2011-07-27 23:45:00,5, smsd: Moved file /var/spool/sms/outgoing/send_DVr3NB to /var/spool/sms/checked
2011-07-27 23:45:00,7, GSM1: -> AT+CPAS=?
2011-07-27 23:45:00,7, GSM1: <- +CPAS: (0,3,4)
OK
2011-07-27 23:45:00,7, GSM1: # TE character set, list of supported charset's:
2011-07-27 23:45:01,7, GSM1: -> AT+CSCS=?
2011-07-27 23:45:01,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2011-07-27 23:45:01,7, GSM1: # TE character set, current setting:
2011-07-27 23:45:01,7, GSM1: -> AT+CSCS?
2011-07-27 23:45:01,7, GSM1: <- +CSCS: "IRA"
OK
2011-07-27 23:45:01,7, GSM1: ## End of device details
2011-07-27 23:45:01,6, GSM1: Checking memory size
2011-07-27 23:45:02,7, GSM1: -> AT+CMGL=4
2011-07-27 23:45:02,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:02,7, GSM1: <- OK
2011-07-27 23:45:02,6, GSM1: Used memory is 0
2011-07-27 23:45:02,6, GSM1: No SMS received
2011-07-27 23:45:02,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_DVr3NB
2011-07-27 23:45:02,6, GSM1: Sending SMS from to 222
2011-07-27 23:45:02,6, GSM1: Checking if modem is ready
2011-07-27 23:45:02,7, GSM1: -> AT
2011-07-27 23:45:02,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:03,7, GSM1: <- OK
2011-07-27 23:45:03,6, GSM1: Pre-initializing modem
2011-07-27 23:45:03,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-07-27 23:45:03,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:03,7, GSM1: <- OK
2011-07-27 23:45:03,6, GSM1: Initializing modem
2011-07-27 23:45:03,7, GSM1: -> AT+CPMS="ME","ME","ME"
2011-07-27 23:45:03,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:04,7, GSM1: <- +CPMS: 0,23,0,23,0,23 OK
2011-07-27 23:45:04,7, GSM1: -> AT+CSQ
2011-07-27 23:45:04,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:04,7, GSM1: <- +CSQ: 14,99 OK
2011-07-27 23:45:04,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm (Workable), Bit Error Rate: not known or not detectable
2011-07-27 23:45:04,6, GSM1: Checking if Modem is registered to the network
2011-07-27 23:45:04,7, GSM1: -> AT+CREG?
2011-07-27 23:45:04,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:05,7, GSM1: <- +CREG: 2,1,1271,608B OK
2011-07-27 23:45:05,6, GSM1: Modem is registered to the network
2011-07-27 23:45:05,6, GSM1: Selecting PDU mode
2011-07-27 23:45:05,7, GSM1: -> AT+CMGF=0
2011-07-27 23:45:05,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:05,7, GSM1: <- OK
2011-07-27 23:45:05,6, GSM1: Changing SMSC
2011-07-27 23:45:05,7, GSM1: -> AT+CSCA="+6391702"
2011-07-27 23:45:05,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:06,7, GSM1: <- OK
2011-07-27 23:45:06,7, GSM1: -> AT+CMGS=13
2011-07-27 23:45:06,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:06,7, GSM1: <- >
2011-07-27 23:45:06,7, GSM1: -> 001100039122F20000FF03E2301B.
2011-07-27 23:45:06,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:37,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2011-07-27 23:45:37,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2011-07-27 23:45:37,5, GSM1: Waiting 12 sec. before retrying
2011-07-27 23:45:49,6, GSM1: Checking if modem is ready
2011-07-27 23:45:49,7, GSM1: -> AT
2011-07-27 23:45:49,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:49,7, GSM1: <- OK
2011-07-27 23:45:49,6, GSM1: Pre-initializing modem
2011-07-27 23:45:49,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-07-27 23:45:49,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:50,7, GSM1: <- OK
2011-07-27 23:45:50,6, GSM1: Initializing modem
2011-07-27 23:45:50,7, GSM1: -> AT+CPMS="ME","ME","ME"
2011-07-27 23:45:50,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:50,7, GSM1: <- +CPMS: 0,23,0,23,0,23 OK
2011-07-27 23:45:50,7, GSM1: -> AT+CSQ
2011-07-27 23:45:50,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:51,7, GSM1: <- +CSQ: 14,99 OK
2011-07-27 23:45:51,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm (Workable), Bit Error Rate: not known or not detectable
2011-07-27 23:45:51,6, GSM1: Checking if Modem is registered to the network
2011-07-27 23:45:51,7, GSM1: -> AT+CREG?
2011-07-27 23:45:51,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:51,7, GSM1: <- +CREG: 2,1,1271,608B OK
2011-07-27 23:45:51,6, GSM1: Modem is registered to the network
2011-07-27 23:45:51,6, GSM1: Selecting PDU mode
2011-07-27 23:45:51,7, GSM1: -> AT+CMGF=0
2011-07-27 23:45:51,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:52,7, GSM1: <- OK
2011-07-27 23:45:52,6, GSM1: Changing SMSC
2011-07-27 23:45:52,7, GSM1: -> AT+CSCA="+6391702"
2011-07-27 23:45:52,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:52,7, GSM1: <- OK
2011-07-27 23:45:52,7, GSM1: -> AT+CMGS=13
2011-07-27 23:45:52,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:45:53,7, GSM1: <- >
2011-07-27 23:45:53,7, GSM1: -> 001100039122F20000FF03E2301B.
2011-07-27 23:45:53,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:23,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2011-07-27 23:46:23,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2011-07-27 23:46:23,5, GSM1: Waiting 12 sec. before retrying
2011-07-27 23:46:35,6, GSM1: Checking if modem is ready
2011-07-27 23:46:36,7, GSM1: -> AT
2011-07-27 23:46:36,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:36,7, GSM1: <- OK
2011-07-27 23:46:36,6, GSM1: Pre-initializing modem
2011-07-27 23:46:36,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-07-27 23:46:36,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:36,7, GSM1: <- OK
2011-07-27 23:46:36,6, GSM1: Initializing modem
2011-07-27 23:46:37,7, GSM1: -> AT+CPMS="ME","ME","ME"
2011-07-27 23:46:37,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:37,7, GSM1: <- +CPMS: 0,23,0,23,0,23 OK
2011-07-27 23:46:37,7, GSM1: -> AT+CSQ
2011-07-27 23:46:37,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:37,7, GSM1: <- +CSQ: 15,99 OK
2011-07-27 23:46:37,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm (Good), Bit Error Rate: not known or not detectable
2011-07-27 23:46:37,6, GSM1: Checking if Modem is registered to the network
2011-07-27 23:46:38,7, GSM1: -> AT+CREG?
2011-07-27 23:46:38,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:38,7, GSM1: <- +CREG: 2,1,1271,608B OK
2011-07-27 23:46:38,6, GSM1: Modem is registered to the network
2011-07-27 23:46:38,6, GSM1: Selecting PDU mode
2011-07-27 23:46:38,7, GSM1: -> AT+CMGF=0
2011-07-27 23:46:38,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:39,7, GSM1: <- OK
2011-07-27 23:46:39,6, GSM1: Changing SMSC
2011-07-27 23:46:39,7, GSM1: -> AT+CSCA="+6391702"
2011-07-27 23:46:39,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:39,7, GSM1: <- OK
2011-07-27 23:46:39,7, GSM1: -> AT+CMGS=13
2011-07-27 23:46:39,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:46:40,7, GSM1: <- >
2011-07-27 23:46:40,7, GSM1: -> 001100039122F20000FF03E2301B.
2011-07-27 23:46:40,7, GSM1: Command is sent, waiting for the answer
2011-07-27 23:47:10,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2011-07-27 23:47:10,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2011-07-27 23:47:10,4, GSM1: Sending SMS to 222 failed, trying time 128 sec. Retries: 2. this error
2011-07-27 23:47:10,6, GSM1: Moved file /var/spool/sms/checked/send_DVr3NB to /var/spool/sms/failed/send_DVr3NB
please bear with me.. thanks