Author |
Post |
|
#1 Sat Nov 03, 2018 08:48, 72 months ago.
|
Member
Registered: Nov 2018
Location: Germany
|
OpenWRT: 3.1.21-2: Smsd installed from: package repository Quectel EC25: Interface: USB via apu3
Hi,
i unfortunatly can´t send a SMS via smstools3
My device is a Quectel EC25 on an apu3 board.
Here is the content of my smsd.conf: # # Description: Main configuration file for the smsd #
devices = GSM1 incoming = /var/spool/sms/incoming outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed sent = /var/spool/sms/sent logfile = /var/log/smsd.log receive_before_send = no autosplit = 3 logfile = 1 loglevel = 7
# Uncomment (and edit) this section to allow smsd to start: # #[GSM1] #init = AT+CPMS="ME","ME","ME" #device = /dev/ttyUSB0 #incoming = yes #pin = 0000 #baudrate = 115200
[GSM1] init = AT+CPMS="SM","SM","SM" device = /dev/ttyUSB3 incoming = yes pin = ignore smsc = 491722270000 baudrate = 19200
Here are the message smsd gives out: 2018-11-03 09:39:45,7, GSM1: -> AT+CMGS=30 2018-11-03 09:39:45,7, GSM1: Command is sent, waiting for the answer. (10) 2018-11-03 09:39:45,7, GSM1: <- > 2018-11-03 09:39:45,7, GSM1: -> 0011000C919471821415130000FF12C8329BFD6681D0EF3B282C2F83F2EF3A 2018-11-03 09:39:45,7, GSM1: Command is sent, waiting for the answer. (60) 2018-11-03 09:39:45,7, GSM1: <- +CMS ERROR: 350 2018-11-03 09:39:45,3, GSM1: The modem answer was not OK: +CMS ERROR: 350 2018-11-03 09:39:45,5, GSM1: Waiting 10 sec. before retrying
Has anybody some idea what i make wrong?
best regards Thorsten
|
|
#2 Sat Nov 03, 2018 17:34, 72 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Some questions:
Can you test sending with another SIM?
Can you send SMS with this SIM in your handset?
Can you receive SMS with this SIM?
|
|
#3 Mon May 27, 2019 12:57, 65 months ago.
|
Member
Registered: May 2019
Location: Bourges, France
|
Hello,
I have the same problem, recently, with orange it worked very well but since the passage at Bouygues Telecom I have this error, sim card works very well in a phone
-> 0011000C913360570593180000FF07F2B25CA1502800 2019-05-27 14:46:16,7, GSM1: Command is sent, waiting for the answer 2019-05-27 14:46:47,7, GSM1: <- +CMS ERROR: 500 (Unknown error) 2019-05-27 14:46:47,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
# Example smsd.conf. Read the manual for a description
devices = GSM1 logfile = /var/log/smsd/smsd.log loglevel = 7 user = smstools # 3.1.5 introduced smart logging # once your configuration is OK, set log level lower (5 is good in most cases) smart_logging = yes infofile = /run/smsd/smsd.working pidfile = /run/smsd/smsd.pid
[GSM1] device = /dev/ttyUSB0 incoming = yes pin = 0000
thx you
|
|
#4 Tue May 28, 2019 13:57, 65 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Please try without the leading zero in the phone number: 3306... --> 336...
If it still does not work, try with a national format: To: 06... To_TOA: National
|
|
#5 Wed May 29, 2019 12:11, 65 months ago.
|
Member
Registered: May 2019
Location: Bourges, France
|
Hello, thank you for your answer it works now after changing the 3306 in 336 good day
|