pcomora: After making the changes indicated it did not work, still the same error, I sent my smsd.conf and the words of the file. Log:
SMSD.CONF
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
autosplit = 3
[GSM1]
init = AT+CNMI=2,0,0,2,1
#init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1
device = /dev/com1
incoming = yes
#queues = OTHER
#pin = 1010
pin = ignore
#mode = new
smsc = 551481676710
baudrate = 9600
SMSD.LOG
2009-10-05 20:44:25,2, smsd: Smsd v3.1.5 started.
2009-10-05 20:44:25,2, smsd: Running as Administrador:Nenhum.
2009-10-05 20:44:25,7, smsd: Running startup_check (shell): /tmp/smsd_script.OjLRDd /tmp/smsd_data.OW7Y9b
2009-10-05 20:44:26,7, smsd: Done: startup_check (shell), execution time 1 sec., status: 0
2009-10-05 20:44:26,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2009-10-05 20:44:26,5, smsd: Outgoing file checker has started. PID: 3284.
2009-10-05 20:44:26,5, GSM1: Modem handler 0 has started. PID: 3120.
2009-10-05 20:44:26,5, GSM1: Using check_memory_method 1: CPMS is used.
2009-10-05 20:44:27,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/Documento1.txt
2009-10-05 20:44:27,6, GSM1: Sending SMS from to 0148146xxxx
2009-10-05 20:44:27,6, GSM1: Checking if modem is ready
2009-10-05 20:44:27,7, GSM1: -> AT
2009-10-05 20:44:27,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:27,7, GSM1: <- AT OK
2009-10-05 20:44:27,6, GSM1: Pre-initializing modem
2009-10-05 20:44:28,7, GSM1: -> ATE0+CMEE=1
2009-10-05 20:44:28,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:28,7, GSM1: <- ATE0+CMEE=1 OK
2009-10-05 20:44:28,6, GSM1: Initializing modem
2009-10-05 20:44:28,7, GSM1: -> AT+CNMI=2,0,0,2,1
2009-10-05 20:44:29,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:29,7, GSM1: <- OK
2009-10-05 20:44:29,7, GSM1: -> AT+CSQ
2009-10-05 20:44:30,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:30,7, GSM1: <- +CSQ: 16,99 OK
2009-10-05 20:44:30,6, GSM1: Checking if Modem is registered to the network
2009-10-05 20:44:30,7, GSM1: -> AT+CREG?
2009-10-05 20:44:30,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:31,7, GSM1: <- +CREG: 0,1 OK
2009-10-05 20:44:31,6, GSM1: Modem is registered to the network
2009-10-05 20:44:31,6, GSM1: Selecting PDU mode
2009-10-05 20:44:31,7, GSM1: -> AT+CMGF=0
2009-10-05 20:44:31,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:31,7, GSM1: <- OK
2009-10-05 20:44:31,6, GSM1: Changing SMSC
2009-10-05 20:44:32,7, GSM1: -> AT+CSCA="+551481676710"
2009-10-05 20:44:32,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:32,7, GSM1: <- OK
2009-10-05 20:44:33,7, GSM1: -> AT+CIMI
2009-10-05 20:44:33,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:33,7, GSM1: <- 72403111812xxxx OK
2009-10-05 20:44:33,7, GSM1: -> AT+CGSN
2009-10-05 20:44:34,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:34,7, GSM1: <- 35124700438xxxx OK
2009-10-05 20:44:34,5, GSM1: CGSN: 35124700438xxxx
2009-10-05 20:44:34,5, GSM1: IMSI: 72403111812xxxx
2009-10-05 20:44:34,6, GSM1: Checking if reading of messages is supported
2009-10-05 20:44:34,7, GSM1: -> AT+CPMS?
2009-10-05 20:44:34,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:35,7, GSM1: <- +CPMS: "MT",0,75,"MT",0,75,"MT",0,75 OK
2009-10-05 20:44:35,7, GSM1: -> AT+CMGS=67
2009-10-05 20:44:35,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:35,7, GSM1: <- >
2009-10-05 20:44:36,7, GSM1: -> PDU moved to Private block
2009-10-05 20:44:38,7, GSM1: Command is sent, waiting for the answer
2009-10-05 20:44:42,7, GSM1: <- +CMS ERROR: 38 (Network out of order)
2009-10-05 20:44:42,3, GSM1: The modem answer was not OK: +CMS ERROR: 38 (Network out of order)
2009-10-05 20:44:42,5, GSM1: Waiting 10 sec. before retrying
2009-10-05 20:44:47,2, smsd: Conflict with .LOCK file in the spooler: /var/spool/sms/outgoing/Documento1.txt /var/spool/sms/checked
2009-10-05 20:44:47,2, smsd: Fatal error: Cannot move /var/spool/sms/outgoing/Documento1.txt to /var/spool/sms/checked. Check file and dir permissions.
2009-10-05 20:44:47,2, smsd: Smsd mainprocess terminated abnormally. PID: 3284.
2009-10-05 20:44:47,4, GSM1: Sending SMS to 0148146xxxx failed
2009-10-05 20:44:47,6, GSM1: Moved file /var/spool/sms/checked/Documento1.txt to /var/spool/sms/failed/Documento1.txt
2009-10-05 20:44:47,2, GSM1: Modem handler 0 terminated. PID: 3120, was started 09-10-05 20:44:26.
PDU:
( PRIVATE BLOCK )
|