I'm very glad to be here and I have a small question, if you can help me with an answer, please, please.
I've searched all over (including in this community) about this CMS ERROR: 500 (Unknown error), but I can't solve it out..
The problem is I have 2 SIM cards. One of them is a subscription (monthly paid) at the local GSM network provider (Orange if it is permitted to say) and the other one is a prepaid SIM (at Orange as well). The thing is that I've managed to send SMS's with the first one flawless, but with the very same settings (including the modifications for /dev/ttySxx and pin for there are the differences), the second one (prepaid) does not work at all... The prepaid if I insert it into phone, it has signal, it sends SMS, it initiates and receives calls, has credit, etc., but in the modem it won't send sms with smstools3 as I can with the other SIM.
The configuration for my smsd.conf is:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
spool_directory_order = yes
delaytime_mainprocess = 1
delaytime = 5
os_cygwin = yes
[GSM1]
device = /dev/ttyS9
incoming = yes
pin = 0000
This config sends with one SIM and with the prepaid SIM it doesn't...
It gives the following error:
..
2020-07-20 15:36:15,7, GSM1: Command is sent, waiting for the answer. (60)
2020-07-20 15:36:42,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2020-07-20 15:36:42,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2020-07-20 15:36:42,4, GSM1: Sending SMS to 0728xxxxxx failed, trying time 108 sec. Retries: 2.
2020-07-20 15:36:42,6, GSM1: Deleted file /var/spool/sms/checked/df7b2cf3-0c22-44a5-8924-d4f305e79ee4
..
In all my testing, I've tried this configuration and as well as the first config, the prepaid SIM does the same error:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
spool_directory_order = yes
delaytime_mainprocess = 1
delaytime = 5
os_cygwin = yes
[GSM1]
device = /dev/ttyS9
check_network = no
incoming = yes
pin = 0001
outgoing = yes
memory_start = 0
#baudrate = 9600
report = yes
rtscts = yes
read_timeout = 5
#init = AT+CMEE=1
#init2 = AT+CPMS="SM"
signal_quality_ber_ignore = yes
#init = AT+CPMS="SM","SM","SM"
#init = AT+CPMS="SM","ME","SM"
#init = AT+CMGF=1
smsc = 40744946000
report_device_details = yes
Almost all the combinations with these above return an error after the message is at the point of sending:
Could you please help me with an advice, what shuld I do?
Kind Regards,
Petru