SMS Server Tools 3
This site is hosted by Kekekasvi.com
 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. Please login or register. Wed Mar 03, 2021 14:37
SMSTools3 Community » Help and support Bottom

[answered] Motorola V3 - not sending

  This topic is locked

Page:  1

Author Post
Member
Registered:
Feb 2011
Location: Malolos City, Philippines
Operating system name and version: Ubuntu Server 10.04.2 LTS
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: MotorolaV3 Razr
Interface: USB

Hi everyone / Keke

With indulgence, I am a newbie.

From above specs, I installed SMSTools (with Playsms) in my server to act as gateway for a GPS tracking webapp. We wanted to run the app using SMS as primiray mode instead of GPRS for some reason.

After moving around some posts I made some headway

here is smsd.conf

devices = modem1

loglevel = 4

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
# Motorola V3
[modem1]
#init =
device = /dev/ttyACM0
incoming = yes
smsc = +xxxxxxxxxxxxx
#pin =
baudrate = 115200
report_device_details = yes
check_memory_method = 31
loglevel_lac_ci = 8
 
 
'smsdconf' Syntax Highlight powered by GeSHi


While the system apparently receives SMS, it can not seem to send, here is my smsd.log



While making this receive is a major breakthru for the tracking webapp,we still need to get this to send. What have we done wrong?

One small note:
logfile = /var/log/sms/smstools.log
does not generate anything.

Any inputs are well appreciated. Please bear with the newbie. Thanks.

Member
Registered:
Feb 2011
Location: Malolos City, Philippines
Topic owner
Still Same error. here is what I generated via command line sending:

mistah@webserver:~$ sendsms
Destination(s): 09xxxxxxxxx
Text: this is a test message via line
--
Text: this is a test message
To: 09xxxxxxxxx
mktemp: failed to create file via template `/var/spool/sms/outgoing/send_XXXXXX': Permission denied
mv: missing destination file operand after `/tmp/smsd_CwV8pf'
Try `mv --help' for more information.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
You could set loglevel to 7 and try again. With debug level it may be possible to see why reading of messages fails.

Have you ensured that the number of SMSC is correct?

mistahcute wrote
One small note:
logfile = /var/log/sms/smstools.log
does not generate anything.

What do you mean with this?

mistahcute wrote
mistah@webserver:~$ sendsms
Destination(s): 09xxxxxxxxx
Text: this is a test message via line
--
Text: this is a test message
To: 09xxxxxxxxx
mktemp: failed to create file via template `/var/spool/sms/outgoing/send_XXXXXX': Permission denied
mv: missing destination file operand after `/tmp/smsd_CwV8pf'
Try `mv --help' for more information.

chmod 777 /var/spool/sms/outgoing

And Destination(s): 09xxx will not work. Use international format for the number.

Member
Registered:
Feb 2011
Location: Malolos City, Philippines
Topic owner
Thanks Keke for the reply. Set log level to 7. SMSC is verified to be correct.

Quote
Have you ensured that the number of SMSC is correct?

mistahcute wrote
One small note:
logfile = /var/log/sms/smstools.log
does not generate anything.


What do you mean with this?

I mean that since

logfile = /var/log/sms/smstools.log

I just expected errors in this logfile, but found this empty.

Quote
chmod 777 /var/spool/sms/outgoing

And Destination(s): 09xxx will not work. Use international format for the number.

Thanks. No longer have the error message but it still would not send. I tried another phone fearing it was a phone problem.Turned out it seem there is a network problem tonight so I informed provider. The other phone I tried was not sending SMS also, but receives. Shall update you once network is repaired.

Here is my recent smsd.log after the changes:





Here is the revised smsd.conf



Reduced baud to 19200 - will this make a difference?
Shall I revert back to loglevel 4 after this?

Again, thank you much for your help.

Member
Registered:
Feb 2011
Location: Malolos City, Philippines
Topic owner
 Finally got this it to send and receive Keke. Thanks. 

You were correct, the SMSC was wrongly initialized.
I removed it anyway from the conf file and it worked just the same.

Is there a way to initialize the smsd.conf to optimize for speed. I noticed the response to be a little slow to update, it must be the network issue as well.

I have another modem candidate - Huawei E160E 'plug-it' USB. Do you think this is better than the Moto V3?

Again, sincere thanks for your assistance.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
mistahcute wrote
Is there a way to initialize the smsd.conf to optimize for speed. I noticed the response to be a little slow to update, it must be the network issue as well.

If talking about the speed of sending, generally taken there is no way to increase it. From the log it can be seen where the time is spent, and in some cases something can be done. In any case this is something called "fine tuning", and I cannot give general instructions for it.

mistahcute wrote
I have another modem candidate - Huawei E160E 'plug-it' USB. Do you think this is better than the Moto V3?

Usually modems work better than phones. Many users of this software use Huawei devices today, perhaps you could try it too. I have tested some Huawei sticks, and they can be used if the USB interface is reliable (free of interferences), and has power enough.

  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.