|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Mon Aug 25, 2025 16:57 |
Page: 1
Keywords: Mode: All keywords (AND) |
Thu Aug 25, 2011 12:56
|
papsonn: Tavillo Hello!
I tested your code. the SMS is transferred but the content is empty. This means that the text is not transferred. please! what to do? Especially since I want the sms to be transferred to multiple numbers.
Thank you for your assistance. ;)
|
Thu Aug 18, 2011 07:54
|
papsonn: Hi
Thank you for your answer although I have not tested it yet because I do not know how to set up an event handler.
Can you tell me how decir in detail? :(
|
Wed Aug 17, 2011 17:42
|
papsonn: Hi!
I have my chip in a GPRS modem. I want that on receipt of an SMS, it is automatically sent SMS to multiple numbers. How?
Thank you in advance. :roll:
|
Wed Aug 17, 2011 15:41
|
|
Wed Aug 17, 2011 12:42
|
papsonn: Hi!
here's what I wrote and it does not work:
define command {
command_name notify-service-by-sms
command_line / usr / local / bin / printf "% b" "Type: $NOTIFICATIONTYPE $ \ n Service: $SERVICEDESC $ \ n Host: $ HOSTNAME $ \ n State: $SERVICESTATE $ \ n Info:$SERVICEOUTPUT $ \ n Date $ SHORTDATETIME $\n " | / usr / local / bin /SendSMS $ CONTACTPAGER$
}
What changed? :oops:
|
Thu Aug 11, 2011 18:04
|
papsonn: Hi!
Thank you for everything!
I receive sms by typing SendSMS.
|
Wed Aug 10, 2011 16:52
|
papsonn: I tried and the result:
administrator@rmcmdlad00010:~$ sudo su
[sudo] password for administrator:
root@rmcmdlad00010:/home/administrator# /etc/init.d/sms3 start
Starting SMS Daemon: already running (2691).
root@rmcmdlad00010:/home/administrator# tail -f /var/log/smsd.log
2011-08-10 18:33:57,6, GPRS: Selecting PDU mode
2011-08-10 18:33:57,7, GPRS: -> AT+CMGF=0
2011-08-10 18:33:57,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:33:57,7, GPRS: <- OK
2011-08-10 18:33:57,6, GPRS: Checking memory size
2011-08-10 18:33:57,7, GPRS: -> AT+CPMS?
2011-08-10 18:33:57,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:33:58,7, GPRS: <- +CPMS: "SM",0,15,"SM",0,15,"SM",0,15 OK
2011-08-10 18:33:58,6, GPRS: Used memory is 0 of 15
2011-08-10 18:33:58,6, GPRS: No SMS received
2011-08-10 18:34:08,6, GPRS: Checking device for incoming SMS
2011-08-10 18:34:08,6, GPRS: Checking if modem is ready
2011-08-10 18:34:08,3, GPRS: Unexpected input: RING RING RING
2011-08-10 18:34:08,7, GPRS: -> AT
2011-08-10 18:34:08,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:34:08,7, GPRS: <- OK
2011-08-10 18:34:08,6, GPRS: Pre-initializing modem
2011-08-10 18:34:09,7, GPRS: -> ATE0+CMEE=1;+CREG=2
2011-08-10 18:34:09,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:34:09,7, GPRS: <- OK +CREG: 1,"01F5","13B3"
2011-08-10 18:34:09,7, GPRS: -> AT+CSQ
2011-08-10 18:34:09,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:34:10,7, GPRS: <- +CSQ: 15,99 OK +CREG: 1,"01F5","001F"
2011-08-10 18:34:10,6, GPRS: Signal Strength Indicator: (15,99) -83 dBm (Good), Bit Error Rate: not known or not detectable
2011-08-10 18:34:10,6, GPRS: Checking if Modem is registered to the network
2011-08-10 18:34:10,7, GPRS: -> AT+CREG?
2011-08-10 18:34:10,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:34:10,7, GPRS: <- +CREG: 2,1,"01F5","001F" OK
2011-08-10 18:34:10,6, GPRS: Modem is registered to the network
2011-08-10 18:34:10,6, GPRS: Cell ID changed: 13B3 -> 001F
2011-08-10 18:34:10,7, GPRS: -> AT+CSQ
2011-08-10 18:34:10,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:34:11,7, GPRS: <- +CSQ: 15,99 OK
2011-08-10 18:34:11,6, GPRS: Signal Strength Indicator: (15,99) -83 dBm (Good), Bit Error Rate: not known or not detectable
2011-08-10 18:34:11,6, GPRS: Selecting PDU mode
2011-08-10 18:34:11,7, GPRS: -> AT+CMGF=0
2011-08-10 18:34:11,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:34:11,7, GPRS: <- OK
2011-08-10 18:34:11,6, GPRS: Checking memory size
2011-08-10 18:34:11,7, GPRS: -> AT+CPMS?
2011-08-10 18:34:11,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:34:12,7, GPRS: <- +CPMS: "SM",0,15,"SM",0,15,"SM",0,15 OK
2011-08-10 18:34:12,6, GPRS: Used memory is 0 of 15
2011-08-10 18:34:12,6, GPRS: No SMS received
^C
root@rmcmdlad00010:/home/administrator# sendsms
Destination(s): 23796290941
Text: hermann
--
Text: hermann
To: 23796290941
root@rmcmdlad00010:/home/administrator# tail -f /var/log/smsd.log
2011-08-10 18:38:44,7, GPRS: -> ATE0+CMEE=1;+CREG=2
2011-08-10 18:38:44,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:38:44,7, GPRS: <- OK +CREG: 1,"01F5","13B3"
2011-08-10 18:38:45,7, GPRS: -> AT+CSQ
2011-08-10 18:38:45,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:38:45,7, GPRS: <- +CSQ: 17,0 OK
2011-08-10 18:38:45,6, GPRS: Signal Strength Indicator: (17,0) -79 dBm (Good), Bit Error Rate: less than 0.2 %
2011-08-10 18:38:45,6, GPRS: Checking if Modem is registered to the network
2011-08-10 18:38:45,7, GPRS: -> AT+CREG?
2011-08-10 18:38:45,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:38:45,7, GPRS: <- +CREG: 2,1,"01F5","13B3" OK
2011-08-10 18:38:45,6, GPRS: Modem is registered to the network
2011-08-10 18:38:45,6, GPRS: Selecting PDU mode
2011-08-10 18:38:46,7, GPRS: -> AT+CMGF=0
2011-08-10 18:38:46,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:38:46,7, GPRS: <- OK
2011-08-10 18:38:46,7, GPRS: -> AT+CMGS=21
2011-08-10 18:38:46,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:38:46,7, GPRS: <- >
2011-08-10 18:38:47,7, GPRS: -> 0011000B913297260949F10000FF07E8B2BC1D76BB01
2011-08-10 18:38:47,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:38:50,7, GPRS: <- +CMGS: 174 OK
2011-08-10 18:38:50,5, GPRS: SMS sent, Message_id: 174, To: 23796290941, sending time 7 sec.
2011-08-10 18:38:50,6, GPRS: Deleted file /var/spool/sms/checked/send_FKVrHm
2011-08-10 18:38:50,6, GPRS: Checking device for incoming SMS
2011-08-10 18:38:50,6, GPRS: Checking memory size
2011-08-10 18:38:51,7, GPRS: -> AT+CPMS?
2011-08-10 18:38:51,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:38:51,7, GPRS: <- +CPMS: "SM",0,15,"SM",0,15,"SM",0,15 OK
2011-08-10 18:38:51,6, GPRS: Used memory is 0 of 15
2011-08-10 18:38:51,6, GPRS: No SMS received
2011-08-10 18:38:51,6, GPRS: Checking device for incoming SMS
2011-08-10 18:38:51,6, GPRS: Checking memory size
2011-08-10 18:38:51,7, GPRS: -> AT+CPMS?
2011-08-10 18:38:51,7, GPRS: Command is sent, waiting for the answer
2011-08-10 18:38:51,7, GPRS: <- +CPMS: "SM",0,15,"SM",0,15,"SM",0,15 OK
2011-08-10 18:38:51,6, GPRS: Used memory is 0 of 15
2011-08-10 18:38:51,6, GPRS: No SMS received
^C
root@rmcmdlad00010:/home/administrator# :'(
|
Wed Aug 10, 2011 14:14
|
papsonn: the same error message. that is to say:
rmcmdlad00010 administrator @: ~ $ sudo tail-f / var / log / smsd.log
2011-08-09 20:26:30,7, GPRS: <- OK
2011-08-09 20:26:30,6, GPRS: Checking memory size
2011-08-09 20:26:30,7, GPRS: -> AT + CPMS?
2011-08-09 20:26:30,7, GPRS: Command IS feels, waiting for the answer
2011-08-09 20:26:30,7, GPRS <- + CPMS: "SM", 0,15, "SM", 0,15, "SM", 0,15 OK
2011-08-09 20:26:30,6, GPRS: Used memory is 0 of 15
2011-08-09 20:26:30,6, GPRS: No SMS Received
2011-08-09 20:26:35,2, smsd: SMSD mainprocess IS Awaiting the modem termination of all handlers. PID: 2259.
2011-08-09 20:26:35,2, GPRS Modem handler 0 terminated. PID: 2261, WAS started 8:12:03 p.m. 11-08-09.
2011-08-09 20:26:35,2, smsd: SMSD mainprocess terminated. PID 2259, 8:12:03 p.m. 11-08-09 WAS started.
|
Wed Aug 10, 2011 13:13
|
papsonn: How to send sms with a script sendsms?
|
Wed Aug 10, 2011 12:59
|
papsonn: smstools I installed from source.
This is the message which was displayed after installation:
Installing binary program files
/ usr / local / bin / smsd
Installing Some scripts
/ usr / local / bin / SendSMS
/ usr/local/bin/sms2html
/ usr/local/bin/sms2unicode
/ usr/local/bin/unicode2sms
Installing config file
/ etc / smsd.conf
Creating minimum spool directories
Skipped / var / spool directory already exists
Creating directory / var / spool / sms
Creating directory / var / spool / sms / incoming
Creating directory / var / spool / sms / outgoing
Creating directory / var / spool / sms / checked
Installing start-script
/ etc/init.d/sms3
Example script files are not installed Automatically.
Please dont forget to edit / etc / smsd.conf.
rmcmdlad00010 administrator @: ~ / $ Téléchargements/smstools3
|
Wed Aug 10, 2011 12:31
|
papsonn: hello!
I installed smstools and I can not send a message on an Ubuntu 10.04 via gprs modem Wavecom branded connected to the serial port. Here is the configuration of my smsd.conf:
GPRS devices =
logfile = / var / log / smsd.log
loglevel = 7
[tails]
[provider]
[GPRS]
device = / dev/ttyS0
incoming = no
baudrate = 9600
rtscts = yes
here's the order I entered to send a message:
sudo-u smsd sh-c 'echo-e "To: 23733113410 \ n \ nHello world">> / var/spool/sms/outgoing/msg1'
Here is the error message that was sent to me by typing sudo tail-f / var / log / smsd.log:
2011-08-09 20:26:30,7, GPRS: <- OK
2011-08-09 20:26:30,6, GPRS: Checking memory size
2011-08-09 20:26:30,7, GPRS: -> AT + CPMS?
2011-08-09 20:26:30,7, GPRS: Command IS feels, waiting for the answer
2011-08-09 20:26:30,7, GPRS <- + CPMS: "SM", 0,15, "SM", 0,15, "SM", 0,15 OK
2011-08-09 20:26:30,6, GPRS: Used memory is 0 of 15
2011-08-09 20:26:30,6, GPRS: No SMS Received
2011-08-09 20:26:35,2, smsd: SMSD mainprocess IS Awaiting the modem termination of all handlers. PID: 2259.
2011-08-09 20:26:35,2, GPRS Modem handler 0 terminated. PID: 2261, WAS started 8:12:03 p.m. 11-08-09.
2011-08-09 20:26:35,2, smsd: SMSD mainprocess terminated. PID 2259, 8:12:03 p.m. 11-08-09 WAS started.
I am a beginner, please, what should I do?
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|