Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Modem Huawei E160
Interface: USB
Sorry for my english, if it is not so good.
I write an application that receive a SMS, process it (update a MySQL DB, etc.) and send a response. The reception, process and response message creation is ok (the eventhandler put a file in outgoing folder) but the modem not send it an report +CMS ERROR: 500 (Unknown error)
Configuration file (smsd.conf) is:
devices = GSM0
outgoing = /var/spool/sms/outgoing
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
logfile = /var/log/smsd.log
loglevel = 7
delaytime = 10
errorsleeptime = 10
blocktime = 3600
executable_check = no
eventhandler = /usr/bin/php -f /var/smstools3/scripts/eventhandler
receive_before_send = no
autosplit = 3
date_filename = 1
regular_run = /var/smstools3/scripts/regular_run
regular_run_interval = 300
hangup_incoming_call = yes
[queues]
OTHER = /var/spool/sms/other
[provider]
OTHER = 0,1,2,3,4,5,6,7,8,9
[GSM0]
init = AT^BOOT=0,0
init = AT+CMGF=1
init2= AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB0
incoming = yes
queues = OTHER
mode = new
smsc = 17866009938
baudrate = 115200
rtscts = yes
cs_convert = yes
report = no
memory_start = 0
check_memory_method=2
outgoing = /var/spool/sms/outgoing
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
logfile = /var/log/smsd.log
loglevel = 7
delaytime = 10
errorsleeptime = 10
blocktime = 3600
executable_check = no
eventhandler = /usr/bin/php -f /var/smstools3/scripts/eventhandler
receive_before_send = no
autosplit = 3
date_filename = 1
regular_run = /var/smstools3/scripts/regular_run
regular_run_interval = 300
hangup_incoming_call = yes
[queues]
OTHER = /var/spool/sms/other
[provider]
OTHER = 0,1,2,3,4,5,6,7,8,9
[GSM0]
init = AT^BOOT=0,0
init = AT+CMGF=1
init2= AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB0
incoming = yes
queues = OTHER
mode = new
smsc = 17866009938
baudrate = 115200
rtscts = yes
cs_convert = yes
report = no
memory_start = 0
check_memory_method=2
SMS generated as response:
To: 13054553323
Flash: yes
Modem: GSM0
IMSI: 310410407232629
Fail_reason: +CMS ERROR: 500 (Unknown error)
Failed: 11-05-11 15:14:08
PDU: 0011000B917168069039F70010FF13D2F2393DA7CBDFA0323E4D7FCFDF2E970B
Registro exitoso...
Log portion at modem start:
Log portion at send error:
Any idea please?
Thank you!!!