I would like to get some advice in using a Siemens M20 modem, my details are:
Operating system name and version: SUSE Linux Enterprise Server 11 Patchlevel 1
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Siemens M20
Interface: USB
My modem is currently configured like this:
Quote[GSM1]
device = /dev/ttyUSB0
incoming = yes
pre_init = yes
init = AT+CBC;+CSQ
pin = ****
smsc = 49173*******
baudrate = 19200
report = yes
When trying to send an SMS, the following error log output occurs:
Quote2011-06-15 12:40:57,5, smsd: Moved file /var/spool/sms/outgoing/send_XJaFEI to /var/spool/sms/DEFAULT
2011-06-15 12:40:57,6, GSM1: I have to send 1 short message for /var/spool/sms/DEFAULT/send_XJaFEI
2011-06-15 12:40:57,6, GSM1: Sending SMS from to 49172*******
2011-06-15 12:40:57,6, GSM1: Checking if modem is ready
2011-06-15 12:40:57,7, GSM1: -> AT
2011-06-15 12:40:57,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:40:57,7, GSM1: <- OK
2011-06-15 12:40:57,6, GSM1: Pre-initializing modem
2011-06-15 12:40:57,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-06-15 12:40:57,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:40:58,7, GSM1: <- OK
2011-06-15 12:40:58,6, GSM1: Checking if modem needs PIN
2011-06-15 12:40:58,7, GSM1: -> AT+CPIN?
2011-06-15 12:40:58,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:40:58,7, GSM1: <- +CPIN: READY OK
2011-06-15 12:40:58,6, GSM1: Initializing modem
2011-06-15 12:40:58,7, GSM1: -> AT+CBC;+CSQ
2011-06-15 12:40:58,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:40:59,7, GSM1: <- +CBC: 1,100 +CSQ: 22,0 OK
2011-06-15 12:40:59,7, GSM1: -> AT+CSQ
2011-06-15 12:40:59,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:00,7, GSM1: <- +CSQ: 22,0 OK
2011-06-15 12:41:00,6, GSM1: Signal Strength Indicator: (22,0) -69 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-06-15 12:41:00,6, GSM1: Checking if Modem is registered to the network
2011-06-15 12:41:00,7, GSM1: -> AT+CREG?
2011-06-15 12:41:00,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:00,7, GSM1: <- +CREG: 2,1,"019D","B484" OK
2011-06-15 12:41:00,6, GSM1: Modem is registered to the network
2011-06-15 12:41:00,6, GSM1: Selecting PDU mode
2011-06-15 12:41:01,7, GSM1: -> AT+CMGF=0
2011-06-15 12:41:01,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:01,7, GSM1: <- OK
2011-06-15 12:41:01,6, GSM1: Changing SMSC
2011-06-15 12:41:01,7, GSM1: -> AT+CSCA="+49173*******"
2011-06-15 12:41:01,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:02,7, GSM1: <- OK
2011-06-15 12:41:02,7, GSM1: -> AT+CMGS=23
2011-06-15 12:41:02,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:02,7, GSM1: <- >
2011-06-15 12:41:03,7, GSM1: -> 0031000C919471521140650000FF0A6276180D12B3EB6231.
2011-06-15 12:41:03,7, GSM1: Command is sent, waiting for the answer
2011-06-15 12:41:07,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2011-06-15 12:41:07,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2011-06-15 12:41:07,5, GSM1: Waiting 10 sec. before retrying
Does anyone have a hint on this "error 500" thing?
« Last edit by frank42 on Wed Jun 15, 2011 11:05, 164 months ago. »