SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Sat Dec 21, 2024 16:11
SMSTools3 Community » Help and support Bottom

[solved] problem sending sms

  This topic is locked

Page:  1

Author Post
Member
Registered:
Aug 2011
Location: douala, Cameroon
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?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
papsonn wrote
sudo-u smsd sh-c 'echo-e "To: 23733113410 n nHello world">> / var/spool/sms/outgoing/msg1'

I do not understand that command line...

Start smsd using the script /etc/init.d/smstools or /etc/init.d/sms3 and try to send SMS with a script sendsms.

How did you install smstools, from sources or from package repository?

( I moved this topic to Help and support forum, because it was not a bug report )

Member
Registered:
Aug 2011
Location: douala, Cameroon
Topic owner
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

Member
Registered:
Aug 2011
Location: douala, Cameroon
Topic owner
How to send sms with a script sendsms?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
papsonn wrote
How to send sms with a script sendsms?

Just type sendsms ;)

Member
Registered:
Aug 2011
Location: douala, Cameroon
Topic owner
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.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Error message is the same one, see timestamps.

Someone stopped smsd and now it is not running. When smsd is not running, of course messages are not sent. Do the following:

- become a root (sudo su)
- start smsd: /etc/init.d/sms3 start
- from the log verify that smsd surely is running
- try to send SMS with sendsms

Member
Registered:
Aug 2011
Location: douala, Cameroon
Topic owner
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# :'(

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Okay, sending is fine. Can you also receive messages?

Member
Registered:
Aug 2011
Location: douala, Cameroon
Topic owner
Hi!
Thank you for everything!

I receive sms by typing SendSMS.


« Last edit by keke on Wed Aug 24, 2011 16:46, 162 months ago. »

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.