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. Sun Jun 01, 2025 18:40
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
phoolan: 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. 2017-09-20 16:33:55,7, Huawei: <- OK 2017-09-20 16:33:55,6, Huawei: Pre-initializing modem 2017-09-20 16:33:56,7, Huawei: -> ATE0+CMEE=1;+CREG=2 2017-09-20 16:33:56,7, Huawei: Command is sent, waiting for the answer 2017-09-20 16:33:56,7, Huawei: <- OK 2017-09-20 16:33:56,6, Huawei: Checking if modem needs PIN 2017-09-20 16:33:56,7, Huawei: -> AT+CPIN? 2017-09-20 16:33:56,7, Huawei: Command is sent, waiting for the answer 2017-09-20 16:33:56,7, Huawei: <- +CPIN: READY OK 2017-09-20 16:33:57,7, Huawei: -> AT+CSQ 2017-09-20 16:33:57,7, Huawei: Command is sent, waiting for the answer 2017-09-20 16:33:57,7, Huawei: <- +CSQ: 10,99 OK 2017-09-20 16:33:57,6, Huawei: Signal Strength Indicator: (10,99) -93 dBm (Workable) 2017-09-20 16:33:57,6, Huawei: Checking if Modem is registered to the network 2017-09-20 16:33:57,7, Huawei: -> AT+CREG? 2017-09-20 16:33:57,7, Huawei: Command is sent, waiting for the answer 2017-09-20 16:33:57,7, Huawei: <- +CREG: 2,5,1DBF,414C OK 2017-09-20 16:33:57,6, Huawei: Modem is registered to a roaming partner network 2017-09-20 16:33:57,6, Huawei: Selecting PDU mode 2017-09-20 16:33:58,7, Huawei: -> AT+CMGF=0 2017-09-20 16:33:58,7, Huawei: Command is sent, waiting for the answer 2017-09-20 16:33:58,7, Huawei: <- OK 2017-09-20 16:33:58,7, Huawei: -> AT+CMGS=26 2017-09-20 16:33:58,7, Huawei: Command is sent, waiting for the answer 2017-09-20 16:33:58,7, Huawei: <- > 2017-09-20 16:33:59,7, Huawei: -> 079134861053087711000D91349619121626F80000FF04F4F29C0E 2017-09-20 16:33:59,7, Huawei: Command is sent, waiting for the answer 2017-09-20 16:33:59,7, Huawei: <- +CMS ERROR: 304 (Invalid PDU mode parameter) 2017-09-20 16:33:59,3, Huawei: The modem answer was not OK: +CMS ERROR: 304 (Invalid PDU mode parameter) 2017-09-20 16:33:59,4, Huawei: Sending SMS to 4369912161628 failed, trying time 33 sec. Retries: 2. 2017-09-20 16:33:59,6, Huawei: Moved file /var/spool/sms/checked/2009201702 to /var/spool/sms/failed/2009201702
phoolan: 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. root@privServer:/etc# tail -f /var/log/smstools/smsd.log 2017-09-13 13:24:33,2, smsd: Smsd v3.1.15 started. 2017-09-13 13:24:33,2, smsd: Running as smsd:dialout. 2017-09-13 13:24:33,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.5VihfZ /tmp/smsd_data.bdg5B6 2017-09-13 13:24:33,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0) 2017-09-13 13:24:33,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2017-09-13 13:24:33,5, smsd: Outgoing file checker has started. PID: 2830. 2017-09-13 13:24:33,7, smsd: All PID's: 2830,2832 2017-09-13 13:24:33,5, Huawei: Modem handler 0 has started. PID: 2832. Will only send messages. 2017-09-13 13:24:33,6, Huawei: Checking if modem is ready 2017-09-13 13:24:33,7, Huawei: -> AT 2017-09-13 13:24:33,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:34,7, Huawei: <- AT OK 2017-09-13 13:24:34,6, Huawei: Pre-initializing modem 2017-09-13 13:24:34,7, Huawei: -> ATE0+CMEE=1;+CREG=2 2017-09-13 13:24:34,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:34,7, Huawei: <- ATE0+CMEE=1;+CREG=2 +CME ERROR: 11 (SIM PIN required) 2017-09-13 13:24:34,3, Huawei: Modem did not accept the pre-init string 2017-09-13 13:24:34,6, Huawei: Checking if modem needs PIN 2017-09-13 13:24:34,7, Huawei: -> AT+CPIN? 2017-09-13 13:24:34,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:35,7, Huawei: <- +CPIN: SIM PIN OK 2017-09-13 13:24:35,5, Huawei: Modem needs PIN, entering PIN... 2017-09-13 13:24:35,7, Huawei: -> AT+CPIN="1111" 2017-09-13 13:24:35,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:35,7, Huawei: <- OK 2017-09-13 13:24:35,7, Huawei: -> AT+CPIN? 2017-09-13 13:24:35,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:36,7, Huawei: <- +CPIN: READY OK 2017-09-13 13:24:36,6, Huawei: PIN Ready 2017-09-13 13:24:36,7, Huawei: -> AT+CSQ 2017-09-13 13:24:36,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:36,7, Huawei: <- +CSQ: 20,99 OK 2017-09-13 13:24:36,6, Huawei: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable 2017-09-13 13:24:36,6, Huawei: Checking if Modem is registered to the network 2017-09-13 13:24:36,7, Huawei: -> AT+CREG? 2017-09-13 13:24:36,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:37,7, Huawei: <- +CREG: 0,2 OK 2017-09-13 13:24:37,5, Huawei: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 1. TIME 2017-09-13 13:24:38,7, Huawei: -> AT+CSQ 2017-09-13 13:24:38,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:38,7, Huawei: <- +CSQ: 21,99 OK 2017-09-13 13:24:38,5, Huawei: Signal Strength Indicator: (21,99) -71 dBm (Excellent), Bit Error Rate: not known or not detectable 2017-09-13 13:24:38,7, Huawei: -> AT+CREG? 2017-09-13 13:24:38,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:39,7, Huawei: <- +CREG: 0,5 OK 2017-09-13 13:24:39,6, Huawei: Modem is registered to a roaming partner network 2017-09-13 13:24:39,6, Huawei: Selecting PDU mode 2017-09-13 13:24:39,7, Huawei: -> AT+CMGF=0 2017-09-13 13:24:39,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:39,7, Huawei: <- OK 2017-09-13 13:24:39,7, Huawei: -> AT+CIMI 2017-09-13 13:24:39,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:40,7, Huawei: <- 232116813283077 OK 2017-09-13 13:24:40,7, Huawei: -> AT+CGSN 2017-09-13 13:24:40,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:24:40,7, Huawei: <- 357123035661254 OK 2017-09-13 13:24:40,5, Huawei: CGSN: 357123035661254 2017-09-13 13:24:40,5, Huawei: IMSI: 232116813283077 2017-09-13 13:24:40,5, Huawei: Waiting for messages to send... but when i send a sms by: adding textfile into /var/spool/sms/outging/ i got timeouts and an unknown error: 2017-09-13 13:25:34,5, smsd: Moved file /var/spool/sms/outgoing/sms50 to /var/spool/sms/checked 2017-09-13 13:25:34,6, Huawei: I have to send 1 short message for /var/spool/sms/checked/sms50 2017-09-13 13:25:34,6, Huawei: Sending SMS from to 43699xxxxxxx 2017-09-13 13:25:34,6, Huawei: Checking if modem is ready 2017-09-13 13:25:34,7, Huawei: -> AT 2017-09-13 13:25:34,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:25:34,7, Huawei: <- OK 2017-09-13 13:25:34,6, Huawei: Pre-initializing modem 2017-09-13 13:25:34,7, Huawei: -> ATE0+CMEE=1;+CREG=2 2017-09-13 13:25:34,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:25:35,7, Huawei: <- OK 2017-09-13 13:25:35,6, Huawei: Checking if modem needs PIN 2017-09-13 13:25:35,7, Huawei: -> AT+CPIN? 2017-09-13 13:25:35,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:25:35,7, Huawei: <- +CPIN: READY OK 2017-09-13 13:25:35,7, Huawei: -> AT+CSQ 2017-09-13 13:25:35,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:25:36,7, Huawei: <- +CSQ: 20,99 OK 2017-09-13 13:25:36,6, Huawei: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable 2017-09-13 13:25:36,6, Huawei: Checking if Modem is registered to the network 2017-09-13 13:25:36,7, Huawei: -> AT+CREG? 2017-09-13 13:25:36,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:25:36,7, Huawei: <- +CREG: 2,5,1DBF,414C OK 2017-09-13 13:25:36,6, Huawei: Modem is registered to a roaming partner network 2017-09-13 13:25:36,6, Huawei: Location area code: 1DBF, Cell ID: 414C 2017-09-13 13:25:36,7, Huawei: -> AT+CSQ 2017-09-13 13:25:36,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:25:37,7, Huawei: <- +CSQ: 21,99 OK 2017-09-13 13:25:37,6, Huawei: Signal Strength Indicator: (21,99) -71 dBm (Excellent), Bit Error Rate: not known or not detectable 2017-09-13 13:25:37,6, Huawei: Selecting PDU mode 2017-09-13 13:25:37,7, Huawei: -> AT+CMGF=0 2017-09-13 13:25:37,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:25:37,7, Huawei: <- OK 2017-09-13 13:25:37,7, Huawei: -> AT+CMGS=19 2017-09-13 13:25:37,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:25:38,7, Huawei: <- > 2017-09-13 13:25:38,7, Huawei: -> 0011000D91349619121626F80000FF04F4F29C0E 2017-09-13 13:25:38,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:26:08,7, Huawei: <- +CMS ERROR: 500 (Unknown error) 2017-09-13 13:26:08,3, Huawei: The modem answer was not OK: +CMS ERROR: 500 (Unknown error) 2017-09-13 13:26:08,5, Huawei: Waiting 10 sec. before retrying 2017-09-13 13:26:59,6, Huawei: Checking if modem is ready 2017-09-13 13:26:59,7, Huawei: -> AT 2017-09-13 13:26:59,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:26:59,7, Huawei: <- OK 2017-09-13 13:26:59,6, Huawei: Pre-initializing modem 2017-09-13 13:26:59,7, Huawei: -> ATE0+CMEE=1;+CREG=2 2017-09-13 13:26:59,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:27:00,7, Huawei: <- OK 2017-09-13 13:27:00,6, Huawei: Checking if modem needs PIN 2017-09-13 13:27:00,7, Huawei: -> AT+CPIN? 2017-09-13 13:27:00,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:27:00,7, Huawei: <- +CPIN: READY OK 2017-09-13 13:27:00,7, Huawei: -> AT+CSQ 2017-09-13 13:27:00,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:27:01,7, Huawei: <- +CSQ: 20,99 OK 2017-09-13 13:27:01,6, Huawei: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable 2017-09-13 13:27:01,6, Huawei: Checking if Modem is registered to the network 2017-09-13 13:27:01,7, Huawei: -> AT+CREG? 2017-09-13 13:27:01,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:27:01,7, Huawei: <- +CREG: 2,5,1DBF,0 OK 2017-09-13 13:27:01,6, Huawei: Modem is registered to a roaming partner network 2017-09-13 13:27:01,6, Huawei: Cell ID changed: 332F -> 0 2017-09-13 13:27:01,7, Huawei: -> AT+CSQ 2017-09-13 13:27:01,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:27:02,7, Huawei: <- +CSQ: 21,99 OK 2017-09-13 13:27:02,6, Huawei: Signal Strength Indicator: (21,99) -71 dBm (Excellent), Bit Error Rate: not known or not detectable 2017-09-13 13:27:02,6, Huawei: Selecting PDU mode 2017-09-13 13:27:02,7, Huawei: -> AT+CMGF=0 2017-09-13 13:27:02,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:27:02,7, Huawei: <- OK 2017-09-13 13:27:02,7, Huawei: -> AT+CMGS=19 2017-09-13 13:27:02,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:27:03,7, Huawei: <- > 2017-09-13 13:27:03,7, Huawei: -> 0011000D91349619121626F80000FF04F4F29C0E 2017-09-13 13:27:03,7, Huawei: Command is sent, waiting for the answer 2017-09-13 13:27:33,7, Huawei: <- +CMS ERROR: 500 (Unknown error) 2017-09-13 13:27:33,3, Huawei: The modem answer was not OK: +CMS ERROR: 500 (Unknown error) 2017-09-13 13:27:33,4, Huawei: Sending SMS to 43699xxxxxxx failed, trying time 119 sec. Retries: 2. 2017-09-13 13:27:33,6, Huawei: Moved file /var/spool/sms/checked/sms50 to /var/spool/sms/failed/sms50 root@privServer:/etc# root@privServer:/etc# cat /var/spool/sms/failed/sms50 To: +43699xxxxxxx Modem: Huawei IMSI: 232116813283077 Fail_reason: +CMS ERROR: 500 (Unknown error) Failed: 17-09-13 13:27:33 PDU: 0011000D91349619121626F80000FF04F4F29C0E test root@privServer:/etc# the system config is set back to basics: root@privServer:~# cat /etc/smsd.conf devices = Huawei outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked incoming = /var/spool/sms/incoming logfile = /var/log/smstools/smsd.log infofile = /var/run/smstools/smsd.working pidfile = /var/run/smstools/smsd.pid 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 stats = /var/log/smstools/smsd_stats loglevel = 7 receive_before_send = no autosplit = 3 [Huawei] device = /dev/ttyUSB0 pin = 1111 baudrate = 19200 incoming = no outgoing = yes 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: root@privServer:~# lsusb Bus 001 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem root@privServer:~# cat /etc/udev/rules.d/69-libmtp.rules |grep 12d1 ATTR{idVendor}=="12d1", ATTR{idProduct}=="1051", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="1052", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="1074", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="1079", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="107a", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="107e", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="1082", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="2012", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="360f", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="12d1", ATTR{idProduct}=="361f", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", RUN+="/lib/udev/usb_modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd" root@privServer:~# can anybody help me please - i've no idea at the moment. thanks very much.

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.