Keywords: Mode: All keywords (AND) |
Thu Jun 11, 2015 19:58
|
sql_dan: Thanks for the response keke!
Its a shame but understandable! :|
Dan
|
Sun Jun 07, 2015 12:02
|
sql_dan: OS: Debian 6
Version of smsd: latest
Smsd installed from: package repository
Modem: Nokia (Cant remember - can get it if required)
Interface: USB
This is more of a query than anything else..I have been using smstool3 for about 3years, al working fine and no issues.
Is it possible to create custom headers for SMS so that to the recipient the SMS will appear as if its from a Service rather than showing the number? Like you do when recieving from a Bank or other service.
eg: When recieving SMS on your phone the message shows it from: NO_REPLY or REMINDER
At the moment this shows as: +440011223344
Can you simply amend the custom header From attribute to show this?
When you do / or if you do and people respond - do you need some DNS style look up to know where the reply goes to?
I did a quick google but couldn't find much information hence the post!
Any guidance would be welcome!
Cheers
Dan
|
Wed Jul 09, 2014 12:12
|
sql_dan: As an adendum, this is the smsd.log output:
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
|
Wed Jul 09, 2014 11:04
|
sql_dan: 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:
echo "Hello World" | gnokii --sendsms +44712345678
Here are a couple of gnokii outputs for you:
gnokii –identify
GNOKII Version 0.6.30
IMEI : 358108020386016
Manufacturer : huawei
No flags section in the config file.
Model : E17X
Product name : E17X
Revision : 11.311.05.01.00
Gnokii –monitor once
GNOKII Version 0.6.30
Entering monitor mode...
Network: Cellnet / O2, United Kingdom (234 10)
LAC: 553a (21818), CellID: 000029fd (10749)
RFLevel: 11
Battery: 0
Power Source: No battery
SIM: Used 0, Free 500
Phone: Used 0, Free 100
DC: Used 10, Free 0
EN: Used 4, Free 46
FD: Used 0, Free 20
LD: Used 0, Free 5
MC: Used 0, Free 10
ON: Used 0, Free 3
RC: Used 0, Free 10
SMS Messages: Unread 0, Number 1
CALL0: IDLE
CALL1: IDLE
Leaving monitor mode...
Gnokii –getsmsc
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.
echo "This is a test message" | gnokii --sendsms +447[MY NUMBER]
GNOKII Version 0.6.30
Send succeeded with reference 227!
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
|