Operating system name and version: Debian 6
Version of smsd: 3.1.14
Smsd installed from: package repository
Name and model of a modem / phone: GSM modem Siemens TC65iT
Interface: serial

My modem receive messages fine, but when sending I get a ERROR 535 (Tried with 2 different SIM cards). Been trying to find more information and manufacturer specific information about this error since, I believe that errors above 515 are manufacturer specific.


2012-04-26 16:54:29,5, smsd: Moved file /var/spool/sms/outgoing/thomas to /var/spool/sms/checked
2012-04-26 16:54:29,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/thomas
2012-04-26 16:54:29,6, GSM1: Sending SMS from to 455251****
2012-04-26 16:54:29,6, GSM1: Checking if modem is ready
2012-04-26 16:54:30,7, GSM1: -> AT
2012-04-26 16:54:30,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:30,7, GSM1: <- OK
2012-04-26 16:54:30,6, GSM1: Pre-initializing modem
2012-04-26 16:54:30,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2012-04-26 16:54:30,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:31,7, GSM1: <- OK
2012-04-26 16:54:31,6, GSM1: Checking if modem needs PIN
2012-04-26 16:54:31,7, GSM1: -> AT+CPIN?
2012-04-26 16:54:31,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:31,7, GSM1: <- +CPIN: READY OK
2012-04-26 16:54:31,7, GSM1: -> AT+CSQ
2012-04-26 16:54:31,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:32,7, GSM1: <- +CSQ: 16,99 OK
2012-04-26 16:54:32,6, GSM1: Signal Strength Indicator: (16,99) -81 dBm (Good)
2012-04-26 16:54:32,6, GSM1: Checking if Modem is registered to the network
2012-04-26 16:54:32,7, GSM1: -> AT+CREG?
2012-04-26 16:54:32,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:32,7, GSM1: <- +CREG: 2,1,"032B","0313" OK
2012-04-26 16:54:32,6, GSM1: Modem is registered to the network
2012-04-26 16:54:32,6, GSM1: Selecting PDU mode
2012-04-26 16:54:32,7, GSM1: -> AT+CMGF=0
2012-04-26 16:54:32,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:33,7, GSM1: <- OK
2012-04-26 16:54:33,6, GSM1: Changing SMSC
2012-04-26 16:54:33,7, GSM1: -> AT+CSCA="+453063****"
2012-04-26 16:54:33,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:33,7, GSM1: <- OK
2012-04-26 16:54:33,7, GSM1: -> AT+CMGS=30
2012-04-26 16:54:33,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:34,7, GSM1: <- >
2012-04-26 16:54:34,7, GSM1: -> 0011000A9154251525250000FF13D4F29C9E769F4131D98C06EA301E9C8503.
2012-04-26 16:54:34,7, GSM1: Command is sent, waiting for the answer
2012-04-26 16:54:37,7, GSM1: <- +CMS ERROR: 535
2012-04-26 16:54:37,3, GSM1: The modem answer was not OK: +CMS ERROR: 535
2012-04-26 16:54:37,5, GSM1: Waiting 10 sec. before retrying


/etc/smsd.conf
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
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
stats = /var/log/smstools/smsd_stats
loglevel = 7
receive_before_send = no
autosplit = 3
eventhandler = /usr/local/sbin/sms-gateway.sh

[GSM1]
#init =
device = /dev/ttyS0
incoming = true
outgoing = true
pin = ****
signal_quality_ber_ignore = yes
smsc = 453063****
mode = new

Thanks in advance,
Thomas