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. Thu Mar 28, 2024 14:15
SMSTools3 Community » Help and support Bottom

smstools not sending :(

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jul 2014
Location: Sheffield, United Kingdom
Operating system name and version: Debian Wheezy 7.5:
Version of smsd: 3.1.14:
Smsd installed from: package repository
Name and model of a modem: huawei E17X:
Interface: USB (ttyUSB0)

Hello all,

We have recently switch mobile providers and I got a new SIM card for the 3G dongle I was using for the SMS Server.
Since switching SIM's (Previously BT on the vodafone network, now on O2) smstools is not working properly.

I have gnokii installed and I am able to send messages through the cli command:



Here are a couple of gnokii outputs for you:










GNOKII Version 0.6.30
No. 1: "Set 1" (default name)
SMS center number is +447802000332
No default recipient number is defined
Messages sent as Text
Message validity is Maximum time
Error: The given memory location is invalid.



I have build a bit of frontend to this with two aspects:

1. php frontend to send adhoc messges to our customers with a sql lookup
2. sql lookup for all patients with an appointment in 2 days get a message with a valid mobile number

When I try and send a message, it appears in /var/spool/sms/outgoing ok.
Moves to /var/spool/sms/checked ok

Runs three times and errors with the very helpful Error 500!
After that goes into /var/spool/sms/failed.

Any help or guidance would be very much appreciated. Just very confused as gnokii can send, but smstools cant! :shock:

Thanks in advance
Dan

Member
Registered:
Jul 2014
Location: Sheffield, United Kingdom
Topic owner
As an adendum, this is the smsd.log output:

Quote
2014-07-09 13:09:30,6, GSM1: Changing SMSC
2014-07-09 13:09:30,7, GSM1: -> AT+CSCA="+447802000332"
2014-07-09 13:09:30,7, GSM1: Command is sent, waiting for the answer
2014-07-09 13:09:31,7, GSM1: <- OK
2014-07-09 13:09:31,7, GSM1: -> AT+CMGS=50
2014-07-09 13:09:31,7, GSM1: Command is sent, waiting for the answer
2014-07-09 13:09:31,7, GSM1: <- >
2014-07-09 13:09:31,7, GSM1: -> 0011000D91447008257037F50000FF2746F9BB0D1AB2C3F272FBEDA68390EF393C4D0FB37520D0F52D5DD676A794E07C500
2014-07-09 13:09:31,7, GSM1: Command is sent, waiting for the answer
2014-07-09 13:10:02,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2014-07-09 13:10:02,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2014-07-09 13:10:02,5, GSM1: Waiting 10 sec. before retrying

Thanks
Dan

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.