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. Tue Jul 01, 2025 13:48
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
atnet: http://uk.answers.yahoo.com/question/index?qid=20100413040509AA8NxHn
atnet: Couldn't open serial port /dev/ttyUSB0, error: Input/output error, waiting 30 sec. Maybe you have to change the port, USB0,1,2,3. You should have more ports. The higher number should be the right port.
atnet: Operating system name and version: Debian Version of smsd: 3.1.14 Smsd installed from: sources Name and model of a modem / phone: Huawei E160E Interface: USB How can I change the filename of the SMS in the incoming directory? I would like it to be like: "date_hour_from_XXXXXX" not "GSM1.XXXXXX" I have lost my way in the source:( Thanks.
atnet: And when you get this error, the SMS is delivered? Maybe the number is wrong, the number must be in international format.
atnet: Is the SMSC (SMS Center) correct? Another topic here: http://smstools3.kekekasvi.com/topic.php?id=354
atnet: As I can undestand you have two Multitech SF800G. Which is a 8 port SMS server. Right? The first one has only one port active? The second has all the ports? I have never worked with Multitech SF800G but I think that you could try setting the second one with only one port enabled. And see what happens. Maybe you can start from here.
atnet: Maybe the second modem is defective. Have you tried with out it?
atnet: The problem it's not because of USB change. The modem would not register... But it doesn't matter anymore... I have change to another device:) And I don't want to invest more time in the first device. Thanks anyway :) Vlad.
atnet: I have modified the source code and recompiled it but I have another error now... So I have switched to ZTE MF636 which works fine but does not have voice support. So I have to switch again:) Next I will try with Huawei E 160E. Any special attention needed for this kind of USB modem? Thanks. Vlad.
atnet: Without a log I don't know what to say. The only difference I can think of is the Pin code, without the log.
atnet: Do you have PIN for the postpaid card? You should post your log here so we can take a look. The log is located here: /var/log/smsd.log
atnet: After reading this and the smsd.log I understand that the answer for AT+CPIN should be READY, but I receive: PIN handling: expected READY, modem answered +CPIN: PH-NET PIN OK "PH-NET PIN OK" Where should I modify within smstools source so it can understand the modem answer?
atnet: Operating system name and version: Debian, 2.6.32-m4 Version of smsd: latest Smsd installed from: sources Name and model of a modem: Option Globesurfer Icon Interface: USB devices = GSM1 logfile = /var/log/smsd.log loglevel = 7 [GSM1] device = /dev/ttyUSB2 #init = AT+CNMI=2,1,0,1,0 pre_init=no init=ATZ init2=ATE0 incoming = yes #memory_start = 1 mode = new #baudrate = 19200 rtscts = yes #report = no pin = 0000 I have tried every combination from this conf file. But I always get the following error: 2011-09-26 20:59:47,2, smsd: Smsd v3.1.14 started. 2011-09-26 20:59:47,2, smsd: Running as root:root. 2011-09-26 20:59:47,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.k8x8E3 /tmp/smsd_data.9zM6Vx 2011-09-26 20:59:47,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0) 2011-09-26 20:59:47,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2011-09-26 20:59:47,5, smsd: Outgoing file checker has started. PID: 3008. 2011-09-26 20:59:47,5, GSM1: Modem handler 0 has started. PID: 3010. 2011-09-26 20:59:47,7, smsd: All PID's: 3008,3010 2011-09-26 20:59:47,5, GSM1: Using check_memory_method 1: CPMS is used. 2011-09-26 20:59:47,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_06DKZR 2011-09-26 20:59:47,6, GSM1: Sending SMS from to 40xxxxxxxxx 2011-09-26 20:59:47,6, GSM1: Checking if modem is ready 2011-09-26 20:59:47,7, GSM1: -> AT 2011-09-26 20:59:47,7, GSM1: Command is sent, waiting for the answer 2011-09-26 20:59:48,7, GSM1: <- OK 2011-09-26 20:59:48,6, GSM1: Checking if modem needs PIN 2011-09-26 20:59:48,7, GSM1: -> AT+CPIN? 2011-09-26 20:59:48,7, GSM1: Command is sent, waiting for the answer 2011-09-26 20:59:48,7, GSM1: <- +CPIN: PH-NET PIN OK 2011-09-26 20:59:48,2, GSM1: PIN handling: expected READY, modem answered +CPIN: PH-NET PIN OK 2011-09-26 20:59:48,2, GSM1: Modem handler 0 terminated abnormally. PID: 3010. I don't receive any sms from the modem. Result from "dmesg |grep tty" [1500387.870117] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0 [1500387.873060] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1 [1500387.876165] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2 I use USB2 in the conf file because of this and this. I tried USB0 but I get the same error. With USB1 I get the following error: 2011-09-26 13:32:34,2, smsd: Smsd v3.1.14 started. 2011-09-26 13:32:34,2, smsd: Running as root:root. 2011-09-26 13:32:34,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.KUW0xy /tmp/smsd_data.e989t0 2011-09-26 13:32:34,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0) 2011-09-26 13:32:34,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2011-09-26 13:32:34,5, smsd: Outgoing file checker has started. PID: 13821. 2011-09-26 13:32:34,7, smsd: All PID's: 13821,13823 2011-09-26 13:32:34,5, GSM1: Modem handler 0 has started. PID: 13823. 2011-09-26 13:32:34,5, GSM1: Using check_memory_method 1: CPMS is used. 2011-09-26 13:32:34,6, GSM1: Checking device for incoming SMS 2011-09-26 13:32:34,6, GSM1: Checking if modem is ready 2011-09-26 13:32:34,7, GSM1: -> AT 2011-09-26 13:32:34,7, GSM1: Command is sent, waiting for the answer 2011-09-26 13:32:39,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1. 2011-09-26 13:32:39,7, GSM1: <- 2011-09-26 13:32:39,7, GSM1: -> ^Z 2011-09-26 13:32:39,7, GSM1: Command is sent, waiting for the answer 2011-09-26 13:32:45,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2. 2011-09-26 13:32:45,7, GSM1: <- 2011-09-26 13:32:45,7, GSM1: -> AT 2011-09-26 13:32:45,7, GSM1: Command is sent, waiting for the answer 2011-09-26 13:32:50,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3. 2011-09-26 13:32:50,7, GSM1: <- 2011-09-26 13:32:50,7, GSM1: -> ^Z 2011-09-26 13:32:50,7, GSM1: Command is sent, waiting for the answer 2011-09-26 13:32:55,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4. 2011-09-26 13:32:55,7, GSM1: <- 2011-09-26 13:32:55,7, GSM1: -> AT 2011-09-26 13:32:55,7, GSM1: Command is sent, waiting for the answer 2011-09-26 13:33:00,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 5. 2011-09-26 13:33:00,7, GSM1: <- 2011-09-26 13:33:00,7, GSM1: -> ^Z 2011-09-26 13:33:00,7, GSM1: Command is sent, waiting for the answer 2011-09-26 13:33:05,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 6. 2011-09-26 13:33:05,7, GSM1: <- 2011-09-26 13:33:06,7, GSM1: -> AT 2011-09-26 13:33:06,7, GSM1: Command is sent, waiting for the answer 2011-09-26 13:33:11,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 7. 2011-09-26 13:33:11,7, GSM1: <- 2011-09-26 13:33:11,7, GSM1: -> ^Z 2011-09-26 13:33:11,7, GSM1: Command is sent, waiting for the answer 2011-09-26 13:33:16,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 8. And it goes like this forever. Any thougths? Thanks. Vlad
atnet: I don't think the if 'condition' is right, it should be between "[" and "]". http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-6.html You should study more bash. Vlad.
atnet: I have fixed the problem with the help of some friend:) Here is the conf file: devices = GSM1 logfile = /var/log/smsd.log loglevel = 7 [GSM1] device = /dev/ttyACM0 pre_init=no init=ATZ init2=ATE0 memory_start = 1 mode = new baudrate = 19200 rtscts = yes report = no #pin = 1111 I have discovered the port using "dmesg |grep tty". And I needed to change the USB port of the server and the connection mode from phone(to pc suite). I think the problem was from the USB port. Now it's working like a charm. Vlad.
atnet: Operating system name and version: Debian 2.6.32-m4 Version of smsd: 3.1.14 Smsd installed from: sources Name and model of a modem / phone: Nokia 5310 Express Music Interface: USB First of all, I don't have another phone to try:) I have succesfully sent SMS from the same phone but on Windows XP and latest Cygwin. The config file is the default one, only the /dev/com4(on XP) changed to /dev/ttyS0(on Debian) After I start the process with /etc/init.d/sms3 start I get this log file: 2011-09-16 08:24:02,2, smsd: Smsd v3.1.14 started. 2011-09-16 08:24:02,2, smsd: Running as root:root. 2011-09-16 08:24:02,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.NxR1Pl /tmp/smsd_data.ICM0Xz 2011-09-16 08:24:02,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0) 2011-09-16 08:24:02,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2011-09-16 08:24:02,5, smsd: Outgoing file checker has started. PID: 16902. 2011-09-16 08:24:02,7, smsd: All PID's: 16902,16904 2011-09-16 08:24:02,5, GSM1: Modem handler 0 has started. PID: 16904. Will only send messages. 2011-09-16 08:24:02,6, GSM1: Checking if modem is ready 2011-09-16 08:24:02,7, GSM1: -> AT And it stays like this. If I use sendsms I get this: 2011-09-16 08:25:13,5, smsd: Moved file /var/spool/sms/outgoing/send_s4QNHO to /var/spool/sms/checked 2011-09-16 08:25:13,7, GSM1: Command is sent, waiting for the answer 2011-09-16 08:25:18,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1. 2011-09-16 08:25:18,7, GSM1: <- 2011-09-16 08:25:19,7, GSM1: -> And I don't receive the SMS :) I have tried to change to "/dev/ttyUSB0" and "/dev/ttyS1" but I get the "unknown device" error. Any ideas? Thanks. Vlad.

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.