pras: Operating system name and version: Ubuntu 10.04
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Falcom Swing
Interface: serial
I try to sent an sms with this modem but without success...
Configuration
# Global configuration
devices = modem1
loglevel = 7
logfile = /var/log/sms/smstools.log
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
delaytime = 6
errorsleeptime = 12
blocktime = 180
autosplit = 3
receive_before_send = yes
# Modem configuration
# iTegno 3000 USB
[modem1]
init = AT+CMEE=1
device = /dev/ttyS1
incoming = yes
mode = new
#pin =
baudrate = 9600
rtscts = yes
report = yes
smsc = 30693597000
and log file
2010-11-02 21:16:02,2, smsd: Smsd v3.1.14 started.
2010-11-02 21:16:02,2, smsd: Running as root:root.
2010-11-02 21:16:02,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.JpsXru /tmp/smsd_data.E6QSY2
2010-11-02 21:16:02,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-11-02 21:16:02,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-11-02 21:16:02,5, smsd: Outgoing file checker has started. PID: 2978.
2010-11-02 21:16:02,7, smsd: All PID's: 2978,2980
2010-11-02 21:16:02,5, modem1: Modem handler 0 has started. PID: 2980.
2010-11-02 21:16:02,5, modem1: Using check_memory_method 1: CPMS is used.
2010-11-02 21:16:02,6, modem1: Checking device for incoming SMS
2010-11-02 21:16:02,6, modem1: Checking if modem is ready
2010-11-02 21:16:02,7, modem1: -> AT
2010-11-02 21:16:02,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:16:14,7, modem1: -> ^Z
2010-11-02 21:16:14,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:16:26,7, modem1: -> AT
2010-11-02 21:16:26,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:16:38,7, modem1: -> ^Z
2010-11-02 21:16:38,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:16:51,7, modem1: -> AT
2010-11-02 21:16:51,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:17:03,7, modem1: -> ^Z
2010-11-02 21:17:03,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:17:15,7, modem1: -> AT
2010-11-02 21:17:15,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:17:27,7, modem1: -> ^Z
2010-11-02 21:17:27,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:17:39,7, modem1: -> AT
2010-11-02 21:17:39,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:17:52,7, modem1: -> ^Z
2010-11-02 21:17:52,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:18:05,7, modem1: -> AT
2010-11-02 21:18:05,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:18:17,7, modem1: -> ^Z
2010-11-02 21:18:17,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:18:30,7, modem1: -> AT
2010-11-02 21:18:30,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:18:42,7, modem1: -> ^Z
2010-11-02 21:18:42,3, modem1: write_to_modem: error 5: Input/output error
2010-11-02 21:18:56,7, modem1: -> AT
2010-11-02 21:18:56,3, modem1: write_to_modem: error 5: Input/output error
Any suggestion please?
Regards
Christos
|
pras: Thank you for your prompt answer!
I will read the examples and give it a try!
Regards
|
pras: Operating system name and version: Ubuntu 10.04
Version of smsd: 3.1.11
Smsd installed from: sources / package repository / from elsewhere...
Name and model of a modem / phone:
Interface: serial / USB / some adapter...
Hi all!
I want to configure server when receives an sms, create a url with a get command in order to send some data to another server.
Example:
Receives sms....
Create url (with get command like this "GET /test/test.php?filed1=10&filed2=20 HTTP/1.1
Host: www.testserver.com
This way when I receive an sms with this text:field1=10 field2=20 the server should send the data to another server.
Is this possible?
Thank you in advance! :)
|