|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Tue Jul 01, 2025 13:43 |
Page: 1
Keywords: Mode: All keywords (AND) |
Sun Mar 07, 2010 16:30
|
sinofemp: Thank you very much for the reply.
I'll try that.
:)
|
Sun Mar 07, 2010 15:00
|
sinofemp: I tried both settings but its not working.
Anyway thanks for your reply, Now I'm using another device to send SMS.
I have 1 more question. I want to reply automatically whenever the gateway receives a SMS. how to do that?
I mean is there a way using PHP?? i'm using PHP and mysql. When the gateway get a SMS in a specific format, i want to filter out specific words from the SMS and search the database, then send the result to the user.
Do i have to write all code for this in shell script? (Inside the eventhandler?) or any other method like in PHP or something like that?
Please guide me..
Thank you.
|
Sun Mar 07, 2010 15:00
|
sinofemp: I have 1 more question. I want to reply automatically whenever the gateway receives a SMS. how to do that?
I mean is there a way using PHP?? i'm using PHP and mysql. When the gateway get a SMS in a specific format, i want to filter out specific words from the SMS and search the database, then send the result to the user.
Do i have to write all code for this in shell script? (Inside the eventhandler?) or any other method like in PHP or something like that?
Please guide me..
Thank you.
|
Sun Mar 07, 2010 12:24
|
sinofemp: I tried that settings, the log is given below.
2010-03-07 17:44:10,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/out.9785
2010-03-07 17:44:10,6, GSM1: Sending SMS from to 919893347151
2010-03-07 17:44:10,6, GSM1: Checking if modem is ready
2010-03-07 17:44:10,7, GSM1: -> AT
2010-03-07 17:44:10,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:44:11,7, GSM1: <- AT OK
2010-03-07 17:44:11,6, GSM1: Initializing modem
2010-03-07 17:44:11,7, GSM1: -> ATE1+CMEE=1
2010-03-07 17:44:11,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:44:11,7, GSM1: <- ATE1+CMEE=1 OK
2010-03-07 17:44:11,7, GSM1: -> AT+CSQ
2010-03-07 17:44:11,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:44:12,7, GSM1: <- AT+CSQ +CSQ: 18,99 OK
2010-03-07 17:44:12,6, GSM1: Checking if Modem is registered to the network
2010-03-07 17:44:12,7, GSM1: -> AT+CREG?
2010-03-07 17:44:12,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:44:12,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-03-07 17:44:12,6, GSM1: Modem is registered to the network
2010-03-07 17:44:12,6, GSM1: Selecting PDU mode
2010-03-07 17:44:12,7, GSM1: -> AT+CMGF=0
2010-03-07 17:44:12,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:44:13,7, GSM1: <- AT+CMGF=0 OK
2010-03-07 17:44:13,6, GSM1: Changing SMSC
2010-03-07 17:44:13,7, GSM1: -> AT+CSCA="+919032055002"
2010-03-07 17:44:13,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:44:13,7, GSM1: <- AT+CSCA="+919032055002" OK
2010-03-07 17:44:13,7, GSM1: -> AT+CMGS=61
2010-03-07 17:44:13,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:44:14,7, GSM1: <- AT+CMGS=61 >
2010-03-07 17:44:14,7, GSM1: -> 0031000C911989394317150000FF35C834689E76BFCDE5369C05CABEEB7290B52C4F9BD3E3303DFD7683866F7219949E8372375C4DD16A095BC4A7F32905
2010-03-07 17:44:14,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:45:14,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-03-07 17:45:14,7, GSM1: <- 0031000C911989394317150000FF35C834689E76BFCDE5369C05CABEEB7290B52C4F9BD3E3303DFD7683866F7219949E8372375C4DD16A095BC4A7F32905
2010-03-07 17:45:14,3, GSM1: The modem answer was not OK: 0031000C911989394317150000FF35C834689E76BFCDE5369C05CABEEB7290B52C4F9BD3E3303DFD7683866F7219949E8372375C4DD16A095BC4A7F32905
2010-03-07 17:45:14,5, GSM1: Waiting 12 sec. before retrying
2010-03-07 17:45:26,6, GSM1: Checking if modem is ready
2010-03-07 17:45:26,7, GSM1: -> AT
2010-03-07 17:45:26,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:45:32,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2010-03-07 17:45:32,7, GSM1: <- AT
2010-03-07 17:45:32,7, GSM1: ->
2010-03-07 17:45:32,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:45:37,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2010-03-07 17:45:37,7, GSM1: <-
2010-03-07 17:45:37,7, GSM1: -> AT
2010-03-07 17:45:37,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:45:42,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2010-03-07 17:45:42,7, GSM1: <- AT
2010-03-07 17:45:42,7, GSM1: ->
2010-03-07 17:45:42,7, GSM1: Command is sent, waiting for the answer
2010-03-07 17:45:47,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 5.
same error, :( any other solution??
if i have a bad cable how can i receive SMS? there is no problem with receiving SMS
|
Sun Mar 07, 2010 11:42
|
sinofemp: I tried without smsc setting the same error occurs.
I have checked the smsc setting on the phone and it is same,
and yes i can send SMS using my phone.
please help..
|
Sun Mar 07, 2010 06:32
|
sinofemp: Thanks for the reply, the problem was the communication with my device.
Now i brought a Samsung SGH E250 and i have some problem with sending SMS. I can receive SMS but when i try to send SMS some error occurs. The configuration and log are given below please give a solution.
# Global configuration
devices = GSM1
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
eventhandler = /var/spool/sms/smsevent/a.sh
delaytime = 6
errorsleeptime = 12
blocktime = 180
autosplit = 3
receive_before_send = no
[GSM1]
#init =
smsc = 919032055002
device = /dev/ttyACM0
incoming = yes
report = yes
#pin = 5028
baudrate = 115200
2010-03-07 11:43:14,2, smsd: Smsd v3.1.5 started.
2010-03-07 11:43:14,2, smsd: Running as root:root.
2010-03-07 11:43:14,7, smsd: Running startup_check (shell): /tmp/smsd_script.w9AdKa /tmp/smsd_data.kj6FnI
2010-03-07 11:43:14,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0
2010-03-07 11:43:14,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-03-07 11:43:14,5, smsd: Outgoing file checker has started. PID: 2787.
2010-03-07 11:43:14,5, GSM1: Modem handler 0 has started. PID: 2788.
2010-03-07 11:43:14,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-03-07 11:43:14,6, GSM1: Checking device for incoming SMS
2010-03-07 11:43:14,6, GSM1: Checking if modem is ready
2010-03-07 11:43:14,7, GSM1: -> AT
2010-03-07 11:43:14,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:15,7, GSM1: <- AT OK
2010-03-07 11:43:15,6, GSM1: Pre-initializing modem
2010-03-07 11:43:15,7, GSM1: -> ATE0+CMEE=1
2010-03-07 11:43:15,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:15,7, GSM1: <- ATE0+CMEE=1 OK
2010-03-07 11:43:15,6, GSM1: Checking if modem needs PIN
2010-03-07 11:43:15,7, GSM1: -> AT+CPIN?
2010-03-07 11:43:15,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:16,7, GSM1: <- +CPIN: READY OK
2010-03-07 11:43:16,7, GSM1: -> AT+CSQ
2010-03-07 11:43:16,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:16,7, GSM1: <- +CSQ: 23,99 OK
2010-03-07 11:43:16,6, GSM1: Checking if Modem is registered to the network
2010-03-07 11:43:16,7, GSM1: -> AT+CREG?
2010-03-07 11:43:16,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:17,7, GSM1: <- +CREG: 0,1 OK
2010-03-07 11:43:17,6, GSM1: Modem is registered to the network
2010-03-07 11:43:17,6, GSM1: Selecting PDU mode
2010-03-07 11:43:17,7, GSM1: -> AT+CMGF=0
2010-03-07 11:43:17,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:17,7, GSM1: <- OK
2010-03-07 11:43:17,6, GSM1: Changing SMSC
2010-03-07 11:43:17,7, GSM1: -> AT+CSCA="+919032055002"
2010-03-07 11:43:18,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:18,7, GSM1: <- OK
2010-03-07 11:43:18,7, GSM1: -> AT+CIMI
2010-03-07 11:43:18,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:18,7, GSM1: <- 405038000834546 OK
2010-03-07 11:43:19,7, GSM1: -> AT+CGSN
2010-03-07 11:43:19,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:19,7, GSM1: <- 359688 01 177323 0 OK
2010-03-07 11:43:19,5, GSM1: CGSN: 359688 01 177323 0
2010-03-07 11:43:19,5, GSM1: IMSI: 405038000834546
2010-03-07 11:43:19,6, GSM1: Checking if reading of messages is supported
2010-03-07 11:43:19,7, GSM1: -> AT+CPMS?
2010-03-07 11:43:19,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:19,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2010-03-07 11:43:19,6, GSM1: Checking memory size
2010-03-07 11:43:20,7, GSM1: -> AT+CPMS?
2010-03-07 11:43:20,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:43:20,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2010-03-07 11:43:20,6, GSM1: Used memory is 0 of 25
2010-03-07 11:43:20,6, GSM1: No SMS received
2010-03-07 11:47:17,6, GSM1: Checking device for incoming SMS
2010-03-07 11:47:17,6, GSM1: Checking if modem is ready
2010-03-07 11:47:17,7, GSM1: -> AT
2010-03-07 11:47:17,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:18,7, GSM1: <- OK
2010-03-07 11:47:18,6, GSM1: Pre-initializing modem
2010-03-07 11:47:18,7, GSM1: -> ATE0+CMEE=1
2010-03-07 11:47:18,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:18,7, GSM1: <- OK
2010-03-07 11:47:18,7, GSM1: -> AT+CSQ
2010-03-07 11:47:18,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:19,7, GSM1: <- +CSQ: 23,99 OK
2010-03-07 11:47:19,6, GSM1: Checking if Modem is registered to the network
2010-03-07 11:47:19,7, GSM1: -> AT+CREG?
2010-03-07 11:47:19,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:19,7, GSM1: <- +CREG: 0,1 OK
2010-03-07 11:47:19,6, GSM1: Modem is registered to the network
2010-03-07 11:47:19,6, GSM1: Selecting PDU mode
2010-03-07 11:47:20,7, GSM1: -> AT+CMGF=0
2010-03-07 11:47:20,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:20,7, GSM1: <- OK
2010-03-07 11:47:20,6, GSM1: Changing SMSC
2010-03-07 11:47:20,7, GSM1: -> AT+CSCA="+919032055002"
2010-03-07 11:47:20,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:20,7, GSM1: <- OK
2010-03-07 11:47:20,6, GSM1: Checking memory size
2010-03-07 11:47:21,7, GSM1: -> AT+CPMS?
2010-03-07 11:47:21,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:21,7, GSM1: <- +CPMS: "SM",1,25,"SM",1,25,"SM",1,25 OK
2010-03-07 11:47:21,6, GSM1: Used memory is 1 of 25
2010-03-07 11:47:21,6, GSM1: Trying to get stored message 1
2010-03-07 11:47:21,7, GSM1: -> AT+CMGR=1
2010-03-07 11:47:21,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:21,7, GSM1: <- +CMGR: 0,".",46 0791192902570580040C911989394317150000013070112462221EE530FD6C3E93152DC5B4ECA683ECE930E81ACCCAA6CDA96BF86C02 OK
2010-03-07 11:47:21,5, GSM1: SMS received, From: 919893347151
2010-03-07 11:47:21,6, GSM1: Wrote an incoming message file: /var/spool/sms/incoming/GSM1.T4LkL9
2010-03-07 11:47:21,7, GSM1: Running eventhandler: /var/spool/sms/smsevent/a.sh RECEIVED /var/spool/sms/incoming/GSM1.T4LkL9
2010-03-07 11:47:22,7, GSM1: Done: eventhandler, execution time 1 sec., status: 0
2010-03-07 11:47:22,6, GSM1: Deleting message 1
2010-03-07 11:47:22,7, GSM1: -> AT+CMGD=1
2010-03-07 11:47:22,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:22,7, GSM1: <- OK
2010-03-07 11:47:22,6, GSM1: Checking device for incoming SMS
2010-03-07 11:47:22,6, GSM1: Checking memory size
2010-03-07 11:47:22,7, GSM1: -> AT+CPMS?
2010-03-07 11:47:22,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:47:23,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2010-03-07 11:47:23,6, GSM1: Used memory is 0 of 25
2010-03-07 11:47:23,6, GSM1: No SMS received
2010-03-07 11:48:22,5, smsd: Moved file /var/spool/sms/outgoing/out.8353 to /var/spool/sms/checked
2010-03-07 11:48:23,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/out.8353
2010-03-07 11:48:23,6, GSM1: Sending SMS from to 91989xxxxxxx
2010-03-07 11:48:23,6, GSM1: Checking if modem is ready
2010-03-07 11:48:23,7, GSM1: -> AT
2010-03-07 11:48:23,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:48:23,7, GSM1: <- OK
2010-03-07 11:48:23,6, GSM1: Pre-initializing modem
2010-03-07 11:48:23,7, GSM1: -> ATE0+CMEE=1
2010-03-07 11:48:23,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:48:23,7, GSM1: <- OK
2010-03-07 11:48:24,7, GSM1: -> AT+CSQ
2010-03-07 11:48:24,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:48:24,7, GSM1: <- +CSQ: 23,99 OK
2010-03-07 11:48:24,6, GSM1: Checking if Modem is registered to the network
2010-03-07 11:48:24,7, GSM1: -> AT+CREG?
2010-03-07 11:48:24,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:48:25,7, GSM1: <- +CREG: 0,1 OK
2010-03-07 11:48:25,6, GSM1: Modem is registered to the network
2010-03-07 11:48:25,6, GSM1: Selecting PDU mode
2010-03-07 11:48:25,7, GSM1: -> AT+CMGF=0
2010-03-07 11:48:25,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:48:25,7, GSM1: <- OK
2010-03-07 11:48:25,6, GSM1: Changing SMSC
2010-03-07 11:48:25,7, GSM1: -> AT+CSCA="+919032055002"
2010-03-07 11:48:25,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:48:26,7, GSM1: <- OK
2010-03-07 11:48:26,7, GSM1: -> AT+CMGS=61
2010-03-07 11:48:26,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:48:26,7, GSM1: <- >
2010-03-07 11:48:26,7, GSM1: -> 0031000C911989394317150000FF35C834689E76BFCDE5369C05CABEEB7290B52C4F9BD3E3303DFD7683866F7219949E8370B3DA4CD16A095BC4A7F32905.
2010-03-07 11:48:27,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:49:27,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-03-07 11:49:27,7, GSM1: <-
2010-03-07 11:49:27,3, GSM1: The modem did not answer (expected OK).
2010-03-07 11:49:27,5, GSM1: Waiting 12 sec. before retrying
2010-03-07 11:49:39,6, GSM1: Checking if modem is ready
2010-03-07 11:49:39,7, GSM1: -> AT
2010-03-07 11:49:39,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:49:44,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2010-03-07 11:49:44,7, GSM1: <-
2010-03-07 11:49:45,7, GSM1: -> .
2010-03-07 11:49:45,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:49:50,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2010-03-07 11:49:50,7, GSM1: <-
2010-03-07 11:49:50,7, GSM1: -> AT
2010-03-07 11:49:50,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:49:55,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2010-03-07 11:49:55,7, GSM1: <-
2010-03-07 11:49:55,7, GSM1: -> .
2010-03-07 11:49:55,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:00,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 5.
2010-03-07 11:50:00,7, GSM1: <-
2010-03-07 11:50:00,7, GSM1: -> AT
2010-03-07 11:50:00,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:05,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 6.
2010-03-07 11:50:05,7, GSM1: <-
2010-03-07 11:50:05,7, GSM1: -> .
2010-03-07 11:50:05,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:10,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 7.
2010-03-07 11:50:10,7, GSM1: <-
2010-03-07 11:50:11,7, GSM1: -> AT
2010-03-07 11:50:11,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:16,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 8.
2010-03-07 11:50:16,7, GSM1: <-
2010-03-07 11:50:16,7, GSM1: -> .
2010-03-07 11:50:16,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:21,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 9.
2010-03-07 11:50:21,7, GSM1: <-
2010-03-07 11:50:21,7, GSM1: -> AT
2010-03-07 11:50:21,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:26,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 10.
2010-03-07 11:50:26,7, GSM1: <-
2010-03-07 11:50:26,7, GSM1: -> .
2010-03-07 11:50:26,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:31,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 11.
2010-03-07 11:50:31,7, GSM1: <-
2010-03-07 11:50:32,7, GSM1: -> AT
2010-03-07 11:50:32,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:37,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 12.
2010-03-07 11:50:37,7, GSM1: <-
2010-03-07 11:50:37,7, GSM1: -> .
2010-03-07 11:50:37,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:42,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 13.
2010-03-07 11:50:42,7, GSM1: <-
2010-03-07 11:50:42,7, GSM1: -> AT
2010-03-07 11:50:42,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:47,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 14.
2010-03-07 11:50:47,7, GSM1: <-
2010-03-07 11:50:47,7, GSM1: -> .
2010-03-07 11:50:47,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:52,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 15.
2010-03-07 11:50:52,7, GSM1: <-
2010-03-07 11:50:53,7, GSM1: -> AT
2010-03-07 11:50:53,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:50:58,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 16.
2010-03-07 11:50:58,7, GSM1: <-
2010-03-07 11:50:58,7, GSM1: -> .
2010-03-07 11:50:58,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:03,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 17.
2010-03-07 11:51:03,7, GSM1: <-
2010-03-07 11:51:03,7, GSM1: -> AT
2010-03-07 11:51:03,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:08,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 18.
2010-03-07 11:51:08,7, GSM1: <-
2010-03-07 11:51:08,7, GSM1: -> .
2010-03-07 11:51:08,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:13,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 19.
2010-03-07 11:51:13,7, GSM1: <-
2010-03-07 11:51:13,7, GSM1: -> AT
2010-03-07 11:51:14,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:19,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 20.
2010-03-07 11:51:19,7, GSM1: <-
2010-03-07 11:51:19,7, GSM1: -> .
2010-03-07 11:51:19,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:24,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 21.
2010-03-07 11:51:24,7, GSM1: <-
2010-03-07 11:51:24,7, GSM1: -> AT
2010-03-07 11:51:24,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:29,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 22.
2010-03-07 11:51:29,7, GSM1: <-
2010-03-07 11:51:29,7, GSM1: -> .
2010-03-07 11:51:29,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:34,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 23.
2010-03-07 11:51:34,7, GSM1: <-
2010-03-07 11:51:34,3, GSM1: Modem is not ready to answer commands (Timeouts: 23)
2010-03-07 11:51:34,4, GSM1: Sending SMS to 91989xxxxxxx failed
2010-03-07 11:51:34,6, GSM1: Moved file /var/spool/sms/checked/out.8353 to /var/spool/sms/failed/out.8353
2010-03-07 11:51:34,7, GSM1: Running eventhandler: /var/spool/sms/smsevent/a.sh FAILED /var/spool/sms/failed/out.8353
2010-03-07 11:51:34,7, GSM1: Done: eventhandler, execution time 0 sec., status: 0
2010-03-07 11:51:34,6, GSM1: Checking device for incoming SMS
2010-03-07 11:51:34,6, GSM1: Checking if modem is ready
2010-03-07 11:51:35,7, GSM1: -> AT
2010-03-07 11:51:35,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:40,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 24.
2010-03-07 11:51:40,7, GSM1: <-
2010-03-07 11:51:40,7, GSM1: -> .
2010-03-07 11:51:40,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:45,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 25.
2010-03-07 11:51:45,7, GSM1: <-
2010-03-07 11:51:45,7, GSM1: -> AT
2010-03-07 11:51:45,7, GSM1: Command is sent, waiting for the answer
2010-03-07 11:51:50,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 26.
Thank You.
|
Mon Mar 01, 2010 11:34
|
sinofemp: Operating system name and version: Ubuntu 9.10- the Karmic Koala
Version of smsd: 3.1.5
Smsd installed from: sources
Name and model of a modem / phone: NOKIA 1110
Interface:USB (CA-45 datacable)
Hi all,
First of all thank you for developing this amazing product.
I'm trying to develop an sms gateway for my college project, and i found sms server tools3.
Initially i was using a S60 phone as modem, but later i came to know that i cant receive sms using that.
i want to develop a two way messaging service for my project.
Now i got one Nokia 1110 and want to set-up an sms gateway using that. I bought a CA-45 data cable too for the USB connectivity.
my configuration and logfile are given below, i'm not sure whether the configuration is correct or not, but the port is working fine(/dev/ttyUSB0).
smsd.config
# Global configuration
devices = GSM1
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
[GSM1]
#init =
device = /dev/ttyUSB0
incoming = yes
report = yes
#pin =
baudrate = 115200
log
2010-03-01 16:41:36,2, smsd: Smsd v3.1.5 started.
2010-03-01 16:41:36,2, smsd: Running as root:root.
2010-03-01 16:41:36,7, smsd: Running startup_check (shell): /tmp/smsd_script.4dGyWo /tmp/smsd_data.neBvi4
2010-03-01 16:41:36,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0
2010-03-01 16:41:36,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-03-01 16:41:36,5, GSM1: Modem handler 0 has started. PID: 6375.
2010-03-01 16:41:36,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-03-01 16:41:36,6, GSM1: Checking device for incoming SMS
2010-03-01 16:41:36,6, GSM1: Checking if modem is ready
2010-03-01 16:41:36,5, smsd: Outgoing file checker has started. PID: 6374.
2010-03-01 16:41:37,7, GSM1: -> AT
2010-03-01 16:41:37,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:41:42,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-03-01 16:41:42,7, GSM1: <-
2010-03-01 16:41:42,7, GSM1: -> .
2010-03-01 16:41:42,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:41:47,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2010-03-01 16:41:47,7, GSM1: <-
2010-03-01 16:41:47,7, GSM1: -> AT
2010-03-01 16:41:47,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:41:52,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2010-03-01 16:41:52,7, GSM1: <-
2010-03-01 16:41:52,7, GSM1: -> .
2010-03-01 16:41:52,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:41:57,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2010-03-01 16:41:57,7, GSM1: <- ÕUU
2010-03-01 16:41:58,7, GSM1: -> AT
2010-03-01 16:41:58,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:03,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 5.
2010-03-01 16:42:03,7, GSM1: <-
2010-03-01 16:42:03,7, GSM1: -> .
2010-03-01 16:42:03,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:08,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 6.
2010-03-01 16:42:08,7, GSM1: <- €ÕWU
2010-03-01 16:42:08,7, GSM1: -> AT
2010-03-01 16:42:08,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:13,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 7.
2010-03-01 16:42:13,7, GSM1: <-
2010-03-01 16:42:13,7, GSM1: -> .
2010-03-01 16:42:13,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:18,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 8.
2010-03-01 16:42:18,7, GSM1: <-
2010-03-01 16:42:18,7, GSM1: -> AT
2010-03-01 16:42:18,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:24,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 9.
2010-03-01 16:42:24,7, GSM1: <- ªÿU
2010-03-01 16:42:24,7, GSM1: -> .
2010-03-01 16:42:24,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:29,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 10.
2010-03-01 16:42:29,7, GSM1: <-
2010-03-01 16:42:29,7, GSM1: -> AT
2010-03-01 16:42:29,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:34,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 11.
2010-03-01 16:42:34,7, GSM1: <-
2010-03-01 16:42:34,7, GSM1: -> .
2010-03-01 16:42:34,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:39,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 12.
2010-03-01 16:42:39,7, GSM1: <- HÕwU
2010-03-01 16:42:40,7, GSM1: -> AT
2010-03-01 16:42:40,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:45,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 13.
2010-03-01 16:42:45,7, GSM1: <- UW
2010-03-01 16:42:45,7, GSM1: -> .
2010-03-01 16:42:45,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:50,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 14.
2010-03-01 16:42:50,7, GSM1: <-
2010-03-01 16:42:50,7, GSM1: -> AT
2010-03-01 16:42:50,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:42:55,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 15.
2010-03-01 16:42:55,7, GSM1: <-
2010-03-01 16:42:55,7, GSM1: -> .
2010-03-01 16:42:55,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:00,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 16.
2010-03-01 16:43:00,7, GSM1: <-
2010-03-01 16:43:01,7, GSM1: -> AT
2010-03-01 16:43:01,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:06,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 17.
2010-03-01 16:43:06,7, GSM1: <-
2010-03-01 16:43:06,7, GSM1: -> .
2010-03-01 16:43:06,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:11,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 18.
2010-03-01 16:43:11,7, GSM1: <-
2010-03-01 16:43:11,7, GSM1: -> AT
2010-03-01 16:43:11,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:16,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 19.
2010-03-01 16:43:16,7, GSM1: <- TõU
2010-03-01 16:43:16,7, GSM1: -> .
2010-03-01 16:43:16,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:22,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 20.
2010-03-01 16:43:22,7, GSM1: <-
2010-03-01 16:43:22,7, GSM1: -> AT
2010-03-01 16:43:22,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:27,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 21.
2010-03-01 16:43:27,7, GSM1: <-
2010-03-01 16:43:27,7, GSM1: -> .
2010-03-01 16:43:27,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:32,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 22.
2010-03-01 16:43:32,7, GSM1: <-
2010-03-01 16:43:32,3, GSM1: Modem is not ready to answer commands (Timeouts: 22)
2010-03-01 16:43:38,6, GSM1: Checking device for incoming SMS
2010-03-01 16:43:38,6, GSM1: Checking if modem is ready
2010-03-01 16:43:38,7, GSM1: -> AT
2010-03-01 16:43:38,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:44,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 23.
2010-03-01 16:43:44,7, GSM1: <- TÕUU
2010-03-01 16:43:44,7, GSM1: -> .
2010-03-01 16:43:44,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:49,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 24.
2010-03-01 16:43:49,7, GSM1: <-
2010-03-01 16:43:49,7, GSM1: -> AT
2010-03-01 16:43:49,7, GSM1: Command is sent, waiting for the answer
2010-03-01 16:43:54,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 25.
please explain why these errors or special symbols are coming? and why am i not able to send or receive sms?
Thank you.... :)
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|