|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Thu Nov 21, 2024 17:49 |
Login and Post Reply
Page: 1
Author |
Post |
|
#1 Wed Sep 13, 2017 11:51, 87 months ago.
|
Member
Registered: Sep 2017
Location: Graz, Austria
|
Operating system name and version: Ubuntu 16.10 Version of smsd: 3.1.15 Smsd installed from: apt- smstools Name and model of a modem / phone: Huawai E169/E620/E800 HSDPA Modem Interface: ttyUSB0 Hi, I'd like to send sms by my huawai modem via command line. The system know's the modem and up to "waiting for message" it looks good - i think. but when i send a sms by: adding textfile into /var/spool/sms/outging/ i got timeouts and an unknown error: the system config is set back to basics: i've test it with some settings i've found but i i always have same error msg. sending sms over the windows client works. so the functionality should be available of the stick. i've also tested the "smcs = 43680xxxx" but at the PDU String the smcs string is always blank. i've also tested "init = AT+CMGF=1", at first, the system writes that this is set, but at sending the sms the system select PDU Mode with zero. and i added all at udev settings: can anybody help me please - i've no idea at the moment. thanks very much.
|
|
#2 Wed Sep 20, 2017 13:53, 87 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
To include smsc in the PDU, a modem setting smsc_pdu = yes is required. However, usually there is no need to set smsc at all. You could check what ports are provided by the modem. Usually there are more than one ports, and for example /dev/ttyUSB2 could be used. Ascii mode (AT+CMGF=1) is not supported because it is too limited.
|
|
#3 Wed Sep 20, 2017 15:13, 87 months ago.
|
Member
Registered: Sep 2017
Location: Graz, Austria
Topic owner
|
hi, thanks for answer. i've added smsc_pdu = yes into the config file. with ttyUSB2 it doesn't work - modem not found, but with USB0 i got now an other error.
|
|
#4 Wed Sep 20, 2017 16:28, 87 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
It looks like your modem supports PDU mode, as it talks about invalid parameter. However, there is a bug in smsd, length of PDU is given incorrectly to +CMGS command. Length of smsc should not be counted. Correct number is 19, not 26. I have to fix this in the next version.
As the setting smsc_pdu cannot be used, I currently have no any idea about the error. Have you checked the destination number, and is it surely GSM number?
Can you receive messages with this device and SIM? Set incoming = yes and memory_start = 0 to try.
|
Login and Post Reply
Page: 1
Time in this board is UTC.
|
|
|
|
|
|
|